MailScanner and Quota

Matt Hampton matt at coders.co.uk
Fri Mar 10 07:23:39 GMT 2006


Azher Amin wrote:
> Disk space for my users (i.e. home dirs) are well managed thru linux
> quota, however the emails once processed by MailScanner go into
> /var/spool/mail/<users>. Most of the users (above 600) are not cleaning
> up their inbox i.e. /var/spool/mail/<users>, and thus i am always
> getting in the problem of reduced disk space. Is their any piece of code
> that (with the help of sendmail or MailScanner) sum up the home dir size
> and the existing /var/spool/mail/<users> and then respond with an error
> to remote MTA that this user is out of quota, otherwise accept the email.

Why not move the mailbox into the home directory?

http://www.yapd.net/howto.php?HOWTO=2

matt


More information about the MailScanner mailing list