summaryrefslogtreecommitdiff
path: root/mail/qmail-run/MESSAGE
blob: da73fa3a7f82a5557ae00bc1f4d07704aa516eba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
===========================================================================
$NetBSD: MESSAGE,v 1.9 2018/10/24 16:28:28 schmonz Exp $

Please read ${PREFIX}/share/doc/qmail-run/README.pkgsrc.

Assuming NetBSD-style mailwrapper(8) and rc(8), to enable qmail for...

Local and outgoing deliveries:
- Check configuration in ${PKG_SYSCONFDIR}
- Replace /etc/mailer.conf with share/examples/qmail-run/mailer.conf
- Set qmailsend=YES in /etc/rc.conf

Local non-root users to see the queue:
- Change the mailq entry in /etc/mailer.conf to qmail-qread-client
- Set qmailqread=YES in /etc/rc.conf

Incoming SMTP deliveries:
- Set qmailsmtpd=YES in /etc/rc.conf

Filtering incoming SMTP:
- List qmail-qfilter programs in ${PKG_SYSCONFDIR}/control/smtpfilters
- List qmail-rcptcheck programs in ${PKG_SYSCONFDIR}/control/rcptchecks

Outgoing submissions with SMTP AUTH over TLS:
- Incorporate share/examples/qmail-run/stunnel.conf into stunnel.conf
- Set qmailofmipd=YES and stunnel=YES in /etc/rc.conf

Filtering outgoing submissions:
- List qmail-qfilter programs in ${PKG_SYSCONFDIR}/control/ofmipfilters

User-controlled ofmipd address rewriting:
- Set qmailofmipd_ofmipdcmd=${PREFIX}/bin/ofmipd-with-user-cdb in /etc/rc.conf

Fetching Maildirs via POP3:
- Set qmailpop3d=YES in /etc/rc.conf

===========================================================================