Fwd: Can Amavisd block based on Message-ID ?

Benny Pedersen me at junc.eu
Thu Sep 22 11:22:20 CEST 2016


On 2016-09-22 04:57, Indunil Jayasooriya wrote:

> [qr'.*(PC-EXC02.Fanex-us).*'i                                    => 
> 5.0],
> 
> I hope it should be added like this.
> 
> 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'.*(PC-EXC02.Fanex-us).*'i                                    => 
> 5.0],
> 
> is it OK?

> es, its just not testing message id in amavisd with it

add the regex to spamassassin


More information about the amavis-users mailing list