View Single Post
  #1  
Old 26th February 2008, 00:00
moxie moxie is offline
Junior Member
 
Join Date: Feb 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Postfix - wildcard email forwarding

Hello All,
I am a postfix newb, so hopefully this one is easy. I have been searching all over the internet and I can't seem how to configure postfix to forward wildcard emails to another email account.

This comes out of the need to handle bounced emails to maintain my email list. I read that a good strategy is to embed the userID in the return-path of all emails being sent out, and if they bounce, you can send all the bounced emails to a catchall account, then process them from there, grab the userID and remove the user from the mailing list.

Well, I wrote all the code to do that, I pull emails from an exchange account, parse out the userid, and remove it if it's a hard bounce, it works great, but I can't figure out how to forward the emails to the catchall account.

I looked at alias, but I couldn't get it to work. I also looked at VERP, but I don't think it's what I want.

for example
<bounce_1234@example.com> ends up in <bounce@example.com>
<bounce_2344@example.com> ends up in <bounce@example.com>
<bounce_3427@example.com> ends up in <bounce@example.com>
<bounce_5349@example.com> ends up in <bounce@example.com>
etc...

thank you very much for any input or direction you could provide!
Reply With Quote
Sponsored Links