[Dovecot] Proxy to gmail not working

Joseph Tam jtam.home at gmail.com
Tue Oct 8 01:22:53 EEST 2013


On Mon, 7 Oct 2013, Alex Wanderley writes:

> passdb {
>  args = proxy=y nopassword=y user=remotemail destuser=remotemail at gmail.comhost=
> pop.gmail.com port=995 proxy_timeout=15 starttls=y
>  driver = static
> }
> ...
> Oct  7 09:33:13 dserver dovecot: auth: Debug: client passdb out: OK
> 2       user=remotemail        proxy   nopassword=y    destuser=
> remotemail at gmail.com    host=pop.gmail.com      port=995        proxy
> _timeout=15        starttls=y      hostip=74.125.142.108   pass=123456789
> Oct  7 09:33:13 dserver dovecot: pop3-login: Debug: Ignoring unknown passdb
> extra field: nopassword
> Oct  7 09:33:28 dserver dovecot: pop3-login: Error: proxy(remotemail):
> Login for pop.gmail.com:995 timed out in state=0 (after 15 secs,
> local=162.106.yyy.zzz:59282)

Idle speculation, but remote port 995 usually means SSL type connection
(i.e. dive right into SSL protocol), whereas "starttls=y" starts out in
plaintext, and SSL negotiations starts after a STARTTLS directive.

Looking at

 	http://wiki2.dovecot.org/PasswordDatabase/ExtraFields/Proxy

methinks you want to replace "starttls=y" with "ssl=yes".

Joseph Tam <jtam.home at gmail.com>


More information about the dovecot mailing list