domainaware / parsedmarc

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

Multiple imap servers #437

Open gkissand opened 1 year ago

gkissand commented 1 year ago

We would like for parsedmarc to support multiple imap servers which can be distinguished with an extra attribute in elasticstack records

eg [imap] host = imaphostname1 port = 993 user = dmarcimapuser password = password ssl = True imapattr = Imapserver1

[imap] host = imaphostname2 port = 993 user = dmarcimapuser2 password = password2 ssl = True imapattr = Imapserver2

Thank you

AnaelMobilia commented 10 months ago

Hello,

Why did you need to have a specific attributes for each server ? Each server will report DMARC for a specific email domain, which will already be distinguishing between your servers.

On this case, one "hack" could be to run multiple parsedmarc process with different config file passed on parameter (one config file per server to use).

Regards