[Dovecot] Dovecot ok for port 110, but not for SSL (beginner asking)

Robert Schetterer rs at sys4.de
Wed Nov 7 12:19:44 EET 2012


Am 07.11.2012 10:13, schrieb ycc_Swe:
> Hello,
> 
> I just installed Dovecot. It works for plaintext autorization, port 110. It
> has connected with Telnet, Thunderbird and an on-line pop3 client.
> 
> Telnet:
> +OK Dovecot ready.
> user nnnnn
> -ERR Unknown command.
> user nnnnn
> +OK
> pass xxxxxxxxxx
> +OK Logged in.
> stat
> +OK 1 1553
> retr 1
> +OK 1553 octets
> Return-path: <sssssss at hotmail.com>
> Envelope-to: nnnnnn at mydomain.com
> Delivery-date: Tue, 06 Nov 2012 12:02:28 +0100
> Received: from bay0-xcvxcv-xvxcv.bay333.hotmail.com ([123.123.123.123])
>         by deb7.pc with esmtp (Exim 4.80)
> 
> But when I try ssl (port 995) with an on-line pop3 client, it will not work:
> /var/log/mail.log
> Nov  7 02:46:55 deb7 dovecot: pop3-login: Disconnected (no auth attempts in
> 0 secs): user=<>, rip=12.12.12.7, lip=123.123.123.123, TLS: Disconnected,
> session=<Iza75N3NlABBNykH>
> Nov  7 02:46:56 deb7 dovecot: pop3-login: Disconnected (no auth attempts in
> 1 secs): user=<>, rip=12.12.12.7, lip=123.123.123.123, TLS: Disconnected,
> session=<nWTF5N3NlQBBNykH>
> 
> root at deb7:~# doveconf -n
> # 2.1.7: /etc/dovecot/dovecot.conf
> # OS: Linux 3.2.0-3-686-pae i686
> disable_plaintext_auth = no
> mail_gid = mail
> mail_location = mbox:~/mail:INBOX=/var/mail/%u
> namespace inbox {
>   inbox = yes
>   location =
>   prefix =
> }
> passdb {
>   args = username_format=%u /etc/dovecot/users
>   driver = passwd-file
> }
> plugin {
>   sieve = ~/.dovecot.sieve
>   sieve_dir = ~/sieve
> }
> protocols = " imap pop3"
> ssl_cert = </etc/ssl/certs/dovecot.pem
> ssl_key = </etc/ssl/private/dovecot.pem
> userdb {
>   args = username_format=%u /etc/dovecot/users
>   driver = passwd-file
> }
> 
> I know very little about mail and ssl. I have assumed that ssl will be set
> up "automatically" when Dovecot is installed. But maybe I have missed
> something here. Please give me pointers.
> The following two files contain ssl keys:
> ssl_cert = </etc/ssl/certs/dovecot.pem
> ssl_key = </etc/ssl/private/dovecot.pem
> 
> I have tried changing the ssl parameter ("yes", "required") in 10-ssl.conf
> but with no change except that port 110 login becomes disabled.
> 
> As you can see I am a beginner with Dovecot, I hope it is still OK to ask on
> this mailing list. Thanks.
> 
> 
> 
> --
> View this message in context: http://dovecot.2317879.n4.nabble.com/Dovecot-ok-for-port-110-but-not-for-SSL-beginner-asking-tp38611.html
> Sent from the Dovecot mailing list archive at Nabble.com.
> 

have a look

http://wiki2.dovecot.org/SSL/DovecotConfiguration


Best Regards
MfG Robert Schetterer

-- 
[*] sys4 AG

http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München

Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich



More information about the dovecot mailing list