On Wed, 2005-10-12 at 12:00 +0800, Syahid Ali wrote:
> > > my imapd runscript
> > >
> > > #!/bin/sh
> > >
> > > IPADDR="0.0.0.0"
> > > exec_prefix=/usr/lib/courier-imap
> > > . /var/qmail/service/imapd/imapd.config
> > >
> > > /usr/local/bin/tcpserver -c 100 -l 0 -v -R $IPADDR imap\
> > >   ${exec_prefix}/sbin/imaplogin \
> > >   /var/qmail/bin/auth_imap \
> > >   ${exec_prefix}/bin/imapd Maildir 2>&1
> > 
> > Why are you trying to invent the wheel?
> 
> :) my mistake 
> i just followed what's inside the qmail-ldap wiki. maybe it needs some
> updating. it's here 
> 

There's another simple way to get this to work. I had missed a line
while looking at your run script. 

After you source your /var/qmail/service/imapd/imapd.config file, just
add the following lines to get the desired effect:

export $IMAP_COMPATIBILITY
export $MAXPERIP

You could continue to add more lines like this for every variable that
you want to use from your imapd.config file. This method would actually
keep your run file clean. :)

Srinidhi.
-- 
B S Srinidhi <[EMAIL PROTECTED]>
DeepRoot Linux Pvt. Ltd.

Reply via email to