Configure mail server

From Organic Design wiki
Revision as of 06:44, 15 August 2008 by Nad (talk | contribs) (Got POP server and IMAP server running - just need to get mail directing into them now...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Procedure.svg Configure mail server
Organic Design procedure

The organicdesign-server package installs DoveCot] IMAP and POP3 server. We go with a configuration which is as close to default as possible and gives us both POP3 and IMAP services which both work with either TLS or SSL but not plain text. The users are by default the native linux users and passwords on the system. The minimal configuration necessary is a couple of edits to /etc/dovecot/dovecot.conf.

First, specify which protocols to use (you may like to only allow imaps and pop3s for extra security).

protocols = imap pop3 imaps pop3s

Next, add a section defining the ports for each protocol as follows (you may like to change to non-standard ports for extra security):

   protocol imap {
     listen = *:143
     ssl_listen = *:993
   }
   protocol pop3 {
     listen = *:110
     ssl_listen = *:995
   }

Any standard mail client such as Thinderbird or Outlook should connect with no trouble, but our procedure doesn't yet include a the generation of a valid SSL certificate, so you'll get a warning initially which you can specify to be ignored for subsequent connections.