[Dovecot] Asked about Dovecot Logging

Timo Sirainen tss at iki.fi
Wed Jun 24 01:39:20 EEST 2009


On Tue, 2009-06-23 at 17:16 -0500, Jose Luis Marin Perez wrote:
>   passdb:
>     driver: checkpassword
>     args: /usr/vpopmail/bin/vchkpw

It's vchkpw. You could work around it with something like:

args = /usr/vpopmail/bin/vchkpw /usr/local/bin/vchkpw-wrapper.sh

and the vchkpw-wrapper.sh would contain:

#!/bin/sh

unset USER
exec $*

Hmm. Can you check if vchkpw returns the domain in some environment
variable (temporarily add "set > /tmp/log" to the wrapper script)? If it
does, I could change Dovecot to use it and this wrapper wouldn't be
necessary.

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


More information about the dovecot mailing list