Hello! Andres Salomon skrev: > How about something like the attached? This gives a permanent error if > the account is over quota, and temporary error otherwise. I would > consider the case where a disk is out of space a temporary condition (I > know I wouldn't want to have mail lost in that case).
The patch looks good, definitely better than the current situation =) ( # mailq | grep Kbyte -- 21853 Kbytes in 599 Requests. # mailq |grep 'over quota' |wc -l 242 ) > The patch also allows for more precise checks (and errnos) to be done in > the future for delivery. Yes, I agree. I think the patch should be applied, and also sent upstream (it would anyway be nice to know if they have opinions on deferring vs bouncing mails when disk space is low, which is really what this patch is about - it's also good to keep distribution-specific patching to a minimum). Regards, Stefan