B S Srinidhi <[EMAIL PROTECTED]> wrote on 10/11/2005 05:25:48 PM:

> On Tue, 2005-10-11 at 17:05 +0800, Syahid Ali wrote:
> > hi, been there, done that, but somehow it didn't work, am i missing
> > s'thing?
> >
>
> I was not very verbose in my previous post. Sorry about that.
>
> >
> > my imapd.config
> >
>
> Let us not think about the imapd.config or anything else that
> courier-imap has installed. They are never used if you are not using the
> init scripts or you don't source them explicitly before invoking imapd.

and if it's not used, how do i get MAXPERIP=? to work if this file is ignored? (2nd question :) )


>
> >
> > my imapd runscript
> >
>
> That will never work. You are not sourcing your imapd.config file and
> not exporting the variable. My run script says this:
>
> #!/bin/sh
>
> export IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
>
> echo "Starting Courier-IMAP Service..."
> exec tcpserver -v -H -R -l 0 0 143 /usr/lib/courier/courier/imaplogin \
>         /var/qmail/bin/auth_imap /usr/bin/imapd Maildir 2>&1
>

ok, now it's crystal clear.
and it's working. even the quota plugin for my squirrelmail works perfectly. thanks a bunch.

credits to thomas, manfred, you and all 4 the great help.

my runscript is like this

#!/bin/sh

export IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"

exec /usr/local/bin/tcpserver -H -c 100 -l 0 -v -x /var/qmail/control/qmail-imapd.cdb -R 0.0.0.0 143\
  ${exec_prefix}/sbin/imaplogin \
  /var/qmail/bin/auth_imap \
  ${exec_prefix}/bin/imapd Maildir 2>&1
> >
> > my qmail-imapd.rules
> >
> > :allow,IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
> > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
> >
> > then i run,
>
> Two things why this won't work. You forgot to run the `make` command
> after editing this file and secondly you didn't use the qmail-imapd.cdb
> file inside your imap run file.

never know this even existed b4. thanks 4 the info.

>
> Hope this time you get this to work.
>
> Srinidhi.
> --
> B S Srinidhi <[EMAIL PROTECTED]>
> DeepRoot Linux Pvt. Ltd.
>

Reply via email to