Send email copy up on spam score higher than

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue Jan 1 20:04:11 CET 2019


>On 31.12.18 13:23, Admin Beckspaced wrote:
>>is it possible to send a copy of the email to another account if the 
>>spam score of the email is higher than let's say 5 points?
>>
>>if yes ... how would accomplish that?

On 31.12.18 20:32, Matus UHLAR - fantomas wrote:
>one approach is to use set tag2_level to 5 and the address as spam
>quarantine - I'm just not sure now, if it sends the mail, when you set spam
>destiny to D_PASS.
>
>other possibility  at MTA level, e.g. postfix header checks when receiving from amavis,
>or milter_header_checks when using MTA.

sorry, "when using milter".

>This way you should be able to count number of stars in headers like
>"X-Spam-Level: *****" - you may need to escape stars because of regular
>expressions

note that you don't need the MTA version when you use amavis quarantining.

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
On the other hand, you have different fingers. 


More information about the amavis-users mailing list