-
-
Notifications
You must be signed in to change notification settings - Fork 6
Mail Server Postfix
Lucas Holt edited this page Aug 21, 2022
·
1 revision
Postfix is a popular SMTP server and recommended for new mail setups.
Installing
mport install postfix
or
cd /usr/mports/mail/postfix; make install clean
enable in /etc/rc.conf with
sysrc postfix_enable="YES" Configuration This is not a complete guide. There are many available online.
MidnightBSD keeps the postfix config files in /usr/local/etc/postfix
Detailed info on the postfix website.
postfix config
http://www.postfix.org/postconf.5.html
tls config
http://www.postfix.org/TLS_README.html
Maintenance Tasks check mail queue
mailq Delete ALL messages from mail queue
postsuper -d ALL
Delete individual messages
postqueue -p or mailq to get the ID (first column)
postsuper -d MSGIDHERE
Delete all deferred messages
postsuper -d ALL deferred