On Mon, Sep 26, 2005 at 03:04:09PM -0400, Edward Chase wrote:
> I'm having issues with my users blowing their storage quotas while checking
> their mail.
>
> Consider this...
>
> User is at storage limit.
> User checks mail.
> /var/mail/user gets copied to /var/spool/poptemp/.user.pop
> New mail comes into /var/mail/user
> System cannot combine the 2 files back because it exceeds storage limit for
> user.
>
> Obviously user is leaving mail behind on server...
>
> I haven't figured out a way around this.
>
> Anyone run into this and figure out a way around it?
Yes, common known issue which admins have been batting around for
years, with no entirely satisfactory solution.
Do you currently have /var/spool/poptemp on the same file system as
/var/mail? That exacerbates it.
Generally AFAIK the best you can do is:
* Run qpopper in server mode which optimizes away some spool copy
operations;
* Put /var/spool/poptemp on a separate FS;
* Keep hard quota set to at least 2x soft quota (so that they can
briefly spike to 2x the normal quota;
* Set up a separate script which runs nightly and informs the users
they are near to going over their (soft) quota, and to clean up
their act!
-- Clifton
--
Clifton Royston -- [EMAIL PROTECTED]
Tiki Technologies Lead Programmer/Software Architect
"My own personal theory is that this is the very dawn of the world.
We're hardly more than an eyeblink away from the fall of Troy, and
scarcely an interglaciation removed from the Altamira cave painters. We
live in extremely interesting ancient times.
I like this idea. It encourages us to be earnest and ingenious and
brave, as befits ancestral peoples; but keeps us from deciding that
because we don't know all the answers, they must be unknowable and thus
unprofitable to pursue." -- Teresa Nielsen Hayden, 1995