On Mon, Oct 3, 2011 at 12:53 AM, Lars Jørgensen wrote: > On 03-10-2011 09:40, Lars Jørgensen wrote: >> >> read_hash(\%blacklist_sender, '/var/amavis/blacklist_sender'); > > Replying to my own mail: Is it possible to use soft blacklisting in the same > way - breaking out the configuration into a separate file for easy > maintenance? > > Like this: > > @progressiverailroading.com 3.0 > > > -- > Lars >
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 [email protected] -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 Gary V
