Part2 of configuring a middle range mail server

Part 2 of setting up a middle range mail server on Fedora 16
This part concerns itself with the Dovecot configuration (there is no longer a imap server!).
Dovecot configuration file is /etc /dovecot/dovecot.conf, and the necessary packages are:
# rpm -qa|grep dovecot
dovecot-mysql-2.0.19-1.fc16.i686
dovecot-devel-2.0.19-1.fc16.i686
dovecot-pigeonhole-2.0.19-1.fc16.i686
dovecot-2.0.19-1.fc16.i686
dovecot-pgsql-2.0.19-1.fc16.i686

Configuration file looks like this /etc/dovecot/dovecot.conf :
!include conf.d/*.conf
protocols = imap pop3 lmtp if we do not want ssl communication
dict {
}
mail_location = mbox:~/mail:INBOX=/var/spool/mail/%u
pop3_uidl_format = %08Xu%08Xv
listen = *
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh withount these two workarounds MS Outlook
imap_client_workarounds = outlook-idle does not take mail of the server
login_trusted_networks = 10.0.0.0/8
log_path = /var/log/dovecot.log so that logs do not go to /var/log/messages
ssl = no if we do not want pop3s and imaps ports to open
#####################
protocol imap {
listen = 127.0.0.1:143 imap should listen only on lo
# ssl_listen = 127.0.0.1:993
}

protocol pop3 {
listen = 10.11.12.13:110 POP3 is open on server IP
# ssl_listen = 127.0.0.1:993
}

Start the service.
Test its work :
# netstat -tulpn|grep doveco
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2699/dovecot
tcp 0 0 127.0.0.1:143 0.0.0.0:* LISTEN 2699/dovecot

This entry was posted in Linux and tagged . Bookmark the permalink.

Comments are closed.