On 3.9.2012, at 2.41, Adi Pircalabu wrote:
Are there any plans to have Dovecot authentication service to do SMTP authentication against IMAP or POP3 proxy provided information? This, of course, means we'd have the authentication result tied to the response of the backend IMAP/pop3 server.
I don't see any clean way of doing that.
My question is, given the above: is there a way to get SMTP authentication properly in this scenario?
Make Postfix authenticate against the backend Dovecot server. You'll need to setup service auth { inet_listener } to some port for it.
The POP/IMAP backends are running Courier IMAP, as I've just mentioned and due to the existing hosting environment it's very unlikely to replace it with something else.
Maybe use IMAP authentication as the backend? pam_imap at least can do that. Or you can already also use Dovecot v2.1's passdb imap to do this, pretty much equivalent to pam_imap.