On 8/31/2010 2:21 AM, GP wrote:
> Hi there,
>
> searched for some time and did not find answer, so here is my question.
> Is it possible to whitelist sender-recipient domain pair with amavis? I
> need rule to whitelist (skip any amavis checks) any mail from
> *[email protected] to *[email protected], mail from *[email protected] to 
> *[email protected]
> must be checked as usual.

I don't believe there is anything in amavisd-new for 
two-factor whitelisting.

If you are pretty good with perl, I'm sure something can be added.

> I have tried to do this with postfix check_policy_service in
> smtpd_recipient_restrictions with no success.
>
> My postfix and amavis servers are separate machines and postfix
> master.cf entry for content_filter is this:
>
> 628      inet  n       -       n       -       -       smtpd
>              -o content_filter=lmtp:amavis-server:10024
>
> it seems that even if I set check_policy_service response to OK mail is
> always going to amavis filter.

The proper response would be FILTER foo:bar to select a 
content_filter, DUNNO for no filtering, no content_filter 
setting in postfix.

Note selecting filtering based on recipient address is 
unreliable; a message may have multiple recipients, but only 
one content_filter or FILTER destination.


> It is possible that it can be solved with postfix tweaks, but if I make
> this work with amavis I will skip my headache reconfiguring postfix.



   -- Noel Jones

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
AMaViS-user mailing list
[email protected] 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 Please visit http://www.ijs.si/software/amavisd/ regularly
 For administrativa requests please send email to rainer at openantivirus dot 
org

Reply via email to