I'm struggling to understand something in the dot-qmail files. If I want
to run something, and use the error code to determine if the mail should
be delivered, how do I do that?
At the moment, I have a .qmail-test file that contains a call to an RBL
lookup utilityi that returns 100 if it's a blocked IP, and 0 otherwise. It
reads:
|ck4spam
&nospam
The problem is that the mail disappears into the bitbucket regardless of
the errorlevel returned.
What I'd like it to do is run the script, then deliver normally if the
script doesn't return an error. How do I do that?
--
Todd A. Jacobs
Senior Network Consultant