Re: control = fakereject

Jakob Hirsch <[email protected]> Sun, 09 Jan 2005 12:46:00 +0100
Newsgroups gmane.mail.exim.exiscan.user
Message-ID <[email protected]>
[email protected] wrote:

> I'd like to use the feature for
> a) "reject" all spam
> b) save the spam message to local mbx
> c) feed bayes, dcc, pyzor with that spam

I do this since a few months. Cannot say if rejecting helps anything in 
getting less spam, but since it comes at no cost I think it's good idea.

> which examples ?

here is mine:

>   # Reject spam messages
>   warn  condition = ${if <{$message_size}{200k}{1}{0}}
>         spam = nobody
>         log_message = Classified as spam (score $spam_score)
>         delay = 30s
>         control = fakereject
>   # put spam header into message
>   warn  message = X-Spam-Status: ${if >{$spam_score_int}{50} {Yes}{No}}, $spam_score\n\
>                   X-Spam-Report: $spam_report
> 
>   # virus scanning
>   warn  log_message = Message contains malware ($malware_name)
>         message = X-Antivirus: on ymmv.de found malware ($malware_name)\n\
>                   X-ymmv-newsubject: [Infected with $malware_name] $h_subject
>         demime = *
>         malware = *
>         delay = 30s
>         control = fakereject