blacklist_senders syntax

Lars Jørgensen ljorg6 at gmail.com
Tue Oct 4 09:02:07 CEST 2011


On 04-10-2011 01:38, Gary V wrote:
> In the @score_sender_maps example provided here:
>
> http://www200.pair.com/mecham/amavisd/2.6.6/amavisd.conf-sample
>
> You could uncomment:
> #  read_hash("/var/amavis/sender_scores_sitewide"),
>
> and the entries in the file would be more like this format:
>
> .example.com -3.0
> badguy.com 20.0
> user at example.net -10.0
>
> Basically, you need to drop the @ when using  hash lookups, see HASH
> LOOKUPS here:
> http://www.amavis.org/README.lookups.txt
>
> read_hash(\%blacklist_sender, '/var/amavis/blacklist_sender'); file
> would be in the form:
>
> progressiverailroading.com
> speetmail.com
> eawb.ccemails.net

Thank you for both pointers, they were spot on and I am now both soft 
and hard listing hammers and spammers. I can see the scores showing up 
in the log so things are working. Thank you.


-- 
Lars


More information about the amavis-users mailing list