domainaware / parsedmarc

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

Multiple imap servers #437

Open gkissand opened 8 months ago

gkissand commented 8 months 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 5 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