Henry Baragar wrote:

Joe, could you please run:
   printf "zackynet-jztest\0testpass\0Y123456\0" |
      /usr/local/bin/checkvpw echo SUCCESS --depot=maildir 3<&0
and repot the result to this list?

[EMAIL PROTECTED] root]# printf "zackynet-jztest\0testpass\0Y123456\0" | /usr/local/bin/checkvpw echo SUCCESS --depot=maildir 3<&0
SUCCESS ./users/jztest


But this also returns success:

[EMAIL PROTECTED] root]# printf "zackynet-jztest\0testpass\0Y123456\0" | /usr/local/bin/checkvpw echo SUCCESS just_garbage_here 3<&0
SUCCESS ./users/jztest



If it returns: SUCCESS ./users/jztest

could you please further check that your bincimap run file works with bincauthwrap removed?

It does not. But looking at your other posts I think you understand the purpose of the auth wrapper.


After reading the other thread " binc 1.2.7final vmailmgr strace" about how the maildir parameter is qualified or not...I got things to work, without the patch, by changing the auth wrapper. Here's my new auth wrapper:

#!/bin/sh
#
# Wrapper to allow binc imap to use virtual domains (vmailmgr)
# along with local mail users

export MAILDIR="$2"
cd "$HOME"/"$2"
#exec "$@"
exec "$1"

Notice I don't pass any parameters to bincimapd (exec "$1"). The wrapper changes to the maildir already and I have path = "." in my bincimap.conf. Everything just works, with one caveat, login as zackynet-jztest doesn't work, I have to login as [EMAIL PROTECTED] I don't know if that's a bug or a requirement for imap and virtual domains.

Thanks so much for all your help, all of you.

Cheers,
Joe Zacky





Reply via email to