Hi, Server was running fine, then last last week I upgraded to 3.2, and everything was still running fine, including fetching from Gmail, but 2 days ago, it can longer fetch email. I don't remember changing anything 2 days ago that would cause this. Been troubleshooting by looking at UFW and it looks ok, has the correct open port 995. Also thought it may be because of fail2ban blocking it, so I turned it off, but still same problem. Also tried not using SSL on port 110 and not working either. As well it works fine from Roundcube webmail on the same server. From mail.log it looks like it tries to connect, but then disconnects right away. Here's the lines from mail log that shows up when Gmail tries to connect. Code: Jan 17 18:25:03 server1 dovecot: imap-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<uBfEBBa5ApoAAAAAAAAAAAAAAAAAAAAB> Jan 17 18:25:03 server1 dovecot: pop3-login: Disconnected (no auth attempts in 0 secs): user=<>, rip=::1, lip=::1, secured, session=<vhfEBBa5oIwAAAAAAAAAAAAAAAAAAAAB> Not sure what to check next, as postfix works fine. When I send an email to the mailboxes on the server, they are received fine. Even when I use Gmail and "Send mail as" from a mailbox on the server, it works fine too. So the smtp relay with auth is working fine. It just can't connect pop3 or imap from Gmail. Here is what Gmail says Code: Connection Error. Server returned error "Connection timed out: There may be a problem with the settings you added. Ple..." And here is the troubleshooting log as per the posting rules. (Actually the file is attached as I could not post here, it was over the 10000 word count) Here's the ports on my firewall, Code: 20,21,22,25,53,80,110,143,443,465,510,587,993,995,3306,8080,8081,10000,40110:40210 Thanks for any suggestions, as I'm really stuck on this.