On 03/21/2015 12:13 PM, nobswolf wrote:
Am 21.03.2015 um 11:47 schrieb Axb:
This didn't work? :
header ALLREADY_MARKED X-SPAM-FLAG =~ /^YES\b/
describe ALLREADY_MARKED wurde schon mal markiert
score ALLREADY_MARKED 3
Nope. Just tried.
I also tried --lint which gave no results. and I checked with vi :set
list for strange chars.
after passing your SA, do these msgs have 2 sets of X-SPAM-* headers?
can you post such a header section?
After SA there is the original one left in the message which is an
attachment now. And there is the new one with the check-results:
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on nobswolf.info
X-Spam-Flag: YES
X-Spam-Level: *************
X-Spam-Status: Yes, score=13.3 required=5.0 tests=AXB_X_AOL_SEZ_S,BAYES_99,
BAYES_999,BNM,BNM_IP,DKIM_SIGNED,DKIM_VALID,DUMMY,FREEMAIL_FROM,
FREEMAIL_REPLYTO,HTML_IMAGE_ONLY_12,HTML_MESSAGE,HTML_SHORT_LINK_IMG_1,
OBFU_TEXT_ATTACH,RCVD_IN_DNSWL_NONE,T_REMOTE_IMAGE,URIBL_BLOCKED
autolearn=no
version=3.3.2
(The line-wrapping in the original header is ok.)
If you can live without the "attached" original msg add to local.cf
report_safe 0
as per:
report_safe ( 0 | 1 | 2 ) (default: 1)
if this option is set to 1, if an incoming message is tagged as
spam, instead of modifying the original message, SpamAssassin will
create a new report message and attach the original message as a
message/rfc822 MIME part (ensuring the original message is
completely preserved, not easily opened, and easier to recover).
If this option is set to 2, then original messages will be attached
with a content type of text/plain instead of message/rfc822. This
setting may be required for safety reasons on certain broken mail
clients that automatically load attachments without any action by
the user. This setting may also make it somewhat more difficult to
extract or view the original message.
If this option is set to 0, incoming spam is only modified by adding
some "X-Spam-" headers and no changes will be made to the body. In
addition, a header named X-Spam-Report will be added to spam. You
can use the remove_header option to remove that header after setting
report_safe to 0.
See report_safe_copy_headers if you want to copy headers from the
original mail into tagged messages.