Difference between revisions of "Configure mail server"
(Got POP server and IMAP server running - just need to get mail directing into them now...) |
m |
||
Line 10: | Line 10: | ||
Next, add a section defining the ports for each protocol as follows (you may like to change to non-standard ports for extra security): | Next, add a section defining the ports for each protocol as follows (you may like to change to non-standard ports for extra security): | ||
<pre> | <pre> | ||
− | + | protocol imap { | |
− | + | listen = *:143 | |
− | + | ssl_listen = *:993 | |
− | + | } | |
− | + | protocol pop3 { | |
− | + | listen = *:110 | |
− | + | ssl_listen = *:995 | |
− | + | } | |
</pre> | </pre> | ||
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. | 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. |
Revision as of 06:45, 15 August 2008
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.