Re: [Exim] Conditional drive me nuts!

Góra strony
Delete this message
Reply to this message
Autor: Marc Perkel
Data:  
Dla: exim-users
Temat: Re: [Exim] Conditional drive me nuts!
--
[ Picked text/plain from multipart/alternative ]
I think I have it now - my problem involved running as a trusted user. I
ran as root and it seems to wirk - but should i make "mail " and trusted
user - and how do I do that?

Scott M. Nolde wrote:

>Marc Perkel(marc@???)@2002.06.11 09:39:04 +0000:
>
>
>>OK - I need a little help here. Trying to make spam assassin work and I
>>need a conditional and the language drives me nuts.
>>
>>I need a something like this
>>
>> condition = "${if {def:h_X-Spam-Status:}{no}{yes}}"
>>
>>but that doesn't work.
>>
>>I want a condition that will allow me to test if the message has already
>>been touched by spam assassin and return true if it has not.
>>
>>I think this is the last piece I need to make this work.
>>
>>Thanks in advance.
>>
>>
>>
>>
>
># Spam Assassin
>spamcheck_director:
>    # When to scan a message :
>    #   -   it isn't already flagged as spam
>    #   -   it isn't already scanned
>    #   -   it didn't originate locally (as long as I don't harbor
>    #       spammers :-))
>    condition = "${if and { \
>                        {!def:h_X-Spam-Flag:} \
>                        {!eq {$received_protocol}{spam-scanned}} \
>                        {!eq {$received_protocol}{local}} \
>                        } {1}{0}}"
>    driver = smartuser
>    transport = spamcheck

>
>
>
>


--