Sentora Support Forums

Full Version: Quick Tip: IPv6 Support on POP3 and IMAP (Dovecot)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[Image: IPV6-Dovecot_POP3_IMAP-green.svg?style=flat-square] [Image: Sentora-1.0.0-blue.svg?style=flat-square] 
Quick Tip: IPv6 Support on POP3 and IMAP (Dovecot)

Requirements
Make sure you have the following:
  • IPv6 capable server.
  • IPv6 DNS (AAA) entry for your mail server.
  • Root Access.
  • Working Install of Sentora with POP3 and IMAP enabled via Dovecot.

Enabling IPv6 Support
Edit the /etc/sentora/config/dovecot2/dovecot.conf file.

Right in the start of the file you need to edit the listen = * to listen = *, ::
Code:
## ## Dovecot config file ## listen = *, ::

After the change you need to restart dovecot, just issue the restart command: sudo service dovecot restart


The Issue
When adding an POP3 account to Gmail it was always giving "connection refused" error, no more details.
After a few hours of messing around logs, configs, permissions and other things (for your information this issues provides NO LOGS because Gmail connects via IPv6 and dovecot was not listening to :: (IPv6 wildcard).

Doing this solves the Gmail POP3 issue and allows further clients to connect via IPv6
Very goody!
Thanks!