quota and sendmail accepts <10k mail size

Mikhail Goriachev mikhailg at webanoide.org
Thu Jul 10 14:39:19 UTC 2008


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