[Dovecot] patch for checkpassword exit codes & vpopmail

Timo Sirainen tss at iki.fi
Mon Nov 20 16:32:34 UTC 2006


On Mon, 2006-11-20 at 12:39 +0300, Max A wrote:
> >> 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. :)
> 
> In that case, is there an opportunity  to use some fake variables, for 
> example TCPLOCALPORT=110 for POP3 connection, TCPLOCALPORT=143 for IMAP, 
> TCPLOCALPORT=993 for IMAP over SSL, etc.?

Umh. That's beginning to sound way too kludgy. If you really need that
you could just as well write a wrapper script that sets them..

-------------- 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/20061120/f95ccae0/attachment.pgp 


More information about the dovecot mailing list