Hi all,
I've configured a courier-imap 4.4.0-2 server with mysql support +
Postfix-2.5.5 (+VDA patch) + courier-authlib 0.61.0-1+lenny1
I need to make quotas working on my Debian Lenny x86_64 distrib.
Concerning postfix --> no problems, when I reach the quota limit, it
warns.
But concerning Courier-IMAP, I use roundcube and squirrelmail webmail that uses
the imap
command GETQUOTAROOT INBOX but it returns everytime nothing.
According the imap rfc2087, I should have something like that:
Example:
A003 GETQUOTAROOT INBOX
* QUOTAROOT INBOX ""
* QUOTA "" (STORAGE 10 512)
A003 OK Getquota completed
But I obtain every time that:
QUOT1 GETQUOTAROOT "INBOX"
* QUOTAROOT "INBOX" "ROOT"
* QUOTA "ROOT"
QUOT1 OK GETQUOTAROOT Ok.concerning my courier-imap configuration, I've
# cat /etc/courier/authmysqlrc | grep QUOTA##NAME: MYSQL_QUOTA_FIELD:0# Define
MYSQL_QUOTA_FIELD to be the name of the field that can
optionallyMYSQL_QUOTA_FIELD quota#MYSQL_QUOTA_FIELD concat(quota,'S') #-->
Change in mysql log the query, but not the result 596 Query
SELECT username, password, "", '1001', '1001', '/var/mail/virtual/', maildir,
concat(quota,'S'), name, "" FROM mailbox WHERE username = '[email protected]'
605 Query SELECT username, password, "", '1001', '1001',
'/var/mail/virtual/', maildir, quota, name, "" FROM mailbox WHERE username =
'[email protected]'concerning my courier-imap capability, I've
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright
1998-2008 Double Precision, Inc. See COPYING for distribution information.
and according authtest, I've something like that
[root@... www]# authtest [email protected] succeeded.
Authenticated: [email protected] (uid 1001, gid 1001) Home Directory:
/var/mail/virtual/ Maildir: myhost.com/[email protected]/
Quota: 2097152 #--> Which is exactly what I should have as a result of (
2Mo )
Encrypted Password: $1$190b4d59$TocWPHqN/iCLdVI8y6BMD.Cleartext Password:
(none) Options: (none)
What's wrong ?
Thanks in advance for any kind of help.
Cheers.
Sebastien------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap