MailScanner and Quota

Joey Esquibal jaesquibal at meridiantelekoms.com
Fri Mar 10 10:02:36 GMT 2006


Put your spool mails inside each user's homedir by using procmail. 
Implications would be you will need to recompile your POP3 server to locate 
the spool mails in user's homedir.

Regards,

Joey

----- Original Message ----- 
From: "Dave Strydom" <strydom.dave at gmail.com>
To: "MailScanner discussion" <mailscanner at lists.mailscanner.info>
Sent: Friday, March 10, 2006 5:55 PM
Subject: Re: MailScanner and Quota


> 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!
>>
> -- 
> 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