Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Mail Server
  • Search

Gmail POP3 via SSL

Questions regarding the Mail Server
Dovecot, Exim, RoundCube
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
iben12
Posts: 1
Joined: Fri Oct 21, 2016 9:35 pm

Gmail POP3 via SSL
  • Quote

Post by iben12 » 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:

Code: Select all

ssl_cert = </etc/letsencrypt/live/server-domain.com/fullchain.pem
ssl_key = </etc/letsencrypt/live/server-domain.com/privkey.pem
This is important, because as described here Google is strict about the certs:
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.
In Gmail POP3 account settings you should use the following settings:
  • 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
Hope I can spare a few days for someone trying to get this working.
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Mail Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password