From owner-freebsd-questions Sat Nov 6 12:10:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [207.249.162.252]) by hub.freebsd.org (Postfix) with ESMTP id 574FE14DBF for ; Sat, 6 Nov 1999 12:10:51 -0800 (PST) (envelope-from ales@megared.net.mx) Received: from ales (pix.megared.net.mx [207.249.162.253] (may be forged)) by unix.megared.net.mx (8.9.3/8.9.3) with SMTP id OAA95084; Sat, 6 Nov 1999 14:10:43 -0600 (CST) (envelope-from ales@megared.net.mx) Message-ID: <014d01bf2892$d66a7320$8061fea9@megared.net.mx> Reply-To: "Alejandro Ramirez" From: "Alejandro Ramirez" To: "Bill Sandiford" , References: <001f01bf288c$ec736060$03a06bcf@interlinks.net> Subject: RE: help with quotas and sendmail and procmail Date: Sat, 6 Nov 1999 14:09:31 -0600 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, This page will tell you how to do it: http://freebsd.peon.net/cgi-bin/tutorials.html.cgi?file=8 Have Fun... Ales ----- Original Message ----- From: Bill Sandiford To: Sent: Saturday, November 06, 1999 1:27 PM Subject: help with quotas and sendmail and procmail > Help : > > I am trying to install quotas on my FreeBSD mail server so that my users > can't have a mail file greater then 5 megs. I have set up quotas on my > system and I am postive that they are working on the /var drive. My problem > is that since mail processing daemons (etc) are run by priveledged users, > they will write to the mail file and exceed the quota. I read in one of the > faqs on sendmail.org that if i use procmail i should be ok because procmail > observers quotas. It tells me to look at the Mlocal line in my sendmail.cf > which looks like this : > > Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qrmn9, S=10/30, > R=20/40 > T=DNS/RFC822/X-Unix, > A=mail -d $u > > Obviously, there is no procmail in there so i have changed the line to this > : > > Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5:/|@qrmn9, S=10/30, > R=20/40 > T=DNS/RFC822/X-Unix, > A=/usr/local/bin/procmail -d $u > > But it still doesn't work, the quotas still get exceeded. I'll be the first > to admit that I am no genius when it comes to sendmail or procmail...in > fact, i hadn't even heard of procmail until today. If anyone knows what can > be done to fix this it would be greatly appreciated. > > Thanks > Bill > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message