procmail
[Top] [All Lists]

Re: Bouncing/refusing mail with EXITCODE

1997-04-16 05:51:00
On Sun, 13 Apr 1997, Philip Guenther wrote:

"|/usr/local/bin/procmail -Yf- || exit 75 #revjack"

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.

Is there a "fix" for NFS partitions (something I can code into .forward or a
script it can run) that will allow using EXITCODE that won't be returned as
75 always?

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