Date: Wed, 27 Feb 2008 12:49:18 -0600 From: Derek Ragona <derek@computinginnovations.com> To: Ofloo <nospam@ofloo.net>, freebsd-questions@freebsd.org Subject: Re: Freebsd quota & sendmail Message-ID: <6.0.0.22.2.20080227124517.0245bf18@mail.computinginnovations.com> In-Reply-To: <15719728.post@talk.nabble.com> References: <15719728.post@talk.nabble.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.0.0.22.2.20080227124517.0245bf18>