Where can I find on my MIAB server the new emails received for an adress

Hi,

I am trying to figure out where the source of email file is located on the server when it is received for a specific email adress.
I am implementing a program to trigger on email arrival and it would helpfull to start from the email file.

I have been searching around postfix with no luck.
Any help on the matter much appreciated :wink:

Thanks !

/home/user-data/mail/mailboxes/domain.tld/user/cur is the location of the mail storage.

I would think that it would be easier to monitor the mail log in real time and trigger your event from there. /var/log/mail.log