As part of a mailing list application written in PHP, I want to retrieve bounced messages and remove the bad address from my MySQL database.
I can set up a user such that bounces are sent to that user’s mailbox, and I notice that new mail is kept in the directory “/home/username/Maildir/new”. It is a simple matter to read the files in that directory and parse them for the offending address.
Here’s the question: Is the path to the new-mail directory immutable? Or, is it a configuration of PostFix that may change over time?