On Mon, Jan 05, 2009 at 09:02:01PM -0500, Adam wrote: > > if you mean the recipient domain, then no, unless you want to run > > multiple postfix instances. > > > > do whatever you want in the filter. > > > > > Sorry if I'm using the terms incorrectly... I mean from my end, I'd > like to run multiple interfaces in the master.cf and send mail to > through different ones (depending on the hosted company's domain) to > append different disclaimers. > > i.e. > > hostedcompany1.com smtp:localhost:1234 > hostedcompany2.com smtp:localhost:5678
THis works provided the SMTP service on port 1234 does not place the processed mail back in the same Postfix queue (resulting in a loop). The mail must either be: - Delivered to a mailbox - Forwarded to a different host - Forwarded to a different Postfix instance on the same machine in which the above transport settings are not present. A "Postfix instance" is not a "service instance" in master.cf, rather it is a complete configuration directory with its own main.cf/master.cf and also separate queue and data directories, ... Separate Postfix instances are operated by separate master daemons and corresponding queue managers... -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.