| From | Sent On | Attachments |
|---|---|---|
| Chris Meadors | Jan 18, 2001 7:21 am | |
| Chris Meadors | Jan 18, 2001 7:46 am | |
| John Watson | Jan 18, 2001 7:53 am | |
| Chris Meadors | Jan 18, 2001 8:39 am | |
| Patrick Price | Jan 18, 2001 11:07 am | |
| John Watson | Jan 18, 2001 11:33 am | |
| Chris Meadors | Jan 18, 2001 11:52 am | |
| Patrick Price | Jan 18, 2001 12:28 pm | |
| Patrick Price | Jan 18, 2001 12:52 pm | |
| John Watson | Jan 18, 2001 1:37 pm | |
| Sam Varshavchik | Jan 18, 2001 2:43 pm | |
| Sam Varshavchik | Jan 18, 2001 2:44 pm | |
| John Watson | Jan 18, 2001 3:08 pm | |
| Sam Varshavchik | Jan 18, 2001 3:36 pm | |
| John Watson | Jan 18, 2001 3:57 pm | |
| Sam Varshavchik | Jan 18, 2001 5:03 pm | |
| Chris Meadors | Jan 19, 2001 5:56 am |
| Subject: | Re: [courier-users] mailfilter disk quota question | |
|---|---|---|
| From: | Chris Meadors (cour...@clubneon.com) | |
| Date: | Jan 18, 2001 11:52:13 am | |
| List: | net.sourceforge.lists.courier-users | |
On Thu, 18 Jan 2001, 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.
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 removed.
-Chris
-- 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





