[Exim] spamassassin and fackreject

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: R.B. (Rick)
Data:  
Para: exim-users
Assunto: [Exim] spamassassin and fackreject
Hi Guys,

i user the conf below and i would like to use fakereject on spam messages
but i see that fakereject is applied only to an accept condition....how can
i adjust my conf to do this?

Thanks
Riccardo

   warn  message = X-Spam-Score: $spam_score ($spam_bar)
         condition = ${if <{$message_size}{200k}{1}{0}}
         hosts = !+relay_from_hosts
         spam = nobody:true
   warn  message = X-Spam-Report: $spam_report
         condition = ${if <{$message_size}{200k}{1}{0}}
         hosts = !+relay_from_hosts
         spam = nobody:true
   warn  message = X-Redirect-To: spam@???
         condition = ${if <{$message_size}{200k}{1}{0}}
         hosts = !+relay_from_hosts
         spam = nobody
         log_message = SPAM ($spam_score)
   warn  message = X-Spam-Flag: YES
         condition = ${if <{$message_size}{200k}{1}{0}}
         hosts = !+relay_from_hosts
         spam = nobody
         log_message = SPAM ($spam_score)


and then use this router:

scan_redirect:
      driver = redirect
      domains = !+no_check_spam
      condition = ${if def:h_X-Redirect-To: {1}{0}}
      headers_add = X-Original-Recipient: $local_part@$domain
      data = $h_X-Redirect-To:
      headers_remove = X-Redirect-To
      redirect_router = local