Angel L. Mateo
2012-Aug-20 08:38 UTC
[Dovecot] enabling per user quota plugin and problems with pop3
Hello, I am configuring quota plugin per user, not for the whole system. As documentation says (http://wiki2.dovecot.org/Quota), I have to add "quota" to the global mail_plugins and "imap_quota" to mail_plugins for protocol imap, but I don't know how to configure this in a userdb. I'm using a passwd-file in the way: <user>:{plain}password:<uid>:<gid>::<home>::userdb_mail_plugins=quota,imap_quota but this activate both plugins in the global mail_plugins option. The problem with this is that if the user tries to connect via pop3 instead of imap (a thing that I permit, although the user shouldn't do it) I have the error: Aug 20 10:04:18 myotis30 dovecot: pop3: Error: dlopen(/usr/lib/dovecot/modules/lib11_imap_quota_plugin.so) failed: /usr/lib/dovecot/modules/lib11_imap_quota_plugin.so: undefined symbol: client_send_tagline is there any way to solve this problem? -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 868888337
Angel L. Mateo
2012-Aug-20 10:56 UTC
[Dovecot] enabling per user quota plugin and problems with pop3
Hi again, Another problem I'm having with this is that quota (maildirsize) is not updated when mail is delivered. According to http://wiki2.dovecot.org/Quota/Configuration#Per-user_quota I must be sure that dovecot-lda is run with -d option, but in my configuration I'm receiving mail via lmtp and (I think) dovecot-lda is not running at all. So the problem (I think) is that quota plugin is not used in the lmtp process. Is there any way to configure that lmtp processes use the mail_plugins in the userdb database? -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 868888337