If anyone is interested, I've made a patch against Exim-3.33 which
implements SMTP-AUTH via Cyrus-SASL pwcheck daemon.
The patch itself is an additional lookup method 'pwcheck' (implemented
borrowing code from the Cyrus-SASL)
which accepts login and password and checks them against system's
shadow or regular passwd using pwcheck daemon from Cyrus-SASL
distribution. The daemon should be installed and running, both from
Cyrus-SASL 1.5.x and 2.x work.
Then you configure the SMTP AUTHentication as follows:
# in common section:
host_auth_accept_relay = *
relay_domains =
host_accept_relay = localhost
# in authenticator section:
login:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
server_condition = "${lookup pwcheck {$1:$2}{1}{0}}"
plainns:
driver = plaintext
public_name = PLAIN
server_condition = "${lookup pwcheck {$2:$3}{1}{0}}"
end
If anyone is interested, will be happy to post the patch itself.
./lxnt