Author Topic: IMAP Settings Problems  (Read 6192 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
IMAP Settings Problems
« 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:

Quote
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?

Offline
*
Re: IMAP Settings Problems
« Reply #1 on: July 22, 2018, 08:59:05 AM »
try this
Code: [Select]
netstat -tulpn|grep dovecot
also, check if your domain & hostname are pointed to the correct server ip
Code: [Select]
host <domain.com>
host <hostname.domain.com>

and finally check the csf firewall open ports
Code: [Select]
grep "^TCP_IN\|^TCP_OUT"  /etc/csf/csf.conf
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Offline
*
Re: IMAP Settings Problems
« Reply #2 on: July 24, 2018, 05:43:00 AM »
Code: [Select]
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:

Code: [Select]
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"