For one Exchange mailbox, I want to manage non-delivery notifications as follows
- redirect to a remote mailbox
- move to a specific folder
To do so, I created a rule from within Outlook:
Upon receiving a message with "postmaster@" or "Mailer-Daemon@" in the sender address, redirect it to "foobar@remote.example.com" and move it to "myfolder"
However, this works only partially:
- If Exchange can relay to our firewall, but then the firewall cannot relay the mail further, our firewall sends back as "Mailer-Daemon@firewall.example.com"; this matches the rule. As expected, the mail is both forwarded to "foobar@remote.example.com" and moved to "myfolder"
- If Exchange can relay to our firewall, and the firewall can relay successfully to the receivers MX, but some problem occurs afterwards, the corresponding mail server sends back a message as "postmaster@receiving-domain.com". This should trigger - and apparently does (I can see this because the message is moved to "myfolder"), but the redirection to "foobar@remote.example.com" does not happen
What could be the problem here?