6. How do hard quota's for users work?
When mail is delivered to a virtual domain, vdelivermail
will deliver it to the pop users directory. vdelivermail
will enter the users Maildir and add up the sizes of all
the files in these directories. If the size is greater
than the HARD_QUOTA limit. The email is bounced back to
the sender.
use the configuration option --enable-hardquota=size-in-bytes
to change the size of the hard quota per user.
Set Service Limit on Virtual Domains If you want to set per domain limits on
the number of:
a) pop accounts
b) aliases
c) forwards
d) mailing lists
e) autoresponders
Then create a .qmailadmin-limits file in the virtual domain directory for
the domain you wish to limit. The syntax of the .qmailadmin-limits file is
below:
# cd /home/vpopmail/domains/domain.org
# pico -w .qmailadmin-limits
maxpopaccounts #
maxaliases #
maxforwards #
maxmailinglists #
maxautoresponders #
Where # is the maximum number you wish. Be sure the vpopmail user has read
permissions to this file. The default is unlimited. If you set any of the
above values to 0 it will effectually disable that part of the menu and that
feature.
-----Original Message-----
From: Raymond Orchison [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 19, 2001 8:24 AM
To: Peter van Dijk; [EMAIL PROTECTED]
Subject: Re: Max message size
> > How do I stop mail from been sent and received over a certain size? I
want
> > the mail to fail and to send a message to the sending stateing that the
> > message is too big.
>
> echo 1048576 > /var/qmail/control/databytes
Thanks, i guess this sets it on a global basis. My next question, how do i
set a limit on a per user and on a per domain using vpopmail?
Thank you
Raymond