Redirecting wildcard emails to one email with postfix
- by Burning the Codeigniter
I'm creating a bounce email system where emails can reply to messages on my site.
However when the emails are sent to the user containing the previous message, the Reply-To field contains an email something like this [email protected] (which contains the ID at the end).
If the user replies, the reply message will be sent back to [email protected] which of course, doesn't have its own mailbox, except the [email protected].
How would I redirect all incoming messages coming from a specific wildcard notification-message-*@mysite.com to [email protected]? I did some research, but no solid part worked, including the luser_relay = [email protected] and putting notification-message-* in the postfix aliases table, the notification@ has a Maildir, so the emails would go into it.
I am using Ubuntu 11.04.