123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- $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
|