domainaware / parsedmarc

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

Access Shared Mailbox in Exchange 2016? #144

Open mikeyz24 opened 4 years ago

mikeyz24 commented 4 years ago

What is the recommended way to access an Inbox that is an Exchange 2016 Shared Mailbox?

The shared mailbox is setup as follows: Mailbox Email: DMARC_Reports@mydomain.com Alias: DMARC_Reports

I created an Active Directory User and gave it Full Access to the shared mailbox. User logon: parsedmarc

In my parsedmarc.ini file in the [IMAP] section I set the following: user = parsedmarc@mydomain.com\DMARC_Reports password = [The AD password for user parsedmarc]

With this config i'm not able to connect to the shared mailbox. Log says: ERROR - [cli.py:606] - IMAP Error: LOGIN failed

Is there a different syntax for the user field that I should be using? Any ideas what i'm doing wrong?

ericwbentley commented 4 years ago

Old issue but I was able to access a shared mailbox in Exchange 2016 with the below configuration

user = \\

This is essentially the same but in a different format. You should also double check your IMAP port and SSL settings, and make sure IMAP is enabled on the shared mailbox.

h4llm3n commented 3 years ago

I've the same like @mikeyz24. No on-prem Exchange, everything hosted within Azure. I tried your example @ericwbentley but without success. Any other solution?