Syahid Ali wrote:

Manfred Langthaller <[EMAIL PROTECTED]> wrote on 10/11/2005 04:50:12 PM:

 > Syahid Ali wrote:
 > >
 > > B S Srinidhi <[EMAIL PROTECTED]> wrote on 10/11/2005 04:21:23 PM:
 > >
 > >  > On Tue, 2005-10-11 at 12:56 +0800, Syahid Ali wrote:
 > >  > > i need the quota capability in courier-imap so i add inside
 > >  > > imapd.config
 > >  > >
 > >  > > IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
 > >  > > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5
 > >  > > AUTH=CRAM-SHA1 IDLE"
 > >  > >
 > >  >
> > > That won't help. You'll have to export IMAP_CAPABILITY in courier-imap's
 > >  > run file and then restart the imap service.
 > >  >
 > >  > Srinidhi.
 > >  > --
 > >  > B S Srinidhi <[EMAIL PROTECTED]>
 > >  > DeepRoot Linux Pvt. Ltd.
 > >
 > > i don't quite understand your reply. how do i accomplished this?
 > > thanks
 > >  >
 >
 > Hi!
 >
 > You export IMAP_CAPABILITY_ORIG but only IMAP_CAPABILITY (without _ORIG)
 >   should be exported.
 >
 > # cat /var/qmail/control/qmail-imapd.rules
 > ...
 > :allow,NOPBS="",IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
 > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"
 >
 > # telnet localhost 143
 > Trying 127.0.0.1...
 > Connected to localhost.
 > Escape character is '^]'.
 > * OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
 > THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION]
 > Courier-IMAP ready. ...
 >
 > Manfred


hi, been there, done that, but somehow it didn't work, am i missing s'thing?


_my imapd.config_

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


_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


_my qmail-imapd.rules_

:allow,IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"

then i run,

# svc -d /service/imapd
# svc -u /service/imapd
# telnet localhost 143
  Trying 127.0.0.1...
  Connected to localhost.
  Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 ACL ACL2=UNION] Courier-IMAP ready. Copyright 1998-2004 Double Precision, Inc.
  See COPYING for distribution information.


Hi!

First of all tcpserver needs a *.cdb file, which needs to be created.
I would recommend to use /var/qmail/control/qmail-imapd.rules.
Adopt this file and run "make" in /var/qmail/control/ => the new /var/qmail/control/qmail-imapd.cdb file should be created.

In your imapd-run-script you shoud have something like:
exec tcpserver -v -HRl $ME -x $QMAIL/control/qmail-imapd.cdb \

Manfred

Reply via email to