Author: Marc Perkel Date: To: Peter Bowyer CC: exim users Subject: Re: [exim] Something to fix in next Exim release
Peter Bowyer wrote: > 2009/1/2 Marc Perkel <marc@???>:
>
>> temporarily rejected after DATA: cannot test domains condition in DATA ACL
>>
>> I would rather have it check and error out on loading Exim rather than
>> at run time. Real easy to miss this one.
>>
>
> Not really, if you read the documentation. There's no semantic parsing
> of the ACLs on startup, so this would be a whole heap of work.
>
>
>> BTW - why isn't this testable?
>>
>
> Because there's no single value to test 'domains' against at the DATA
> stage. Only at the RCPT stage. The usual work-around is to do
> appropriate 'domains' tests and set acl_m variables per-recipient in
> the RCPT ACL and test those variables in the DATA ACL.
>
>
>
It seems to me like the "domain" variable should be treated as if it
were an acl_m variable.