I spent some time trying to figure this one out and thought I'd share:
Have you ever wished you could change the annoying, long message at the top of your emails?
It's actually easier than you think!Spam detection software, running on the system "your.host.com", has...
First, go read my post here:
Tip: SpamAssassin Config Files
I'll wait...
Back? Good. Here we go:
Important: You may have to adjust your file paths depending on your system.
If we open up /usr/local/share/spamassassin/10_misc.cf
Inside, you will find:
DO NOT MODIFY THIS FILE!!!Code:# Default template. Try to keep it under 78 columns (inside the the dots below). # ........................................................................ clear_report_template report Spam detection software, running on the system "_HOSTNAME_", has report identified this incoming email as possible spam. The original message report has been attached to this so you can view it (if it isn't spam) or label report similar future email. If you have any questions, see report _CONTACTADDRESS_ for details. report report Content preview: _PREVIEW_ report report Content analysis details: (_SCORE_ points, _REQD_ required) report report " pts rule name description" report ---- ---------------------- -------------------------------------------------- report _SUMMARY_ # ........................................................................
Next, open up /etc/mail/spamassassin/local.cf. If you read my other post you'll know what this file does...
Now, take the above and paste it into the bottom of local.cf. Then, go ahead and modify it until you're happy. For example, here's what I did:
Save the file, then restart SpamAssassin by running:Code:# Nicer report by Marcus # ........................................................................ clear_report_template report SpamAssassin has detected this email as junk. The original email is report attached if you wish to view or save it. report report Content preview: _PREVIEW_ report report Content analysis details: (_HITS_ points, _REQD_ required) report report " pts rule name description" report ---- ---------------------- -------------------------------------------------- report _SUMMARY_ # ........................................................................
/scripts/restartsrv_spamd
Done!



LinkBack URL
About LinkBacks
Reply With Quote




