On Mon, 03 May 2004 11:38:39 -0700, Joe Zacky <[EMAIL PROTECTED]> wrote:


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


Joe,

What does the following produce?
  printf "zackynet-jztest\0testpass\0Y123456\0" |
    /usr/local/bin/checkvpw echo SUCCESS 3<&0


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"

What's in you run file?

Henry

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






-- Henry Baragar Principal, Technical Architecture 416-453-5626 Instantiated Software Inc. http://www.instantiated.ca

Reply via email to