On Thu, 2007-05-17 at 23:38 +0200, Ralf Hildebrandt wrote: > This works really well, UNLESS a user exceeds his/her quota: In that > particular case, deliver fails to deliver the mail and generates a > bounce, all on it's own. > > It's exit status is 0 in that case, so my MTA (postfix) thinks that the > mail has been delivered successfully. > > I'd prefer deliver to return EX_TEMPFAIL, which I can pass through > maildrop back to postfix, which will then log a temporary error and > will bounce the mail all by itself after 5 days time.
CVS HEAD has a new quota_full_tempmail setting for this. But since you probably don't want to use CVS HEAD, your only choice is to modify the sources: src/deliver/deliver.c line 708-709: if (temporary_error) return EX_TEMPFAIL; Change that to simply: return EX_TEMPFAIL;
signature.asc
Description: This is a digitally signed message part