procmail
[Top] [All Lists]

Re: Error Message

1998-06-16 05:29:16
"Vinh NGO" <vninfo(_at_)ca(_dot_)com(_dot_)au> writes:
Having configured sendmail 8.9.0 and procmail-3.11pre7 on my BSDI
system.

I want mail deliver to /var/mail/$USER
I have quota on for $USER
This works fine, but I want to cutomise the error message, so that
it will notify the sender gracefully.

ie: Error: Receipient mail box is full, please try later etc...

Since procmail doesn't generate the bounce message, and sendmail
doesn't know when someone hits their quota, probably the only efficient
way to do this would be to hack procmail to return a different exit
code in this case, and then hack sendmail to recognize this and treat
it like EX_CANTCREAT except for the contents of the bounce message.


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>