Re: [exim] expansion variables in spam condition with Exim 4…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Heiko Schlittermann
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [exim] expansion variables in spam condition with Exim 4.63
Hello mark,

Mark Nipper <nipsy@???> (Mi 22 Nov 2006 17:48:23 CET):
>         I am having problems with expansion variables in the spam
> condition inside of my acl_smtp_data ACL.  I have the following:
> ---
>         warn message            = X-Spam-Score: $spam_score ($spam_bar)
>                 condition       = ${if <{$message_size}{500k}{1}{0}}
>                 spam            = $local_part:true
>         warn message            = X-Spam-Report: $spam_report
>                 spam            = $local_part

        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`


The data acl is rune /once/ per mail. That is you can have more then one
recipient per message. What should $local_part contain in such case?

As far as I remember the doc $local_part is not set in any acl except
then the rcpt acl. (But - I'm not sure if local_part is set in other
acl too iff you limited the number of recipients per message to excactly
one.)


    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 -