Install the Following
Configure Postfix according to my previous article on the blog
In /etc/dovecot/conf.d/10-auth.conf add the following:
driver = pam
Forward these Ports to the Mailserver if Behind Gateway
smtp: 25, 2525, 3535
smtp submission: 587
smtp over ssl: 465
pop3: 110, 995
imap: 143, 220, 993, 585
Activate and start all the above daemons using chkconfig and service saslauthd on etc.
Ran into a problem where Postfix would not relay mail for its own domain.
Had to add $mydomain to "mydestination" directive.
/var/log/maillog said mail coming from outside is going to firstname.lastname@example.org even though the user exists on the system.
saslauthd service was not running. Also removed these from main.cf
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
Outgoing mail was not being delivered.
I had enabled TLS and provided a certificate to Postfix.
The client needed to be told to use SSL/TLS.
Set disable_plaintext_auth = yes
Incoming mail not being delivered.
Set client to use Secure POP (port 995)