parsedmarc icon indicating copy to clipboard operation
parsedmarc copied to clipboard

IMAP errors : authent with gmail, ssl wrong version with another domain

Open renoproc opened this issue 2 years ago • 3 comments

Hi, I've a fresh install on a ZorinOS 16 (Ubuntu 20.04) following this tuto https://www.linuxbabe.com/mail-server/parsedmarc-ubuntu-20-04, the service is working (out of a CRITICAL:cli.py:668:to setting missing from the smtp config section, even if all settings are filled in the parsedmarc.ini -host, port, ssl, user, password and from-).

I tried two different configuration, one with a gmail account

host = imap.gmail.com
port = 993
user = [email protected]
password = my_gmail_password

And a second one with another imap server, which is using port 143 over STARTTLS

host = imap.my-own-domain.com
port = 143
user = my_username
password = my_password

In each case I've an IMAP error both on logfile and with the cli command + debug option parsedmarc --debug -c /etc/parsedmarc.ini

With the gmail accound, I've
ERROR - [cli.py:884] - IMAP Error: [AUTHENTICATIONFAILED] Invalid credentials (Failure) With my own domain I've ERROR - [cli.py:884] - IMAP Error: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1131)

I do not understand what's wrong. I googlelized to find something, but out of solution as "the mail address had a dash in it and removing it makes it work" or "using port 143 does not work" I didn't find out neither a real explanation nor a valid solution.

Many thanks if you can put me in the picture.

renoproc avatar Aug 16 '22 14:08 renoproc

i am running into the same problem with gmail.

jca1981 avatar Jun 17 '24 12:06 jca1981