Nicklas wrote:

>> > Yes, it get's BLACKLISTED but still ends up at the 
>> recipient. I have 
>> > $final_spam_destiny = D_DISCARD;.
>> 
>> > Could it have something to do with my 
>> @spam_quarantine_to_maps setup?
>> 
>> I set mine the same way.
>> 
>> > @spam_quarantine_to_maps = (
>> >    read_hash("/spam-bins"),
>> >    $spam_quarantine_to,
>> > );
>> 
>> > Nicklas B
>> 
>> Are you sure the recipient or recipient's domain is not 
>> listed as a spam_lover (@spam_lovers_maps)?
>> 
>> To dig deeper, temporarily set $log_level = 5; reload 
>> amavisd, then try sending again and carefully review the logs 
>> for that particular message.
>> 
>> Gary V

> Must be this screwing things up, making everyone a spam-lover by default;

> @spam_lovers_maps = ( read_hash("/spam-haters"), 1 );

> Any way to get around it?

> Nicklas B

Here is the example from the "negative read_hash" post:

@spam_lovers_maps = ( read_hash("$MYHOME/spam_haters"), 1 );

If all domains will be spam_lovers by default,
then there is no need to look them up, simply make everyone a
lover, and list only the exceptions.

Contents of the spam_haters file:

# we have set @spam_lovers_maps = ( read_hash("$MYHOME/spam_haters"), 1 );
# which means everyone is a spam lover by default.
# If you would like to exclude a
# particular user from being a spam lover, include them in
# this associative array using a 0 for the value. For example:
# [EMAIL PROTECTED] 0
#
[EMAIL PROTECTED] 0  this would mean 'spam_lover' false
.example2.com 0                     'spam_lover' false
[EMAIL PROTECTED]                   'spam_lover' true

(the .example2.com users are not spam_lovers, but [EMAIL PROTECTED]
wants to be a spam_lover)

So, everyone is a spam_lover by default. If you want to exclude a
single user, or entire domain from being a spam lover, they must be in
the spam_haters file with a "0" after them.

Try it. Place the user (or domain) you are trying to send the
particular message to in this file, with a zero after them.
amavisd reload

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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