MailScanner and Quota

Dave Strydom strydom.dave at gmail.com
Fri Mar 10 09:55:02 GMT 2006


mv /var/spool/mail /home/
ln -sf /home/mail /var/spool/mail


On 3/10/06, Matt Hampton <matt at coders.co.uk> wrote:
> 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
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>


More information about the MailScanner mailing list