procmail
[Top] [All Lists]

Re: Bouncing/refusing mail with EXITCODE

1997-04-15 23:55:00
"Philip" == Philip Guenther <guenther(_at_)gac(_dot_)edu> writes:

Philip> revjack(_at_)Radix(_dot_)Net (revjack(_at_)radix(_dot_)net) writes: ....
revjack> I am operating under UNIX System V Release 4.0. I use the
revjack> .forward mechanism with this line:
revjack> 
revjack> "|/usr/local/bin/procmail -Yf- || exit 75 #revjack" ....

Philip> non-zero status code and just return 75. Solution: remove the
Philip> "|| exit 75" part of the ..forward entry. You only really need
Philip> that if your procmail binary is on a NFS mounted filesystem.

Or, change the .forward file to:
"| exec /usr/local/bin/procmail -Yf- || exit 75 #revjack"
   ^^^^
If procmail is executed, it will replace the shell, so the exit 75 is
never executed. If the procmail binary cannot be found, the shell will
return exitcode 75.

-- 
Guy Geens <ggeens(_at_)iname(_dot_)com>
Home Page: http://www.elis.rug.ac.be/~ggeens
finger ggeens(_at_)elis(_dot_)rug(_dot_)ac(_dot_)be for PGP public keys (or use 
keyserver)