Thanks to this list, I have my global procmailrc file recipes pretty-well
trapping the tagged spam via SpamAssassin. For the spam, I'm using two
separate conditions, when it dawned on me that they could be combined by
testing for the first condition and then looking for the second. I depend
on the first condition for 99% of the spam diverted to the $SPAM folder.
Here is how the recipes look now:
<snip of variables>
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "spam". NOTE: Remove Lock colon if /dev/null is used.
* ^X-Spam-Status: Yes
## Use this to catch any missed above for ? reason
* ^Subject:[ ]\[SPAM Content]
My question is how can I do this:
condition 1: Test to see if X-Spam-Status is Yes or No
- if Yes, then send to $SPAM
- if No, then test for condition 2
condition 2: Test for Subject:[ ]\[SPAM Content]
- if match found, send to $SPAM
- if no match, send to DEFAULT
Thanks for any additional help....
Jack L. Stone,
procmail mailing list