procmail
[Top] [All Lists]

ok, I give... sytax for checking external scripts return codes?

1998-06-02 20:54:52
I've checked the man pages, the faq, the tips... and can't seem to grok
this one.

How the heck to you check the return code from a script as a recipe
condition line?

  :0 afhw # reverse mailheader and extract name
  * ? `/home/testme/checkuser.pl $FROM`
  | (formail -rA \ [rest deleted]

the checkuser.pl script will return
1
on success or an error message on error... so what do I do to check that?

tia for the help,

I must be brain dead tonight...

- paul

-------------------Kudosnet Communication Services--------------------
pevad(_at_)kudosnet(_dot_)com                                    
www.kudosnet.com


For value added web hosting and internet commerce sites
http://kudosnet.com/services/

-------------879 View Rd. Qualicum Beach, Canada V9K 1N3--------------


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