Re: [Exim] Simple syntax error?

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [Exim] Simple syntax error?
Tor Slettnes wrote:

>> This only works in an ACL statement (where "condition" is a
>> "condition"), not in a router (where "condition" is an "option"),
>> right? And this hasn't changed since 4.2x?
>
>
> @$&!#*$&*! Some people are _never_ satisfied.


To be fair, the book is far from clear on exactly what "options" to a
router constitute "preconditions" and what are some other
class of thing. I'm currently using:

dummy_router:
driver = redirect
address_data = RCPT_LOOKUP
data = ""

extern_fiddle:
driver = accept
transport = extern_smtp
domains = +filter_for_domains
condition = ${if LONGCONDX .....


The RCPT_LOOKUP is a database access, and LONGCONDX uses
$address_data several times.

I consider the redirect/"" to be a grody hack, but couldn't
work out any other way to get $address_data usable.
Any suggestions?

(exim 4.30)

Jeremy Harris