vpopmail, open_smtp_relay and non-PLAIN auth mechs

Jim Jagielski jimjag at gmail.com
Thu Oct 30 12:50:39 UTC 2014


I've noticed that if using the vpopmail auth setup, that the roaming-user
functionality
provided via open_smtp_relay() is only done if the auth mechanism is PLAIN.
For
example, if the client authenticates via DIGEST-MD5, the open relay file is
not updated, as it should be.

This is due to the call to open_smtp_relay only being done
via vpopmail_verify_plain().
Instead, imo, that call should be done in auth_request_success() in the
auth-request.c
file, so that it is done however the authentication is done, as long as it
is successful.

Attached is a patch for 2.2.15. Let me know if attachments are not the
preferred method
and I'll cut/paste.

tia!

--
Jim Jagielski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dovecot-open_smtp_relay.patch
Type: application/octet-stream
Size: 2486 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20141030/369b5a4b/attachment.obj>


More information about the dovecot mailing list