Gmail POP3 via SSL
Posted: Fri Oct 21, 2016 10:06 pm
Let me just put it here, because it took me a few days to figure this out, maybe it could help someone.
If you want to retrieve mails into Gmail via secure POP3 connection from a VestaCP mail server, set Dovecot ssl_cert config in /etc/dovecot/conf.d/10-ssl.conf to the full chain cert.
So if you're using Letsencrypt it looks like this:
This is important, because as described here Google is strict about the certs:
If you want to retrieve mails into Gmail via secure POP3 connection from a VestaCP mail server, set Dovecot ssl_cert config in /etc/dovecot/conf.d/10-ssl.conf to the full chain cert.
So if you're using Letsencrypt it looks like this:
Code: Select all
ssl_cert = </etc/letsencrypt/live/server-domain.com/fullchain.pem
ssl_key = </etc/letsencrypt/live/server-domain.com/privkey.pem
In Gmail POP3 account settings you should use the following settings:We do not accept self-signed certificates. For a certificate to be valid it needs to chain up to a valid CA, like one in the Mozilla CA list.
- Email address & Username: [email protected]
- Password: user-password
- POP server: server-domain.com (use the server's TLD, not the mail account's domain and do not add mail. before, unless your cert contains the subdomain)
- Port: 995
- Always use secure connection... checked