On Fri, Apr 15, 2005 at 01:38:18AM -0400, jeff sacksteder wrote:
> The authenticators section of my exim.conf is-
>
> login:
> driver = plaintext
> public_name = LOGIN
> # client_send = ":username1 :password1"
> client_send = lookup{$sender_address_domain}lsearch{/etc/exim/clientauth}
Your lookup syntax is wrong. But also, what you have put does not match the
example given in spec.txt (section 34.5)
fixed_login:
driver = plaintext
public_name = LOGIN
client_send = : username : mysecret
which is a colon-separated list, not a single item (i.e. send null; wait for
prompt; send username; wait for prompt; send password)
The documentation explicitly says:
Note: you cannot use expansion to create multiple strings, because
splitting takes priority and happens first.
But you should be able to do something like this:
client_send = \
: ${lookup {...} lsearch {/etc/exim/clientauth} {${extract {username} {$value} }} fail } \
: ${lookup {...} lsearch {/etc/exim/clientauth} {${extract {password} {$value} }} fail }
in which case your clientauth entries would look like
example.com username=foobar password=xyzzy
Brian.