On Sun, 2 May 2004 10:00:36 +0200 (CEST), Andreas Aardal Hanssen <[EMAIL PROTECTED]> wrote:
On Sat, 1 May 2004, Henry Baragar wrote:I think that binc should align with qmail-pop3d (NOT checkpassword), whose interface is:do much (a buch of memory allocations) before exiting. So, now I am really confused!-)Check out my reply to Jeremy in http://www.bincimap.andreas.hanssen.name/archive/?0::972.
Do you think this is the cause of the problem? The checkpassword interface
does not mention the unqualified argument, and it's somewhat quirky to
have to add support for it. I could add an exception to the command line
parser, but I'd have to know that this would indeed solve this problem.
qmail-pop3d maildirname
That is, I think that the 'path = "Maildir"' should be removed from the config file and made to be the first unqualified argument to bincimapd (just liek qmail-pop3d). This will enable checkvpw, and any other checkpassword programs rewrite their arguments to get qmail-pop3d to look in the correct directory, to work.
Did anyone try to debug bincimapd and see where it exits 111?Running bincimapd (with --logtype=multilog) did not give me any indication (which I was expecting) of the location of the problem. I did not investigate further.
The idea of using a wrapper does appeal more to me; it would take theThis is already done by checkvpw, but I don't know how smart/dumb it is. That is, I don't know if 'bincimapd --depot=Maildir' will work with checkvpw.
maildir argument and have it rewritten, then pass its value as argument to
bincimapd.
Joel, 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?If it returns:
SUCCESS ./users/jztestcould you please further check that your bincimap run file works with bincauthwrap removed?
Thanks, Henry:-)
Hm, the short command line arguments must be updated in the man pages.
To set the depot path, use -d or --depot=.Then how do you disable starttls, which is currently: -d, --disable-starttls
To set the create-inbox flag, use -C or --create-inbox=. In this case, setting the mailbox path is the same as before; -m or --mailbox-path=.
Andy :-)
-- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something http://www.bincimap.org/ | than to do it poorly."
Henry:-)
-- Henry Baragar Principal, Technical Architecture 416-453-5626 Instantiated Software Inc. http://www.instantiated.ca
