Re: [Exim] Conditional drive me nuts!

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc Perkel
Data:  
A: exim-users
Assumpte: Re: [Exim] Conditional drive me nuts!
Thanks Scott - but I tried that - and I get message looping as if it
doesn't see the $recieved_protocol information.

One thing I should say is - I'm running virtual email - and I don't have
real users in my /etc/passwd file. If that makes a difference.

Why doesn't the $recieved_protocol test work for me?

Scott M. Nolde wrote:

># 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

>
>
>
>