Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 1995 11:00:01 -0600 (CST)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        boot@mosquito.com (Bruce Bauman)
Cc:        freebsd-isp@freebsd.org, boot@itchy.mosquito.com
Subject:   Re: limiting mailbox size?
Message-ID:  <199511271700.LAA11217@brasil.moneng.mei.com>
In-Reply-To: <199511271558.KAA27423@itchy.mosquito.com> from "Bruce Bauman" at Nov 27, 95 10:58:31 am

next in thread | previous in thread | raw e-mail | index | archive | help
> We are a small ISP running FreeBSD. We run quotas to prevent users from using more disk
> space than their limit, but occasionally we find users with huge mailboxes in /var/mail.
> How do other providers deal with this? Should I just write a perl script that sends mail
> to the user, or sends a mail message when they log in?

Actually, threats work well  :-)  "Users exceeding 5MB in their incoming
mailbox will automatically have their mailbox zeroed".

This is a tough one to deal with.  What do you do?  You can write a local
mailer that checks their mailbox size and refuses to deliver if the mailbox
is too full.  Listservs will interpret the bounce message as an error and
unsubscribe the user.  That pisses people off.  You can write a local mailer
that checks their mailbox size and (if it is too full) gzip's their current
mailbox into their home directory, zeroes the mailbox, and mails them a note
about what happened, why, and how they can read the gzipped mail.  This is
an advantage if you charge by the byte for home directory space.  If you
quota limit home directories, this doesn't buy you anything other than to
move the problem elsewhere.

No clean solutions that I've seen.  :-)

... Joe

-------------------------------------------------------------------------------
Joe Greco - Systems Administrator			      jgreco@ns.sol.net
Solaria Public Access UNIX - Milwaukee, WI			   414/342-4847



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511271700.LAA11217>