[exim] Redirect spam to special account

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Cédric MARCOUX (sprimont)
Date:  
À: exim-users
Sujet: [exim] Redirect spam to special account
Hi!
Currently kill my spam using this acl:

   deny    message   =  This message scored $spam_score spam points.
   spam              =  nobody:true/defer_ok
   condition         =  ${if>{$spam_score_int}{30}{1}{0}}


However i would like to redirect all the spam to a special local
account, ex: spamcheck@localhost

I have try this router, it is on first position:

spam_trap:
driver = redirect
condition = ${if >{$spam_score_int}{30}}
data = spamtrap@localhost
unseen

However no spam seems to pass this router cause, i suppose, it is denied
before.

In this way, i have try the "warn" statement instead of deny, but using
this configuration, the final recipient receive the spam even and I
catch it too in the spamcheck account...
So i just want to redirect spam to spamcheck@localhost *without* using
system filters...

Any idea?