I am new to Postfix,Amavis,SpamAssassin ; spam mail have been filling up our server - filling up the hardisk, and queues with useless mail that seem to be from self spawning domains and email addresses.
This is preventing genuine email from functioning properly.
However, I followed instructions on the net to do "soft blacklisting" and "hard blacklisting" - but it does not seem to work.
I am assuming soft blacklisting gives an email a maximum number of hits before the address is given low priority and eventually blocked out.
I also assumed hard blacklisting totally prevents a domain from sending email and filling up the queues.
@score_sender_maps = ({ # a by-recipient hash lookup table,
[ # the _first_ matching sender determines the score boost
new_RE( # regexp-type lookup table, just happens to be all soft-blacklist
[qr'^(bulkmail|offers|cheapbenefits|earnmoney|foryou)@'i => 5.0],
[qr'^(greatcasino|investments|lose_weight_today|market\.alert)@'i => 5.0],
[qr'^(money2you|MyGreenCard|new\.tld\.registry|opt-out|opt-in)@'i => 5.0],
[qr'^(optin|saveonlsmoking2002k|specialoffer|specialoffers)@'i => 5.0],
[qr'^(stockalert|stopsnoring|wantsome|workathome|yesitsfree)@'i => 5.0],
[qr'^(your_friend|greatoffers)@'i => 5.0],
[qr'^(inkjetplanet|marketopt|MakeMoney)\d*@'i => 5.0],
[qr'^(sex|fck)\d*@'i => -5.0],
[qr'.*@\.*\.hotmail\.com$'i => -10.0],
[qr'.*@\.*\.yahoo\.com$'i => -10.0],
),
This does not seem to work (see active queues) - always close to 20000 (saturation) with useless domains.
T 5 10 20 40 80 160 320 640 1280 1280+
TOTAL 19979 0 4 890 3237 3470 2085 140 51 5110 4992
yahoo.com 6803 0 0 222 925 536 942 37 0 2308 1833