Hi All!
I think I've figured out where my problem lies: in the run script:
#!/bin/sh
HOSTNAME=`hostname -f`
MAXIMAP=`cat /usr/local/qmail/control/concurrencyimap`
exec /usr/local/bin/tcpserver -v -HR -l 0 -c $MAXIMAP 0 imap2 \
/usr/lib/courier-imap/sbin/imaplogin \
/usr/local/qmail/bin/auth_imap -d /usr/local/qmail/bin/pop_before_smtp \
/usr/lib/courier-imap/bin/imapd Maildir 21
Which produces this result:
Connected to localhost.
Escape character is '^]'.
* BYE imaplogin expected exactly two arguments.
Connection closed by foreign host.
I believe that imaplogin is interpreting those spaces as its own
seperate arguments. I'm looking for suggestions on how to fix this.
Thanks
On 5/29/06, Daniel Corbe [EMAIL PROTECTED] wrote:
Dear Q-Mail LDAP community,
If I am reading auth_mod.c, auth_pop.c and auth_imap.c correctly,
auth_imap and auth_pop both take the -d path_to_auth_program
argument to call an external program that should manipulate your
tcprules files.
This seems to work correctly in auth_pop; however in my enviornment it
does not seem to work correctly in auth_imap. I seem to be having
difficulty figuring out why and any assistance would be appriciated.
Also, for those of you who need an example/reference script which
shows how to manipulate the tcprules files, please see the attached
perl script. Will need to be adapted to your enviornment.
Thanks for the help and best regards,
Daniel Corbe