sendmail

mother of Mail Transfer Agents

WWW CVSWeb GITHub
  1. Package version
    sendmail-8.18.1
  2. Maintainer
    Antoine Jacoutot

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

FLAVORS:
ldap - LDAP routing support
sasl - SASL authentication support

+-----------------------------------------------------------------------
| 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
changes.

Client mail queue ownership
---------------------------
This package ensures that /var/spool/clientmqueue is owned by
_smmsp:_smmsp, mode 0770. You should verify that your submit.cf
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

  • ldap
  • sasl

  • textproc/groff