24 Jun
2009
24 Jun
'09
1:39 a.m.
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.