Re: retrieving quotas in one single protocol command

2005-08-14 Thread Ken Murchison

Claudio Saavedra wrote:

Hi

I'm writing part of a program that would generate a report of users
overquota in imap cyrus servers through sockets and using the protocol
specification (RFC2087).

The problem is that using a single command for each mailbox is too slow,
for instance, when connecting to a remote server every GETQUOTA
execution takes about 0.1 s. due to the connection delay and when its
needed to get the quota of 6000 mailboxes would be needed about 10
minutes to generate the report.

In contrast, when executing one single command like LIST to retrieve the
complete list of mailboxes, that delay of 0.1 s. it is not a problem.

Therefore, i wonder, exists some way to retrieve all the quotas of every
single mailbox, with just one command execution?


Nope, not unless you extend the GETQUOTA command to take a wildcard.

Have you tried pipelining the GETQUOTA commands so that you reduce the 
number of roundtrips?


--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html


Re: cyrus and APOP

2005-08-14 Thread Ken Murchison

Derek Yarnell wrote:

I am currenly using an application that can only talk APOP and need to 
authenticate it to my cyrus install.


Now a regular pop login is working, but APOP is not working. I am getting,

Aug 12 14:52:52 cyrus pop3[18626]: badlogin: homsar.umiacs.umd.edu 
[128.8.120.251] APOP ([EMAIL PROTECTED]) 
SASL(-13): user not found: could not find password


It is never getting to the saslauthd process when I debug it.


saslauthd is only used for plaintext logins (IMAP LOGIN, POP3 USER/PASS, 
 SASL PLAIN).  You need to have passwords in sasldb in order to use 
APOP or any of the non-plaintext SASL mechanisms.



--
Kenneth Murchison Oceana Matrix Ltd.
Software Engineer 21 Princeton Place
716-662-8973 x26  Orchard Park, NY 14127
--PGP Public Key--http://www.oceana.com/~ken/ksm.pgp

Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html