[Dovecot] Help configuring dovecot for SSL

Jeff A. Earickson jaearick at colby.edu
Wed May 4 14:13:04 EEST 2005


Hi,
    Attached are my quick notes on port settings and how to do by-hand
tests of connections to see if pop/imap worked, unencrypted and with
SSL.  By-hand tests are a good place to start before dragging a mail
client into the picture.

Jeff Earickson
Colby College

On Tue, 3 May 2005, Knute Johnson wrote:

> Date: Tue, 03 May 2005 14:19:19 -0700
> From: Knute Johnson <knute at frazmtn.com>
> To: dovecot at dovecot.org
> Subject: [Dovecot] Help configuring dovecot for SSL
> 
> Hi:
>
> I'm running dovecot on a Fedora 3 box and would like to be able to
> make a TLS connection to it with my Pegasus Mail program running on
> my Winblows machine.  Does anybody know if it is possible?
>
> If it is I could really use some help configuring my dovecot.  I have
> tried for several days but I really don't know what I'm doing and
> need a direction to start.
>
> Thanks,
>
>
> -- 
> Knute Johnson
> Molon Labe...
>
>
>
-------------- next part --------------
Port numbers
------------
pop3: 110    pop3s: 995
imap: 143    imaps: 993

The file ssl.pop3 shows how to do a connect to a remote
host using SSL, for testing.  Likewise, ssl.imaps is for SSL imap.

sample transactions
-------------------

pop3: (unencrypted)

telnet myhost 110
user joeblow
pass passwd
list
quit

pop3s: (SSL encrypted)
openssl s_client -debug -connect myhost:995
(you will see SSL stuff go by, then)
user joeblow
pass passwd
list
quit

imap: (unencypted)

telnet myhost 143
xxx login joeblow passwd
xxx select inbox
xxx logout

imaps: (SSL encrypted)
openssl s_client -debug -connect myhost:993
(you will see SSL stuff go by, then)
xxx login joeblow passwd
xxx select inbox
xxx logout


More information about the dovecot mailing list