On Wed, Jul 30, 2008 at 06:59:37AM -0700, Radio Tron wrote:

> If I have /etc/postfix/aliases like so: 
> friends: barf, zork, oink
> 
> and if someone sends a mail both to: [EMAIL PROTECTED] AND [EMAIL PROTECTED],
> would it be possible for Postfix to filter out that extra copy of the
> mail that oink will receive (preferably oink gets the alias mail and
> the direct-mail to oink, gets nuked)?

Only if you move alias from alias_maps to virtual_alias_maps:

        [EMAIL PROTECTED]       bark zork [EMAIL PROTECTED]

and you set:

        enable_original_recipient = no

and you are running Postfix 2.1, 2.2, 2.5 or a recent patch-level
of 2.3 or 2.4.

If using a content filter, per FILTER_README, disable rewriting before
or after (exactly one) the filter.

-- 
        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]>

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.

Reply via email to