add_userdb_quota for dovecot quotas

Version 1.431


Ability to have DA add quotas to the file: /etc/virtual/ so that the dovecot quota plugin can use it to limit quotas within imap. Without this option, quotas are only enforced by exim on the inbox for incoming emails. A sample line from a passwd file with this option would look like: fred:$1$SdbJQZ6r$R5FmKrayU3FvPksLTd.7X0:501:12::/home/username/imap/*:bytes=50M To enable DA to add the quota options, add: add_userdb_quota=1 to your directadmin.conf, and restart DA. The internal default is 0. After turning on the option, to convert all existing file to use the extra format, use one of these new task.queue command: echo "action=rewrite&value=email_passwd" >> /usr/local/directadmin/data/task.queue echo "action=rewrite&value=email_passwd&user=fred" >> /usr/local/directadmin/data/task.queue Dovecot how-to portion of using these changes: Related to enable quota display for dovecot/imap: ---------- Related forum request:

Interested to try DirectAdmin? Get a 30-day Free Trial!