Re: [Exim] Help with expansion variables

Góra strony
Delete this message
Reply to this message
Autor: Tony Earnshaw
Data:  
Dla: exim-users
Temat: Re: [Exim] Help with expansion variables
søn, 2003-01-19 kl. 12:49 skrev Tony Earnshaw:

> I notice that in the debug info the condition variables aren't expanded.
> If I leave the $ sign out before "${if", they get expanded, but this
> breaks the filter, which I'd expect. I have many more of this sort of
> thing for ldap, AUTH etc.


Well, now the variables get expanded. Even more diligent searching
through the postings, and I realized Exim hadn't been told *who* to deny
(I already have another +denysenders ACL).

So now:

deny senders = :
     condition = ${if and { \
     {!eq {$sender_address_domain}{$domain}} \
     {eq {$sender_address_local_part}{*@$domain}} \
     } \
     {true}{false} \
     }


works better, at any rate:

14689 processing "deny"
14689 check senders = :
14689 address match: subject=tonni@??? pattern=
14689 billy.demon.nl in ""? no (end of list)
14689 tonni@??? in ":"? no (end of list)
14689 deny: condition test failed

But the ACL deny as still such doesn't work from a telnet session on my
Norwegian site.

Best,

Tony

--

Tony Earnshaw

When all's said and done ...
there's nothing left to say or do.

e-post:        tonni@???
www:        http://www.billy.demon.nl