RE: Freebsd quota sendmail
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Derek Ragona Sent: Wednesday, February 27, 2008 10:49 AM To: Ofloo; freebsd-questions@freebsd.org Subject: Re: Freebsd quota sendmail At 12:29 PM 2/27/2008, Ofloo wrote: I'm putting this under freebsd because there is no forum for sendmail, and it does concern freebsd as well. My problem is this, when i set quota in /var/mail directory to each user and this user creates a cronjob, that doesn't forward all data to /dev/null, and keeps on generating mail, .. Well after a while the mail file reaches it's quota and sendmail isn't allowed to write to that file anymore, so it will start and fill the mailq, .. The point is after a while the whole system will just crash what can I do about it, sorry for rambling. Why are you setting these quotas on /var/mail. These days with disk so cheap, why bother? It depends on how he has his server setup. Suppose he had a 250-employee company where for reasons of data security (remember the courts have ruled e-mail is company documentation and subject to document retention laws) everyone is running IMAP to the mailserver and most of the employees are very lazy about deleting old mail, or downloading attachments they get to local systems (or better yet, NOT using the e-mail system as a file-sharing network, good luck with that) and he has a 200GB hard disk. I can see the desire to limit people to 500-700MB per mailbox. The other thing is with a server, the disk space is usually a lot more expensive because it's raided or mirrored, it's high-speed drives, etc. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Freebsd quota sendmail
I'm putting this under freebsd because there is no forum for sendmail, and it does concern freebsd as well. My problem is this, when i set quota in /var/mail directory to each user and this user creates a cronjob, that doesn't forward all data to /dev/null, and keeps on generating mail, .. Well after a while the mail file reaches it's quota and sendmail isn't allowed to write to that file anymore, so it will start and fill the mailq, .. The point is after a while the whole system will just crash what can I do about it, sorry for rambling. -- View this message in context: http://www.nabble.com/Freebsd-quota---sendmail-tp15719728p15719728.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd quota sendmail
On Feb 27, 2008, at 10:29 AM, Ofloo wrote: I'm putting this under freebsd because there is no forum for sendmail, and it does concern freebsd as well. Well, there's comp.mail.sendmail on Usenet. My problem is this, when i set quota in /var/mail directory to each user and this user creates a cronjob, that doesn't forward all data to /dev/ null, and keeps on generating mail, .. Well after a while the mail file reaches it's quota and sendmail isn't allowed to write to that file anymore, so it will start and fill the mailq, .. What you've described seems to be normal system operation. Solutions include people fixing their cron jobs, having people actually read and delete their emails before they fill their allocated quota, or spending more admin cycles cleaning up when you notice someone getting to this problem condition. I suppose you could also get more disk space for /var... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd quota sendmail
At 12:29 PM 2/27/2008, Ofloo wrote: I'm putting this under freebsd because there is no forum for sendmail, and it does concern freebsd as well. My problem is this, when i set quota in /var/mail directory to each user and this user creates a cronjob, that doesn't forward all data to /dev/null, and keeps on generating mail, .. Well after a while the mail file reaches it's quota and sendmail isn't allowed to write to that file anymore, so it will start and fill the mailq, .. The point is after a while the whole system will just crash what can I do about it, sorry for rambling. Why are you setting these quotas on /var/mail. These days with disk so cheap, why bother? If you are trying to better control sendmail, you should exercise the control there. You can adjust sendmail for maximum message size, number of messages, etc. Or if SPAM is the issue use mailscanner to control how spam is handled. Adding disk quotas outside of sendmail as you found is not a good approach as it will bring the system down. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]