: You have to change the logic a bit, using standard dot-qmail mechanisms.
: Check the qmail man page "qmail-command". It tells you about the exit
codes.
:
: cheers.
: eh.
:


        Okay, I've mis-represented my goals...   (and I apologize for
implying that Erwin was the author of the script)    My goal is:


mail comes in with 'banned' extension...

/var/qmail/alias/.qmail-default  (contents below) sends it through
checkattach

| /var/qmail/bin/checksubj
| /var/qmail/bin/checkattach
| fastforward -p -d /etc/aliases.cdb
| forward cyrus-"$LOCAL"@parview.com


checkattatch rejects it printing the reason...

I would like a line in checkattatch to FIRST send a copy to another address
([EMAIL PROTECTED] or such) BEFORE it rejects it...   

Any ideas anyone???   Thanks!!!

        Jesse




Reply via email to