I've actually been thinking about this, too. I'm planning on writing
a perl script which will check quota before delivering and bounce the
mail with a message if hard quota is exceeded. If soft quotas are
exceeded, I'd just send a warning message to the person who is about
to exceed quota. Of course, I'd have to make sure that I don't send
that message repeatedly. I haven't gotten around to writing this yet,
but it's in the works. If you end up writing something along these
lines, I'd love to have a copy of it (and I'll try to pass along
whatever I learn if I get a chance to write one myself).
John
On Thu, Jan 18, 2001 at 02:07:59PM -0500, Patrick Price wrote:
We have several users who are constantly going over disk quotas because
they are not picking up their email.
Right now I have around 400 msgs in the Courier message queue because of
these.
Is there a way to set up a .mailfilter or another mechanism to bounce
emails for that user, responding to the sender that they are over quota,
rather than waiting for my queue to time out?
I suppose this would need execution of an external program to check their
quota... but beyond handling that I could use some pointers.
Thanks,