Re: [Exim] exiscan question

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Matt Bernstein
Dátum:  
Címzett: Ruth Ivimey-Cook
CC: exim-users
Tárgy: Re: [Exim] exiscan question
On Nov 23 Ruth Ivimey-Cook wrote:

>rules. Is there a way to see the spam_report for messages that are
>rejected, possibly in the reject log? Alternatively, is it possible to


Easy (ish :)

  deny message = Content examination found this message \
            to be spam.\nSpam score: $spam_report
       condition = ${if <{$message_size}{80k}{1}{0}}
       spam = nobody:true
       condition = ${if >{$spam_score_int}{120}{1}{0}}
       log_message = SpamAssassin: ${sg{${sg{$spam_report}{\\n}{,}}}{\\s+}{ }}