On 10 Jan 2006, at 12:07, Norton, Ian wrote:
> We're using Exim 4.52 with procmail 3.22 with procmail set as
> the MDA. Filesystem quotas are being used to control mailbox
> size, but this is resulting in an undesirable error.
>
> If a user is over quota and procmail has failed to deliver a
> message, the message finally times out of the queue and the
> sender of the original message gets a
>
> "local delivery failed: retry timeout exceeded"
>
> error. This is ok, but it's not very descriptive of the actual
> problem. As a result, it's generating a fair number of support
> queries. Procmail is returning an over quota error back to
> exim, but we don't want to fail the message immediately so the
> return_output transport option doesn't do quite what we want.
>
> Does anyone have a suggestion on how we might get round this
> problem and return the error from the procmail pipe transport
> when the timeout finally hits rather than immediately?
I have no experience in using a separate programme as MDA, but here I
smell delayed bounces rather than SMTP time rejection. If that is the
case I suggest that you form a meaningful error message, perhaps
finding a way to check for the quota from an acl or whatever other
means you find appropriate, and give it back as error response to the
sending MTA.
g