Thanks, I ran your last command (The tail -f mail.log | grep one) and it gave me this when I tried logging in again:
Sep 9 14:16:18 sga dovecot: auth: Fatal: APOP mechanism can’t be supported with given passdbs
Sep 9 14:16:18 sga dovecot: master: Error: service(auth): command startup failed, throttling for 60 secs
Sep 9 14:16:18 sga dovecot: pop3-login: Disconnected: Auth process broken (disconnected before auth was ready, waited 0 secs): user=<>, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.162, session=
As for the spam issue - it looks like a lot of them, maybe all? Are failed login attempts, although I do have some weird queued mail that all look similar to:
2023/09/06 07:42 PM MAILER-DAEMON jqhmpcianz@hengfengxiz.com 24.84 KiB connect to mail.hengfengxiz.com[xxx.xxx.xxx.13]:25: Connection timed out
edit: I disabled APOP and now I just get connection refused on all ports related to mail when adding to gmail
edit 2: Changed listen [::] in dovecot config to listen * and I can connect, but get auth process broken. Logs show:
Sep 9 14:40:28 sga dovecot: config: Warning: NOTE: You can get a new clean config file with: doveconf -Pn > dovecot-new.conf
Sep 9 14:40:28 sga dovecot: config: Warning: Obsolete setting in /etc/dovecot/dovecot.conf:248: protocol { ssl_listen } has been replaced by service { inet_listener { address } }
Sep 9 14:40:28 sga dovecot: auth: Fatal: CRAM-MD5 mechanism can’t be supported with given passdbs
Sep 9 14:40:28 sga dovecot: master: Error: service(auth): command startup failed, throttling for 2 secs
Sep 9 14:40:28 sga dovecot: pop3-login: Disconnected: Auth process broken (disconnected before auth was ready, waited 0 secs): user=<>, rip=xxx.xxx.xxx.xxx, lip=xxx.xxx.xxx.162, session=<n3YPE+4E6L7RVaaS>
edit 3: I removed all but plain-text login and now I get:
Server returned error: “Missing +OK response upon connecting to the server: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ STARTTLS LOGINDISABLED] Dovecot (Ubuntu) ready.”
In gmail, but no errors in the log file.
edit 4: I changed, in the webmin GUI dovecot->networking and protocols, interfaces for non-ssl and ssl connections from All IPv4 and IPv6 to just All IPv4 - and mailbird automatically connected to some accounts I had setup awhile back before moving to a new server… But for some reason the domain I’ve been trying to work with in gmail, a separate domain entirely, gives this error now:
Server returned error: “SSL protocol error. Please try disabling SSL, or contact your other provider to verify the correct port settings.”