From owner-freebsd-questions Thu Sep 21 7:25:19 2000 Delivered-To: freebsd-questions@freebsd.org Received: from unix.megared.net.mx (megamail.megared.com.mx [200.52.207.52]) by hub.freebsd.org (Postfix) with ESMTP id 34BD637B424 for ; Thu, 21 Sep 2000 07:25:14 -0700 (PDT) Received: from ales (ales.corp.megared.net.mx [200.52.193.2]) by unix.megared.net.mx (8.11.0/8.11.0) with SMTP id e8LEN7p61712; Thu, 21 Sep 2000 09:23:07 -0500 (CDT) (envelope-from ales@megacable.com.mx) Message-ID: <00c501c023d7$b5a1e240$02c134c8@megared.net.mx> From: "Alejandro Ramirez" To: , "Chris Aitken" References: <20000920221721.51EFC37B422@hub.freebsd.org> <20000920221721.51EFC37B422@hub.freebsd.org> <4.3.2.7.2.20000921091215.01f14e88@mail.ideal.net.au> Subject: Re: Quotas with Sendmail Date: Thu, 21 Sep 2000 09:24:53 -0500 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Chris, Just install procmail, it respects users quotas in /var/mail, its in the ports /usr/ports/mail/procmail. Then add this line to the sendmail.mc file: FEATURE(local_procmail) And remove this line: MAILER(local)dnl Compile your mc file into a cf file and install it in /etc/mail if you are using sendmail 8.11.0, or in /etc if you are using 8.9.3, then just "killall -HUP sendmail" should take care of applying the changes. Have Fun... Ales ----- Original Message ----- From: "Chris Aitken" To: Sent: Wednesday, September 20, 2000 6:30 PM Subject: Quotas with Sendmail > Hi all, > > Im just implimenting quotas onto a FreeBSD 3.4-STABLE box, and have come up > against a bit of a conundrum. > > I want to have 2 parts set for quotas. Their user directory, and their mail > file. I have the user directory working just fine and when I try to put > files into it, it denies any over the quota..... > > but /var/mail is the one giving me grief. The quota knows its over (example > below) but mail just keeps getting shoved into the email box, and > increasing the already over quota quota. > > /var/mail 360* 50 100 7days 1 0 0 > > I have a feeling there has to be some other config done with sendmail, > possibly with permissions, but I havent been able to find any info about > what needs to be done to get sendmail to reject messages of the user is > over quota. > > > Any info where I should look to find the answer will be much appreciated. > > > Cheers > > > Chris > -- > Chris Aitken - Webmaster/Database Designer - IDEAL Internet > email: chris@ideal.net.au phone: +61 2 4628 8888 fax: +61 2 4628 8890 > -------------------------------------------- > > Unix -- because a computer's a terrible thing to waste! > > > > 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