Hello, I have an issue where the default ports of IMAP time out in Mail (on macOS 10.15.7) and also I experience this issue adding a mail-account in Microsoft Outlook (and keeping it connected). Connections just randomly drop. I set up my IMAP with ports 993 and 587.
Mail on macOS gives me this response: Connections to the server “mail.mydomain.com” on the default ports timed out.
Microsoft Outlook this: Unable to sign in. Check your credentials and try again.
I checked my credentials multiple times and I’m very sure they are correct.
This is my dovecot.log output:
Feb 09 12:56:40 imap([email protected])<5466><bsfUhpTXprB/AAAB>: Info: Logged out in=284 out=957 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 09 12:56:59 imap-login: Info: Disconnected: Too many invalid commands (no auth attempts in 0 secs): user=<>, rip=MY-HOME-IP, lip=MY-VPS-IP, session=<czXth5TXs8ZWVuIG>
Feb 09 12:56:59 imap-login: Info: Disconnected: Too many invalid commands (no auth attempts in 0 secs): user=<>, rip=MY-HOME-IP, lip=MY-VPS-IP, session=<zs75h5TXtMZWVuIG>
Feb 09 12:57:00 imap-login: Info: Disconnected (no auth attempts in 0 secs): user=<>, rip=MY-HOME-IP, lip=MY-VPS-IP, session=<hRv9h5TXtcZWVuIG>
Feb 09 12:57:00 imap-login: Info: Disconnected: Too many invalid commands (no auth attempts in 0 secs): user=<>, rip=MY-HOME-IP, lip=MY-VPS-IP, session=<cdz/h5TXtsZWVuIG>
Feb 09 12:57:00 imap-login: Info: Disconnected: Too many invalid commands (no auth attempts in 0 secs): user=<>, rip=MY-HOME-IP, lip=MY-VPS-IP, session=<e78CiJTXt8ZWVuIG>
Feb 09 12:57:00 imap-login: Info: Disconnected: Too many invalid commands (no auth attempts in 0 secs): user=<>, rip=MY-HOME-IP, lip=MY-VPS-IP, session=<RJ0FiJTXuMZWVuIG>
Feb 09 12:57:30 imap-login: Info: Login: user=<[email protected]>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=5532, TLS, session=<nRDQiZTXrLB/AAAB>
Just an idea… Maybe you failed a lot of times to authenticate and your IP is banned. Check in Hestia UI > Server (cog icon) > Firewall > Manage Banned IPs.
Maybe another device in your network is wrongly configured and is causing the ban.
Weird, my home IP keeps getting blocked by the Firewall – Service: Mail.
I startup my Mac, open Mail and those inboxes can’t connect…
No clue how I would have ‘misconfigured’ my mailboxes. (I have now whitelisted my home IP in the firewall as well.)
Incoming and Outgoing Mailserver: mail.mydomain.com
SSL: On
Ports: 993 / 587 (Use TLS/SSL)
Authentication: Password
Try connecting via webmail first by opening in your browser the URL webmail.mydomain.com (provided of course that you have set the relevant DNS records for web mail in your Authoritative NS - Hestia automatically creates these records, so if you have Hestia as the Authoritative NS you don’t need to to anything special).
True, thanks a lot for your help. Could it be that in /etc/dovecot/conf.d/10-auth.conf these values are preset by the system and mismatching with the encryption?
I have no idea. I’m certain though that mail works perfectly fine with the defaults installed/set by Hestia. So if you haven’t messed with what Hestia installed/configured, it’d be better not to touch the configs.