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