Hello, Is there any directive in Dovecot similar to 'imap_admins' of Cyrus? I plan to migrate from Cyrus to Dovecot. But I need a admin user which is able to obtain information about the quotas of common users. Thank you. -- []'s Thiago Henrique Network Administration Digirati Networks K8 Networks
Thiago Henrique <thiagoh at digirati.com.br> (Do 15 Jul 2010 21:24:28 CEST):> Hello, > > Is there any directive in Dovecot similar to 'imap_admins' of Cyrus? > > I plan to migrate from Cyrus to Dovecot. But I need a admin user > which is able to obtain information about the quotas of common users.Probably you're looking for things related to auth_master or master. passdb passwd-file { master = yes args = /etc/vmail/master-users } Or search the Wiki for AuthDatabase.PasswdFile Best regards from Dresden/Germany Viele Gr??e aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann HS12-RIPE ----------------------------------------- gnupg encrypted messages are welcome - key ID: 48D0359B --------------- gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B - -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20100715/8567e7a1/attachment-0002.bin>
On Thu, 2010-07-15 at 16:24 -0300, Thiago Henrique wrote:> Is there any directive in Dovecot similar to 'imap_admins' of Cyrus?You could create a master user/password that can log in as other users: http://wiki.dovecot.org/Authentication/MasterUsers> I plan to migrate from Cyrus to Dovecot. But I need a admin user > which is able to obtain information about the quotas of common users.With v1.x the only good way is to log in as other users. Or possibly use http://wiki.dovecot.org/PreAuth With v2.0 you can do this really easily: doveadm quota get -A Another possibility is to use dict quota with SQL backend and just do a SELECT from table.
On Thu, 2010-07-15 at 16:24 -0300, Thiago Henrique wrote:> I plan to migrate from Cyrus to Dovecot. But I need a admin user > which is able to obtain information about the quotas of common users.Or did you mean to get other peoples' quota via IMAP protocol? There's kind of a support for this, but not really. If user is marked "admin", then GETQUOTAROOT lists all the users' quotas who have shared mailboxes visible to the the user. But there's currently no way to set a user to become admin without modifying sources.