Linode Forum
https://forum.linode.com/

How to forward to multiple addresses on Postfix?
https://forum.linode.com/viewtopic.php?f=11&t=5501
Page 1 of 1

Author:  mwaterous [ Sun Apr 25, 2010 1:51 pm ]
Post subject:  How to forward to multiple addresses on Postfix?

This may seem like a silly question since it seems like the answer should be simple, but I've googled up and down without a clue.

I want email to forward to more than one address, running postfix attached to MySQL. I've tried seperating addresses with all kinds of rfc compliant delimiters and only the first address is forwarded to.

I'd prefer to do this directly in Postfix if I can without having to install something that has far more capabilities than I really need, such as mailman.

Author:  anveo [ Mon Apr 26, 2010 3:59 pm ]
Post subject: 

I also struggled with this a few weekends ago. Use a space as the delimiter in the 'destination' column in the 'forwardings' table.

I posted a comment a bit ago explaining this on http://library.linode.com/email/postfix ... an-5-lenny , but it doesn't seem to have been approved yet.

Author:  mwaterous [ Mon Apr 26, 2010 4:21 pm ]
Post subject: 

That seemed to do the trick, and seems so obvious I probably should have tried it already. At the same time though it seems like it's breaking a rule or something, but I'm not a guru on postfix inner workings by any means.

Author:  ryboryan [ Wed Jul 06, 2011 1:51 am ]
Post subject:  Thanks!

Great guys! This worked perfectly. I happened to be using the PDM manager for ubuntu 10.04, and from the command line script you use to add aliases, forwards, etc the space between the multiple forwards didn't work.

By going into webmin's MySQL server menu and editing the tables myself it worked perfectly!

Thank both of you very much :)

Author:  haus [ Wed Jul 06, 2011 7:24 pm ]
Post subject: 

That's weird, I've been using a comma and a space for multiple-address forwardings for a long time now and it works. Just added a new one and tested OK.

This kind of thing concerns me, maybe it will break next time I update/upgrade something, but thanks for posting so I'll remember the first thing to check when it stops working.

Page 1 of 1 All times are UTC-04:00
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/