Date: Thu, 21 Sep 2000 09:24:53 -0500 From: "Alejandro Ramirez" <ales@megacable.com.mx> To: <questions@FreeBSD.ORG>, "Chris Aitken" <chris@ideal.net.au> Subject: Re: Quotas with Sendmail Message-ID: <00c501c023d7$b5a1e240$02c134c8@megared.net.mx> References: <20000920221721.51EFC37B422@hub.freebsd.org> <20000920221721.51EFC37B422@hub.freebsd.org> <4.3.2.7.2.20000921091215.01f14e88@mail.ideal.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <chris@ideal.net.au>
To: <questions@FreeBSD.ORG>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00c501c023d7$b5a1e240$02c134c8>
