On Tue, 8 Jun 2004, RYAN vAN GINNEKEN wrote:
exec 2>&1
exec tcpserver -c 100 -u 0 -g 0 \
-l $(hostname) -HDRP \
127.0.0.1 143 \
/usr/local/bin/bincimap-up \
--logtype=multilog \
--conf=/usr/local/etc/bincimap/bincimap.conf --allow-plain \
--/usr/local/bin/checkpassword \
^
this is mistake #1, as you also noticed. There should be a space
after the -- argument, or else bincimap-up with interpret the
checkpassword path as an actual command line option just like
--help.
/usr/local/bin/recordio
^
this is mistake #2, there should be a trailing
backslash to denote a line continuation, just
like the preceding lines.
/usr/local/bin/bincimapd
*****You know what is funny on my other server across town everything
works fine this is the run file from that server and I get this in
the logs
#!/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
exec tcpserver -c 100 -u 0 -g 0 \
-l $(hostname) -HDRP \
0 143 \
/usr/local/bin/bincimap-up \
--logtype=multilog \
--conf=/usr/local/etc/bincimap/bincimap.conf -- \
/usr/local/bin/checkpassword \
Yes, because here you will notice that you both have the -- argument
right, and the trailing backslash.
***** Grasping at straws here
(...)
--/usr/local/bin/checkpassword \
^
again, after -- there must be at least one space. The -- argument
is similar to that of 'rm', it marks the end of the command line
arguments and the start of the "unqualified arguments".
@4000000040c61f131f3697cc 20365 0 [EMAIL PROTECTED]:] connection from
127.0.0.1
@4000000040c61f1320e0bd8c 20365 1 [EMAIL PROTECTED]:] <rmvg>
authentication failed: server returned 111 (internal error)
This last time, you seem to have got it right. But could you please
try to
do the test with a correct run file (with the -- and backslashes at the
right place).
I am lost please help
It'll work. :-) I know it does.
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."