ajacoutot 8ff283ce30 Update to sendmail-8.15.2. 9 years ago
..
DESCR-libmilter 3e23557b3a Subpackage libmilter. 10 years ago
DESCR-main 3e23557b3a Subpackage libmilter. 10 years ago
PLIST-libmilter 74574b98c9 register share/doc/sendmail/ in sendmail,-libmilter; it includes a subdir and 9 years ago
PLIST-main 8ff283ce30 Update to sendmail-8.15.2. 9 years ago
README-main a2289bbe46 Add missing daemon_flags and rename manpages conflicting with postfix 10 years ago
sendmail.rc 2342263eff We are providing default daemon_flags now; so no need to start in 9 years ago

README-main

$OpenBSD: README-main,v 1.4 2015/02/25 15:07:38 jca Exp $

+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} 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