The mail/sendmail port

sendmail- – mother of Mail Transfer Agents (cvsweb github)


Sendmail is a flexible Mail Transfer Agent, with many supported
protocols and powerful SPAM filtering techniques.

	ldap - LDAP routing support
	sasl - SASL authentication support


$OpenBSD: README-main,v 1.5 2018/09/04 12:46:15 espie Exp $

| Running ${PKGSTEM} on OpenBSD

Using sendmail as the default mailer.

Deactivate smtpd
Running smtpd(8) and sendmail at the same time is not supported:
# rcctl disable smtpd

Tweaking /etc/mailer.conf
Two scripts are provided along with this package.  Run sendmail-enable
to adjust your mailer.conf(5), and sendmail-disable to revert your

Client mail queue ownership
This package ensures that /var/spool/clientmqueue is owned by
_smmsp:_smmsp, mode 0770.  You should verify that your
configuration is not using the previous default settings (smmsp:smmsp).

Activate the queue runner
To process the mails in /var/spool/clientmqueue, the following entry
should be added to root's crontab(5):

*/30 * * * * ${PREFIX}/libexec/sendmail/sendmail -L sm-msp-queue -Ac -q

This will start the queue runner every 30 minutes.  Adjust according to
your needs.

Enable sendmail at startup time
Remember to add sendmail to pkg_scripts:
# rcctl enable sendmail

By default, the flags are set for a basic, localhost-only, setup.
To listen to external addresses, they will need changing, e.g.
# rcctl set sendmail flags -L sm-mta -bd -q30m


Antoine Jacoutot


sendmail- libmilter-



Build dependencies

File Descr
Path Name
Category Maintainer