2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] Return status and out...
FromSent OnAttachments
Matt SharpDec 30, 2006 4:46 pm 
Sam VarshavchikDec 30, 2006 7:39 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] Return status and output on disk quota errorsActions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Dec 30, 2006 7:39:08 pm
List:net.sourceforge.lists.courier-maildrop

Matt Sharp writes:

Using maildrop in delivery mode, I would like to be able to output a message if
delivery fails as a result of a lack of disk quota for a user. It would also be
good if I could set the return status given by maildrop in such a case.

Is it possible to do this, and if so, how?

You can use the exception statement to trap delivery errors, and handle them accordingly.

Although you won't know the actual reason a delivery failed, just that it did; but there aren't really that many possibilities.