Hasse,Hasse,
This looks exactly like the vmailmgr problem. Does auth_pop rewrite "maildir" in its command line arguments like checkvpw does?
Could you please run the following from the command line:
printf "testldap\0testldappass\0Y123456\0" |
/usr/local/bin/auth_pop echo SUCCESS --depot=maildir 3<&0
where "testldappass" is replaced with the testldap's password. This will tell us definitively if auth_pop rewrites "maildir".
Thanks, Henry:-)
Henry:-)
On Sun, 02 May 2004 11:32:45 +0200, Hasse Hagen Johansen <[EMAIL PROTECTED]> wrote:
"Hasse" == Hasse Hagen Johansen <[EMAIL PROTECTED]> writes:
Hasse> Yeah, I found that error yesterday..seems binc didn't like Hasse> some of the comments in the default .conf file (RPM Hasse> package), so I removed all of them. But that is not the Hasse> problem...I think it is the same problem as vmailmgr has.
Hasse> I will try later to use the authwraper :-) I think binc Hasse> maybe is trying to use the wrong dir as Maildir, but on the Hasse> other hand it works flawlessly with local users with tehir Hasse> Maildir in /home/"userid"/Maildir
As a follow up. I have just tried using the authwrapper approach. In bincimap.conf i set the maildir path = "" (or else I got a maildir in a maildir). But it actually worked worked when using the authwrapper
authwrapper.sh:
#!/bin/sh export MAILDIR="$2" cd "$HOME"/"$2" exec "$@"
/service/imap/run:
#!/bin/sh # $Id: run.in,v 1.1.1.1 2003/08/18 18:06:05 andreaha Exp $ # daemontools supervise run-file for Binc IMAP Service.
exec 2>&1 export LOGLEVEL=255 exec tcpserver -c 100 -u 0 -g 0 \ -l $(hostname) -HDRP \ 0 143 \ /opt/bincimap/bin/bincimap-up \ --logtype=multilog \ --conf=/etc/opt/bincimap/bincimap.conf -- \ /var/qmail/bin/auth_pop \ /var/qmail/bin/authwrapper.sh \ /opt/bincimap/bin/bincimapd Maildir
Many thanks for all the help from the list
/Hasse
-- Henry Baragar Principal, Technical Architecture 416-453-5626 Instantiated Software Inc. http://www.instantiated.ca
