You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by J Davis <jd...@lri.sjhc.london.on.ca> on 2004/06/11 15:34:05 UTC

avoid sanitizing spam...

Greetings...

I invoke several set of recipes from my .procmailrc:

<snip>

### check for spam, white_list, black_list...
### also calls clamassassin to check for virii...
LOGFILE=$PMDIR/spamc.log
INCLUDERC=$PMDIR/procmailrc.spamc

LOGFILE=$PMDIR/procmail.log
### hopefully redundant check for any virii that made it through
INCLUDERC=$PMDIR/procmailrc.local-rules

### let html-trap defang, quarantine, etc. (the Sanitizer)
LOGFILE=$PMDIR/procmail.log
INCLUDERC=$PMDIR/html-trap.procmail

<snip>

How can I avoid running the sanitizer on messages tagged as spam by
spamc? Probably something like making the html-trap include
conditional:

* ! ^X-Spam-Status: Yes

Am I on the right track here?

Thanks!

-- 
Regards,  J.

flying:   Zenair STOL CH701/582 C-IGGY , > 240 hrs.
building: Sonex #325, engine probably Jabiru 3300/6/120hp

*------------------------------------------------------------*
| J. Davis, M.Sc. (comp_sci)  | UNIX consultant              |
| SysMgr, research programmer | email: jd@uwo.ca             |
| Lawson Health Research Inst.| voice: (519) 646 6100 x64166 |
| London, Ontario             | fax:   (519) 646 6399        |
| Canada                      | lriweb.sjhc.london.on.ca/~jd |
*------------------------------------------------------------*


If you spend any time administering Windows NT, you're far too
familiar with the Blue Screen of Death (BSOD) ...
                            - "MSDN Flash" email newsletter