Re: [Exim] Help with expansion variables

Etusivu
Poista viesti
Vastaa
Lähettäjä: Tony Earnshaw
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] Help with expansion variables
t use søn, 2003-01-19 kl. 14:37 skrev Tony Earnshaw:

> 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} \
>      }


I now see that this is not possible, since a couple of the above
mentioned expansion variables that I use are only used in routing. Never
mind.

Since I don't insist on authorization for local users (there are few and
I trust them) I can't make use of Guliano's solution (I've already given
local users the green light).

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