[Dovecot] pop-before-smtp in SQL?

Lorens dovecot.fdop at tagged.lorens.org
Fri Aug 19 19:40:47 EEST 2005


On Fri, Aug 19, 2005 at 07:26:46PM +0300, Timo Sirainen wrote:
> 
> If you use sql userdb, you can just add the insert command into the
> user_query.

That is what I am using, but surely the user_query is executed
even if the password is not correct, and access should therefore
not be granted?

> I've in TODO that there should be a separate post_login command.

OK, that was what I was looking for.

> Another way that already works is to update mail_executable location to
> some script which does the SQL insertion and after that executes the
> real imap or pop3 binary.

I'll try that. Thanks a lot.



More information about the dovecot mailing list