On Sun, 13 Apr 1997 20:42:45 -0500, Philip Guenther wrote:
: revjack(_at_)Radix(_dot_)Net (revjack(_at_)radix(_dot_)net) writes:
: ...
: >I am operating under UNIX System V Release 4.0. I use the .forward
: >mechanism with this line:
: >
: >"|/usr/local/bin/procmail -Yf- || exit 75 #revjack"
: ...
: >Does anyone on this list successfully use the EXITCODE approach to
: >basically pretend that the mail is undeliverable?
:
:
: You want procmail to return $EXITCODE to sendmail, but your .forward
: file entry is setup to have the shell catch the non-zero status code
: and just return 75. Solution: remove the "|| exit 75" part of the
: .forward entry. You only really need that if your procmail binary
: is on a NFS mounted filesystem.
Philip wins! This solved the problem, THANK YOU. Yields an interesting
daemon notice to the sender:
----- The following addresses had permanent fatal errors -----
"|/usr/local/bin/procmail -Yf-"
(expanded from: <revjack(_at_)saltmine(_dot_)radix(_dot_)net>)
----- Transcript of session follows -----
550 "|/usr/local/bin/procmail -Yf-"... User unknown
I think this will get the message across just dandy.
What do you want for your birthday, Phil?
_________________
revjack(_at_)radix(_dot_)net