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..