On Sat, 1 May 2004 15:42:05 -0500, Jeremy Kitchen <[EMAIL PROTECTED]> wrote:

Here it is.... as you can see, it authenticates and does all of that jazz, but
bincimapd itself barfs and exits 111.


http://scriptkitchen.com/bincstrace.txt

conf file, startup script, and authwrapper:
http://scritpkitchen.com/binc/bincimap.conf
http://scriptkitchen.com/binc/imap-run
the last line of imap-run is:
    /var/bincimap/bin/bincimapd Maildir
Binc does not like the "Maildir" and exits 111.

http://scriptkitchen.com/binc/authwrapper

Ah, I NOW SEE the purpose of this file!


"qmail-popd" expects the name of the maildir subdirectory as its only (unqualified) argument. Now checkvpw looks at its arguments and replaces and occurance of the literal string "maildir" (ignoring case) "is replaced with the full path of the mail directory, as determined by the steps above" (http://www.vmailmgr.org/docs/checkvpw.html). However, Binc does not like the (unqualified) maildir and exits 111. My understanding from the man pages is that it is expecting something like:
/var/bincimap/bin/bincimapd --depot==Maildir
If checkvpw is smart (dumb?) enough to replace the Maildir in this string, then authwrapper can be eliminated and binc will be happy (I hope).


Andreas:

1. I know that you changed the parser between 1.6 and 1.7. Did change the semantics of the command line interface to make it illegal to have an unqualified maildir? If so, then this explains why 1.6 works with vmailmgr but not 1.7. The real question is: could you please change the interface to match (or at least not conflict) with qmail-popd? In particular, to take an unqualified argument as the maildir (or IMAPdir).

2. I think the man page for bincimap-up has a typo. It has the following lines:
-C, --create-inbox
-C, --depot=[Maildir++|IMAPdir]
Should the second "-C" possibly "-D" (or some other letter)?


Henry:-)


Hopefully this helps! :(


Also, replacing bincimapd with 'pwd' and 'id' I got the following results:
/home/testingbob/Maildir <-- which is correct
uid=1008(testingbob) gid=100(users) groups=0(root),1(bin),2(daemon),3(sys),4
(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
(that was testing on the command line though so I guess it still had all of
the group permissions root had :)


-Jeremy




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

Reply via email to