Why dspam always exit with 0?
# /usr/bin/dspam --user [EMAIL PROTECTED] \ --class=spam --source=error \ --signature=7963,45a7871421723144703373 Signature retrieval for '7963,45a7871421723144703373' failed Unable to find a valid signature. Aborting. process_message returned error -5. dropping message. # echo $? 0 we need use some magic like: # /usr/bin/dspam --user [EMAIL PROTECTED] \ --class=spam --source=error \ --signature=7963,45a7871421723144703373 |grep "dspam_stats: " # echo $? 1 :)
