Control Web Panel
WebPanel => E-Mail => Topic started by: Spaceman-Spiff on July 21, 2018, 04:54:36 AM
-
I've setup Postfix with DKIM & SPF using host.domain.com and MX record has been set for mail.domain.com
I wasn't able to use email app to access using the domain, but it works using IP address on port 110 or 143. So I'm guessing I have some DNS issue?
Gmail is even stricter, I'm only able to get it working on port 110 but not on 143/993. I'm able to telnet to all those ports and get:
25: 220 host.domain.com ESMTP Postfix
110: +OK Dovecot ready.
143: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
All ports have been added to firewall config. Any suggestion to get them working at 143/933 and using the domain mail.domain.com or host.domain.com?
-
try this
netstat -tulpn|grep dovecot
also, check if your domain & hostname are pointed to the correct server ip
host <domain.com>
host <hostname.domain.com>
and finally check the csf firewall open ports
grep "^TCP_IN\|^TCP_OUT" /etc/csf/csf.conf
-
netstat -tulpn|grep dovecot
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 3365/dovecot
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 3365/dovecot
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 3365/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 3365/dovecot
tcp 0 0 0.0.0.0:4190 0.0.0.0:* LISTEN 3365/dovecot
host domain and host hostname are showing the correct IPv4 and IPv6, also MX
Firewall rules:
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,2030,2031,2082,2083,2086,2087,2095,2096,30000:50000"
TCP_OUT = "20,21,22,25,53,80,110,113,143,443,993,2030,2031,2082,2083,2086,2087,2095,2096,30000:50000,587,993,995"