I guess I've been lucky. My Red Hat server I built in 2003 finally gave up the ghost yesterday. Fifteen years with almost zero problems running 7x24. Now I'm trying to build a basic server to host my e-mail using CentOS 7, Sendmail and Dovecot. Server is running great as are Sendmail and Dovecot but Dovecot only allows connections from the CentOS 127.0.0.1. I can telnet localhost pop3 and get a +OK Dovecot ready response. Trying to telnet from a different computer on same LAN times out. I've looked at my old Dovecot config files to see how I enabled LAN IP access but the configs have changed a lot since I last installed Dovecot. Googling hasn't helped. Anyone help with a sample config with LAN IPs permitted? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180710/b0a9a1a7/attachment.html>
Did you verify the server is listening on 0.0.0.0 and that your firewall is not blocking? tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 2325/dovecot tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 2325/dovecot tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 2325/dovecot tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 2325/dovecot On Tue, Jul 10, 2018 at 11:17 AM, John Rowan <john.j.rowan.jr at gmail.com> wrote:> I guess I've been lucky. My Red Hat server I built in 2003 finally gave up > the ghost yesterday. Fifteen years with almost zero problems running 7x24. > Now I'm trying to build a basic server to host my e-mail using CentOS 7, > Sendmail and Dovecot. Server is running great as are Sendmail and Dovecot > but Dovecot only allows connections from the CentOS 127.0.0.1. I can telnet > localhost pop3 and get a +OK Dovecot ready response. Trying to telnet from > a different computer on same LAN times out. I've looked at my old Dovecot > config files to see how I enabled LAN IP access but the configs have changed > a lot since I last installed Dovecot. Googling hasn't helped. Anyone help > with a sample config with LAN IPs permitted?
Did you remember to permit access in firewall? You can use ss -ltnp to see what address(es) are listened on. ---Aki TuomiDovecot oy -------- Original message --------From: John Rowan <john.j.rowan.jr at gmail.com> Date: 10/07/2018 19:17 (GMT+02:00) To: dovecot at dovecot.org Subject: Dovecot on CentOS 7 I guess I've been lucky.? My Red Hat server I built in 2003 finally gave up the ghost yesterday.? Fifteen years with almost zero problems running 7x24.? Now I'm trying to build a basic server to host my e-mail using CentOS 7, Sendmail and Dovecot.?? Server is running great as are Sendmail and Dovecot but Dovecot only allows connections from the CentOS 127.0.0.1.? I can telnet localhost pop3 and get a +OK Dovecot ready response.? Trying to telnet from a different computer on same LAN times out.? I've looked at my old Dovecot config files to see how I enabled LAN IP access but the configs have changed a lot since I last installed Dovecot.? Googling hasn't helped.? Anyone help with a sample config with LAN IPs permitted? -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180710/a1dfca1e/attachment.html>
Hi. Check your Firewall 2018-07-10 12:28 GMT-04:00 Tracy Greggs <tgreggs1963 at gmail.com>:> Did you verify the server is listening on 0.0.0.0 and that your > firewall is not blocking? > > tcp 0 0 0.0.0.0:993 0.0.0.0:* > LISTEN 2325/dovecot > tcp 0 0 0.0.0.0:995 0.0.0.0:* > LISTEN 2325/dovecot > tcp 0 0 0.0.0.0:110 0.0.0.0:* > LISTEN 2325/dovecot > tcp 0 0 0.0.0.0:143 0.0.0.0:* > LISTEN 2325/dovecot > > > On Tue, Jul 10, 2018 at 11:17 AM, John Rowan <john.j.rowan.jr at gmail.com> > wrote: > > I guess I've been lucky. My Red Hat server I built in 2003 finally gave > up > > the ghost yesterday. Fifteen years with almost zero problems running > 7x24. > > Now I'm trying to build a basic server to host my e-mail using CentOS 7, > > Sendmail and Dovecot. Server is running great as are Sendmail and > Dovecot > > but Dovecot only allows connections from the CentOS 127.0.0.1. I can > telnet > > localhost pop3 and get a +OK Dovecot ready response. Trying to telnet > from > > a different computer on same LAN times out. I've looked at my old > Dovecot > > config files to see how I enabled LAN IP access but the configs have > changed > > a lot since I last installed Dovecot. Googling hasn't helped. Anyone > help > > with a sample config with LAN IPs permitted? >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180710/c13ada5c/attachment-0001.html>
On 7/10/2018 9:28 AM, Tracy Greggs wrote:> Did you verify the server is listening on 0.0.0.0 and that your > firewall is not blocking?CentOS 7 uses firewalld. You'll need to enable the services you use (smtp, imap, and pop3) for the default zone. Something like: firewall-cmd --zone=public --add-service=imap --permanent firewall-cmd --zone=public --add-service=pop3 --permanent firewall-cmd --zone=public --add-service=submission --permanent firewall-cmd --zone=public --add-service=smtp --permanent https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7