Re: [exim] Get spamassassin to deliver spam to a special mai…

Pàgina inicial
Delete this message
Reply to this message
Autor: Heiko Schlittermann
Data:  
A: exim-users
Assumpte: Re: [exim] Get spamassassin to deliver spam to a special mailbox?
Hi,


Joe Kocsis <jfk@???> (Mi 31 Aug 2005 07:21:46 CEST):
> I got it working as below..(deliveriing me a copy of spam with a score >
> 10) via archive_spam_10,
>     Now I want to drop the messages after..
> I created the dropspam_15, and it indeed does drop the spam, but the
> redirect from archive_spam_10 never gets delivered when I add the
> dropspam route..

>
> any ideas why that would happen?? Arent these processed in order?


They are processed in order. ..

> archive_spam_10:
>         driver = redirect
>         condition = "${if eq {${length_10:$h_X-Spam-Level:}}
> {**********}  {1}{0}}"
>         data = spambox@???
>         unseen

>
> dropspam_15:
>        driver = redirect
>        condition = "${if eq {${length_15:$h_X-Spam-Level:}}
> {***************}  {1}{0}}"
>        no_verify
>        data = toss
>        file_transport = /dev/null


But if you check first for the shorter
(10) series of starts .... it's always contained in the longer one,
isn't it?

Try changing the order, first the longer (15), then the shorter (10).
But probably I'm completly wrong, it's quite early in the morning
still... :-)


    Best regards from Dresden
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -