>> >  > > 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

Why are you trying to invent the wheel?

Qmail-LDAP provides daemontools run scripts.

Your script does not use /var/qmail/control/qmail-imapd.rules and
/var/qmail/control/qmail-imapd.cdb. qmail-imapd.rules is used to build
qmail-imapd.cdb. qmail-imapd.cdb is loaded in tcpserver call with -x
option.

Since you are running courier packaged by your OS packager - make sure
that standard courier startup scripts are not active.

netstat -anp | grep 143

If IMAP port is used by couriertcpd and not by tcpserver, your daemontools
IMAP logs should be filled with 'unable to bind' errors.

-- 
Tomas

Reply via email to