[Dovecot] patch for checkpassword exit codes & vpopmail

Timo Sirainen tss at iki.fi
Sat Nov 18 22:18:46 UTC 2006


On Thu, 2006-11-09 at 15:59 +0300, Max A wrote:
> Now all user's mistakes will be processed as well as a mistake of the
> password in checkpassword (exit code 1), and internal mistakes will be
> logged by "default" section.

Applied the patch.

> If you do not like an idea of changing a code specially for vpopmail it
> will be possible to make some parameter in "passdb checkpassword {}"
> section in the config file, pointing at work specially with vpopmail. 
> Depending on its presence "case" will work otherwise (my knowledge of C 
> is insufficiently for this purpose).

No, there are already too many settings.

> Also, if it is not too hard for you, can you add variable TCPLOCALPORT
> (described in http://cr.yp.to/proto/ucspi-tcp.txt) to environment
> variables for checkpassword, because vchkpw uses it for an interdiction
> of access to various services (SMTP/POP3/IMAP/Webmal)?

dovecot-auth doesn't know the port, so this won't make it into Dovecot
v1.0. If people bug me enough I'll implement it for later versions. :)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20061119/8e30ff8e/attachment-0001.pgp 


More information about the dovecot mailing list