atom feed17 messages in net.sourceforge.lists.courier-usersRe: [courier-users] mailfilter disk q...
FromSent OnAttachments
Chris MeadorsJan 18, 2001 7:21 am 
Chris MeadorsJan 18, 2001 7:46 am 
John WatsonJan 18, 2001 7:53 am 
Chris MeadorsJan 18, 2001 8:39 am 
Patrick PriceJan 18, 2001 11:07 am 
John WatsonJan 18, 2001 11:33 am 
Chris MeadorsJan 18, 2001 11:52 am 
Patrick PriceJan 18, 2001 12:28 pm 
Patrick PriceJan 18, 2001 12:52 pm 
John WatsonJan 18, 2001 1:37 pm 
Sam VarshavchikJan 18, 2001 2:43 pm 
Sam VarshavchikJan 18, 2001 2:44 pm 
John WatsonJan 18, 2001 3:08 pm 
Sam VarshavchikJan 18, 2001 3:36 pm 
John WatsonJan 18, 2001 3:57 pm 
Sam VarshavchikJan 18, 2001 5:03 pm 
Chris MeadorsJan 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