[Maia-users] bypassing maia for specific recipients
- Cygnus -
cygnuzz at yahoo.com.sg
Wed Jul 4 20:45:50 PDT 2007
Gary V wrote:
>> awesome. I know it had to be possible with postfix's maps, just
>> never worked out the right incantation. :)
>>
>> I think I'll add this to the FAQ.
>>
>>
>>
>>> You can use check_recipient_access
>>> ex : smtpd_recipient_restrictions = check_recipient_access
>>> hash:/etc/postfix/bypass
>>>
>>> /etc/postfix/bypass
>>>
>>> xxx at domain.org FILTER smtp:[127.0.0.1]:10025
>>>
>>> --
>>> - Cygnus -
>>>
>>>
>> David Morton
>>
>
> Don't be too hasty. This is not a good way to do it. The filter is applied
> to the message. This means that when mail is addressed to multiple
> recipients, amavis will be bypassed for all the recipients, not just the
> recipient in the map. This likely violates their policy. This is especially
> bad if the message contains a virus.
>
> Gary V
>
>
Yes you are right. But I have made some testing, if I send email to
aaa at domain.org, bbb at domain.org, and ccc at domain.com with bypass setting I
mentioned above, all mail for domain.org will be bypassed, but email for
domain.com will be delivered to amavis first. It seems that different
domain in virtual environtment will have different result, and not all
recipients will be affected by those settings.
--
- Cygnus -
More information about the Maia-users
mailing list