We have a list of users who no longer have mailboxes in our Exchange environment. We want to have a very specific reply to these users with a possible custom variable.
I thought Postfix would possibly work for this. When it gets a message, it should:
- If address is in list: Automatic reply with a bounce-back message (or just a normal e-mail). Message should include a new address; maybe have a database table that translates the old address to new address?
- If address is not in list: Send it to exchange.example.com mailhost.
Anyone done something similar and could give me an idea of how to accomplish this?