On Fri, 29 Feb 2008, Joel Nimety wrote:

> I'm trying to determine how amavis handles hard Whitelist and Blacklist
> precedence, particular when stored in LDAP.  I noticed a thread from a
> few years back (http://marc.info/?l=amavis-user&m=113106620716796&w=2)
> regarding sql lookups, but I'm not sure it applies to LDAP.  I also
> noticed the following throughout the code, in the context of kill level
> and dsn_cutoff_level:

IIRC (using mysql not ldap) amavisd sorts highest to lowest by priority
normally.

>From the looks of the ldap code it orders based on the address vs domain
(address will come before domain).  So [EMAIL PROTECTED] will come before
@example.com.

Regards
James

>
> ($r->recip_blacklisted_sender && !$r->recip_whitelisted_sender)
>
> This leads me to believe that whitelist always takes precedence.
> Specifically, what is the behavior in the following situations when the
> recipient is [EMAIL PROTECTED]  We're using amavisd-new-2.4.3 (I know,
> we attempted an upgrade recently and ran into memory issues that have
> yet to be resolved)
>
> WL: [EMAIL PROTECTED], BL: @example.com
>
> WL: @example.com, BL: [EMAIL PROTECTED]
>
> WL: [EMAIL PROTECTED], BL: [EMAIL PROTECTED]
>
> Thanks for a great product. -- Joel
>
>
>

-- 
James Bourne                  | Email:            [EMAIL PROTECTED]
UNIX Systems Administration   | WWW:           http://www.hardrock.org
Custom UNIX Programming       | Linux:  The choice of a GNU generation
----------------------------------------------------------------------
"All you need's  an occasional kick in  the philosophy." Frank Herbert
Need an inexpensive domain alternative?  http://fastforwarddomains.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to