I would like to set up a complete email system on my 11.2-RELEASE server. This will be the first time I've dealt with this facet (configuration and administration) of the email technology. I have a static IP address and I've registered a domain name. My impression is mail/postfix and mail/dovecot is a reasonable way to go. This server is also running databases/postgresql10-server and if that can be used for email account management, it seems like that would be convenient. Chapter 28. Electronic Mail of the Handbook seems a little vague on a few points. Just to get started, the relevant part of /etc/rc.conf looks like this:
And /etc/mail/mailer.conf looks like this:
Am I on the right track, and what are the next steps? Guidance or pointers to specific documentation will be much appreciated!
Code:
sendmail_enable="NO"
sendmail_submit_enable="NO"
sendmail_outbound_enable="NO"
sendmail_msp_queue_enable="NO"
postfix_enable="YES"
dovecot_enable="YES"
Code:
#
# Execute the "real" sendmail program, named /usr/libexec/sendmail/sendmail
#
#sendmail /usr/libexec/sendmail/sendmail
#mailq /usr/libexec/sendmail/sendmail
#newaliases /usr/libexec/sendmail/sendmail
#hoststat /usr/libexec/sendmail/sendmail
#purgestat /usr/libexec/sendmail/sendmail
#
# Execute the Postfix sendmail program, named /usr/local/sbin/sendmail
#
sendmail /usr/local/sbin/sendmail
send-mail /usr/local/sbin/sendmail
mailq /usr/local/sbin/sendmail
newaliases /usr/local/sbin/sendmail
Last edited by a moderator: