----- Original Message -----
From: "Chris Szilagyi" <[EMAIL PROTECTED]>
To: "Subscribers of Qpopper" <[EMAIL PROTECTED]>
Sent: Tuesday, September 23, 2003 10:52 AM
Subject: .lock files and quotas
> Hello,
>
> I've got an issue with Qpopper 3.1.2, on Red Hat 7.1 (with sendmail and
> procmail). Basically, I have a problem whereby I'd like to tell Qpopper
> where to place the <user>.lock files. It seems the default is /var/mail/
and
> I'm having issues with user quotas, and would like to have it put the
.lock
> files in a location like /var/lock/mail or something other than in the
spool
> dir. I've read older posts that says this can be done but I haven't seen
> anything in the Qpopper 3.1.2 documentation on this. Can somebody please
> tell me how this can be done?? Thanks for all feedback...
I'm not sure about 3.x, since we upgraded to 4.0 LONG AGO. However, in 4.0,
we stash temporary files in /tmp/.spool (which we protected from deletion
during startup.) I instituted quotas on /var, with a hard limit expiration
time of 60 seconds, which should be the absolute longest time it should take
for a respool of the mail with our quota settings.
When a user POP's his/her email, the mailfile is spooled out to /tmp/.spool,
which resets the /var quota. When the session terminates, it spools back to
/var/mail. Worked smooth as glass for the last eight months.
I run Solaris on a multitude of servers with QPopper. This year I finally
decoded the whole quota thingie. It seems that a hard limit in Solaris
isn't anything more than a suggestion. The default expiration time is one
week, and during this time users were easily building up 100MB+ mailfiles,
even under quota. The hard limit didn't stop anything until the expiration,
which was quite irritating to discover.
The usual understanding of quotas is the soft-limit can be exceeded until
expiration, but the hard-limit is just that: a HARD limit. Nope, not for
Solaris UFS... unless I'm a complete nitwit and have misunderstood quotas
all this time. :)
--
Alan W. Rateliff, II : RATELIFF.NET
Independent Technology Consultant : [EMAIL PROTECTED]
(Office) 850/350-0260 : (Mobile) 850/559-0100
-------------------------------------------------------------
[System Administration][IT Consulting][Computer Sales/Repair]