Hello all,
attached patch makes possible to use dovecot as an authentication backend for Exim 4. Reasons beyond this patch are simple: exim's authenticators require use of plaintext passwords and NTLM code in exim is quite outdated and hairy. Patch generated against Exim 4.43, but should apply to earlier versions too.
Patch adds new 'dovecot' authenticator, which can be used as such:
ntlm: driver = dovecot public_name = NTLM server_socket = /var/authentication_socket_path server_set_id = $1
cram: driver = dovecot public_name = CRAM-MD5 ...
Authenticator has only one parameter 'server_socket', it's value used as path for dovecot's authentication socket. Authenticator can be used for server authentication only.
Hope it will be useful for someone.
Best regards.
-- Andrey Panin | Linux and UNIX system administrator pazke@donpac.ru | PGP key: wwwkeys.pgp.net