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
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.
I don't think an external program should be needed to check the disk quota
at all. When trying to write a file owned by a user that is at their
quota limit the write should return -EDQUOTA. Courier should just check
for that error, and generate a bounce accordingly. More than likely the
file that was being written will just be truncated so it should be
Two penguins were walking on an iceberg. The first penguin said to the
second, "you look like you are wearing a tuxedo." The second penguin
said, "I might be..." --David Lynch, Twin Peaks