On Fri, Dec 19, 2008 at 01:54:05PM -0500, Wietse Venema wrote:
> > Is there any way to have special routing for mail that's created on the
> > postfix server(localhost), destined for mydomain?
>
> As far as I recall, internally generated messages are not subject
> to the content_filter setting. Thus, you can use the content_filter
> parameter to send "regular" mail to the content filter, even when
> the filter never sends it back to Postfix, and send other mail
> directly to the exchange box.
The OP is not talking about mail generated internally inside Postfix
(bounces, postmaster notices, ...). Rather this is mail from $mynetworks,
and replacing "content_filter" with a "FILTER ..." action in a CIDR table
will work for that, and will automatically exempt pickup(8) once the
global setting is gone from main.cf
--
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:[email protected]?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.