It seems, at least from here, that -d doesn't remove markup. I run:
spamassassin -d <testspam.mail
and what's given back is exactly the mail put into it. man spamassassin says that this should remove any spamassassin markup and return the message to it's almost org. state.
....
 spamassassin -d [ < mailmessage | path ... ]
....
-d, --remove-markup
Remove SpamAssassin markup (the "SpamAssassin results" report,
X-Spam-Status headers, etc.) from the mail message.  The resulting
message, which will be more or less identical to the original, pre-
SpamAssassin input, will be output to STDOUT.

(Note: the message will not be exactly identical; some headers will
be reformatted due to some features of the Mail::Internet package,
but the body text will be.)

version:
SpamAssassin version 3.0.4
running on Perl version 5.8.0

lint is clean
I use spamd for scanning.
top of Local CF (below is the db stuff and some rbls):

required_hits                6
rbl_timeout                  10
rewrite_header Subject [Spam Software Has Detected This As Spam-Hits:_HITS_ Req:_REQD_]
fold_headers                 1
report_contact               [EMAIL PROTECTED]
skip_rbl_checks              0
report_safe                  1
dns_available                yes
use_razor2                   1
use_pyzor                    0
use_dcc                      1
add_header all Status _YESNO_, hits=_HITS_ required=_REQD_ version=_VERSION_
add_header                   all        Report      _REPORT_
add_header                   all        RBLReport   _RBL_

If you need the mail in question, that is not a problem. I didn't include it because this is typical with all the one's I've tested.
--
Thanks,
James

Reply via email to