Monday, January 10, 2011

Postfix with Dovecot Configuration

Without making things too complicated, all I wanted was a running mail server which will send and receive email. I decided to use Dovecot for POP3 functionality. The install is simply yum install dovecot.

These are the 3 real lines in my /etc/dovecot/dovecot.conf

protocols = imap pop3 lmtp
listen = *
!include conf.d/*.conf

Go into /etc/dovecot/conf.d and edit 10-auth.conf
Change this line:
disable_plaintext_auth = no
This is because we are not using SSL yet.

Aside from this, proper trust and relay permissions need to be set in /etc/postfix/main.cf file
I made these changes:
mynetworks_style = class
mynetworks = 192.168.1.0/24, 127.0.0.0/8


NOTE: Mailbox type needs to be changed from mbox to Maildir/ in /etc/postfix/main.cf. This caused me a lot of heartache trying to get Dovecot to work!

No comments:

Post a Comment