setting quota through IMAP
troeder at univention.de
Fri Jun 19 18:58:57 UTC 2015
Am 19.06.2015 um 16:16 schrieb Steffen Kaiser:
> On Fri, 19 Jun 2015, Daniel Tröder wrote:
>> I'd like to set the quota of a user through the IMAP protocol. I use
>> Pythons imaplib:
>> imap.setquota("test1m at uni.dtr", "(storage 8192)")
>> ('NO', ['Quota can be changed only by admin.'])
>> So... which user is the "admin" user in a virtual user setting (passwd:
>> PAM, userdb: LDAP)?
> You can't. Use a LDAP-Library to change the values in the UserDB
> directly, not via IMAP.
Sure - I do anyway - this was just for a test-case I was writing.
I'm curious though: in which scenario / IMAP-server does this work?
Maybe in a setting with a root (uid=0) email user? Or with Cyrus (which
has a admin user)?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the dovecot