quota and sendmail accepts <10k mail size

lyd mc alydiomc at yahoo.com
Fri Jul 11 00:15:52 UTC 2008


Hi Mikhail,

Thank you for the great suggestion. I will try it in our new server.

Regards,
alyd

--- On Thu, 7/10/08, Mikhail Goriachev <mikhailg at webanoide.org> wrote:
From: Mikhail Goriachev <mikhailg at webanoide.org>
Subject: Re: quota and sendmail accepts <10k mail size
To: alydiomc at yahoo.com, derek at computinginnovations.com, freebsd-questions at freebsd.org
Date: Thursday, July 10, 2008, 10:19 PM

Quoting lyd mc <alydiomc at yahoo.com>:


> However, my company wants to have 20meg mbox space per user. If the  
> User exceeds, he/she should not recieved any mail.
>
> So, I use system quota to prevent sendmail from writing to mbox of a


Let me suggest slightly different approaches:

1.- You could have /usr/ports/mail/mimedefang making the decisions  
instead of sendmail or system quota. There you can set your own rules  
and sendmail will abide them. This gives you far better control and  
you're limited by your own imagination.

2.- Implement a mail server with quota capabilities. For instance  
cyrus-imap. There you can set quota limits, warning messages to users,  
percentages and so on. This is the easiest approach.



Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide


      


More information about the freebsd-questions mailing list