Next: SQL Quotas, Up: Mailbox Quotas
To use the dbm quota database, your copy of mailutils must
be compiled with dbm support (one of --with-gdbm,
--with-db2, --with-ndbm, --with-dbm options
to configure). Examine the of
mail.local --show-config-options if not sure.
The quota database should have the following structure:
A special value ‘NONE’ means no mailbox size limitation for this user.
Here is an example of a valid quota database
# Default quota value:
DEFAULT 5mb
# Following users have unlimited mailbox size
root NONE
smith NONE
# Rest of users
plog 26214400
karin 10mB
To use the dbm database, specify its full name using -q
or ‘--quota-db’ in the invocation of mail.local. For
example, in sendmail .mc file:
define(`LOCAL_MAILER_PATH', `/usr/local/libexec/mail.local')
define(`LOCAL_MAILER_ARGS', `mail -q /etc/mail/quota.db $u')