Quick Tip: IPv6 Support on POP3 and IMAP (Dovecot)
07-01-2015, 04:48 AM
(This post was last modified: 07-01-2015, 04:48 AM by apinto.)
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
My Sentora Resources
[Module] Mail Quota Count | Vagrant Box with Sentora
Graphic and Web Design. Development.
www.vanguardly.com
[Module] Mail Quota Count | Vagrant Box with Sentora
Graphic and Web Design. Development.
www.vanguardly.com