Re: [Exim] spam assassin: do not want to deliver X-Spam-Chec…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Sean Rima
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [Exim] spam assassin: do not want to deliver X-Spam-Checked mails to user
On Tue, 9 Apr 2002, Wolfgang Fuertbauer uttered the following:

> Hi all,
>
> I use Spam Assassin (spamd/spamc) and don't want to deliver X-Spam-Checked
> mail to users;
> instead it should be written to a "spam-box" (/var/spool/spam)
>
> I tried to configure a router and transport for that - but it does'nt
> work.
> create a SPAM mail, SA recongizes SPAM, but spamsave_router is not used?
> can one help me please?
>
> thank`s in advance
> wolfgang
>
> (exim 4.02 -config:)
>
> Routers section:
>
> ## this one works
> spamcheck_router:
>   condition = "${if and { {!def:h_X-Spam-Flag:} {!eq \
>                 {$received_protocol}{spam-scanned}}} {1}{0}}"
>   driver = accept
>   transport = spamcheck

>
> ## this not?
> spamsave_router:
> condition = "${if {def:h_X-Spam-Flag}{1}{0}}"
> driver = accept
> transport = spamsave


try:
spam_local:
driver = accept
condition = "${if def:h_X-Spam-Flag:{$h_X-Spam-Flag:} }"
transport = spam_delivery


I tested this with an old spam message and it was saved okay.

Sean
- --
  Sean Rima                                http://www.tcob1.net
  Linux User:      231986          Jabber:   tcobone@???
  THE VIEWS EXPRESSED HERE ARE NOT NECESSARILY THOSE OF MY WIFE.