2 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] How to get EX_NOPERM ...
FromSent OnAttachments
Truong Tan SonMar 11, 2005 8:01 pm 
Sam VarshavchikMar 11, 2005 8:30 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] How to get EX_NOPERM and notify overquota on Maildrop.Actions...
From:Sam Varshavchik (mrs@courier-mta.com)
Date:Mar 11, 2005 8:30:38 pm
List:net.sourceforge.lists.courier-maildrop

Truong Tan Son writes:

Dear Sir,

On Maildrop, when deliver messages exits with code 77 (EX_NOPERM) that is overquota. By this event, we can customize to forward, bounce, or return it to sender and attaches quotawarnmsg. Default, we must set it on /etc/maildroprc. Could you please help me how to trap that event, to notify senders about overquota of recipient.

You can use $? to check maildrop's exit code, and then run a script that generates a notification.

However, if you do that, expect to be widely blacklisted on the Internet, for generating backscatter bounces.