Re: [exim] match_domain not working in data acl

2006-02-09 Thread Philip Hazel
On Tue, 6 Dec 2005, Dean Brooks wrote: I almost got to the point where it seemed like Exim (v4.60) was clobbering the contents of $2 in some manner, which affected the second lookup, but I can't prove that and I wasn't able to get much out of debug +expand. driver = plaintext

Re: [exim] match_domain not working in data acl

2005-12-06 Thread Philip Hazel
On Mon, 5 Dec 2005, Dean Brooks wrote: No matter what I did, I could not get the match_domain statement to properly read the $1, $2 or $3 variables. I'm not sure if the match_domain statement has problems reading variables, or perhaps it simply overwrites the $1/$2/$3 variables during the

Re: [exim] match_domain not working in data acl

2005-12-06 Thread Dean Brooks
On Tue, Dec 06, 2005 at 09:14:57AM +, Philip Hazel wrote: No matter what I did, I could not get the match_domain statement to properly read the $1, $2 or $3 variables. I'm not sure if the match_domain statement has problems reading variables, or perhaps it simply overwrites the

Re: [exim] match_domain not working in data acl

2005-12-06 Thread Philip Hazel
On Tue, 6 Dec 2005, Dean Brooks wrote: The lookups into the dbm files worked fine. However, match_domain would *never* match one of my local domains no matter what I did, but works fine on the same +localdomains list everywhere else in the configuration. What is in +localdomains? --

Re: [exim] match_domain not working in data acl

2005-12-06 Thread Dean Brooks
On Tue, Dec 06, 2005 at 03:24:02PM +, Philip Hazel wrote: The lookups into the dbm files worked fine. However, match_domain would *never* match one of my local domains no matter what I did, but works fine on the same +localdomains list everywhere else in the configuration. What is

Re: [exim] match_domain not working in data acl

2005-12-05 Thread Dean Brooks
On Sat, Dec 03, 2005 at 06:04:44PM +0100, Thomas Mueller wrote: In the DATA ACL I'd like to do this: accept condition = ${if match_domain{$acl_m0}{+relay_to_domains}{yes}{no}} But the condition for the accept is never true, domains in relay_to_domains get virus scanned too. The

[exim] match_domain not working in data acl

2005-12-03 Thread Thomas Mueller
Hi, I'd like to do spam and virus scanning depending on the domain (Exim 4.50). For this to work I allow only recipients of the same domain in one mail and keep the domain in acl_m0. This works as expected, RCPT ACL: defer message = ... condition = ${if and { \