On Sat, Jul 02, 2005 at 01:38:43PM +0100, Mike Woods wrote:

> Michael Hall wrote:
> 
> 
> >To further diagnose this issue would it be possible to get a detailed
> >log entry ($log_level = 5;) for each case. The logs will look something
> >like (there is more this is just an excerpt):
> 
> Cha-Ching, we have a winner, it is doing lookups on a null address after 
> all, I'll have a look and see if i can force postfix to send "cleaner" 
> email (at least cleaner in the context of this) however i wont be able 
> to check it for a weekish since the server currently sending the 
> messages is forwarding them to the one in working on, at least until the 
> new hardware arrives and i replace it with a new build cloned from this 
> one :)
> 
> Another thought though, will amavisd use both a whitelist has AND an 
> ldap lookup if I define both ?

Yes, I just did a little testing using the examples below. This should
get things working for you now. I'll look at the code for a long term
solution.

# soft whitelisting
@score_sender_maps = ({
   '[EMAIL PROTECTED]' => [ { '' => -10.0 } ],
};

# whitelisting
$per_recip_whitelist_sender_lookup_tables = {
   '[EMAIL PROTECTED]' => [ '' ],
};

Both forms of whitelisting worked, just a matter of personal preference.

FWIW, in general I believe amavisd-new does lookups using all defined
methods in order of SQL, LDAP, hash, ACL, ..., first match wins.

--

Mike Hall,
System Admin - Rock Island Communications           <[EMAIL PROTECTED]>
System Admin - riverside.org, ssdd.org              <[EMAIL PROTECTED]>


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
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