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

Pàgina inicial
Delete this message
Reply to this message
Autor: Joe Kocsis
Data:  
A: exim-users
Assumpte: Re: [exim] Get spamassassin to deliver spam to a special mailbox?
If I change the order, then I will never archive the ones over score
15..
    The 1st router is is archive over score 10.
    The 2nd one dumps over score 15, so that it never even reachs the user.


    I want to archive for verification, and to make sure I dont lose
something important..


    I cant understand why the addition of the second router would make
the 1st one stop working"?!?! Unless I am completely misunderstanding
something?


Joe


Heiko Schlittermann wrote:

>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

>
>