Spamassassin nur Betreffzeile ändern ...

mipo

Member
Hallo zusammen,

kann man die Plesk Spamassassin Konfiguration so anpassen, dass nur die Betreffzeile mit "****SPAM****" getaggt aber der eigentliche Body einer eMail nicht verändert wird?

Bisher wird die Originalnachricht als Anlage an die Mail gehängt.

Ferner fiel mir auf, dass einzelne eMail trotz "deaktivierung" der Spamprüfung des eMail-Postfaches getaggt werden. Kann doch wohl nicht sein, dass ich einzelne Postfächer nicht generell aus der Spamprüfung herausnehmen kann.

Für RBL Checks nutze ich Spamdyke mit Haggy's SCP ... Gibt es hier vielleicht "Seiteneffekte" zwischen Spamdyke und Spamassassin?

vG Michael
 
/etc/mail/spamassassin/local.cf

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.
 
Back
Top