server_condition = "${if eq \
{${lookup pgsql{SELECT pw FROM users WHERE localname='$1'}}} \
{$2} \
{yes}{no}}"
server_set_id = $1
which works quite good. But what happens when an user provides a
password like
';delete from users;'
(OK... it is not neccessary to grand the exim database user write
(insert/delete/update) rights on this table - I know this ...)
This injection is of course also possible at other places (get the users
of a list (how does exim handel e-mail address with ; and ' in it - this
are illegal characters in a e-mail address, aren't they)