domainaware / parsedmarc

A Python package and CLI for parsing aggregate and forensic DMARC reports
https://domainaware.github.io/parsedmarc/
Apache License 2.0
986 stars 214 forks source link

IMAP Error: [Errno -2] Name or service not known #323

Closed zcarmichael closed 1 year ago

zcarmichael commented 2 years ago

I have Parsedmarc configured to use DavMail because our organization uses Exchange/OWA, not IMAP. I get this error when checking the status of parsedmarc.service in systemctl. The service will try activating, give that error, and then exit. Is there a fix for this?

nathanthorpe commented 2 years ago

Can you post the configuration you are using with the secrets omitted?

zcarmichael commented 2 years ago

Sure, sending you an image to your email.

JP-Ellis commented 2 years ago

I had the same issue, and the issue was due to the quotes being included in the string (this is for example a different behaviour than say TOML files).

Specifically:

Configuration Value
host = "imap.gmail.com" "imap.gmail.com"
host = imap.gmail.com imap.gmail.com