Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: mdo on January 21, 2006, 01:09:35 AM
-
Testing SME7pre1 we have enabled "Modify subject of spam messages" in server manager. The resulting prefix for the subject of those mails is "***SPAM***".
I cannot find where this prefix is actually defined. Judging on the config files for spamassassin (/etc/mail/spamassassin/local.cf I believe it is?), the prefix should be "[SPAM]" instead.
I only want to make sure that the upgrade SME6 to 7 on that server (and it's implications for spamassassin) was done properly. I don't believe there to be a bug otherwise I would have put this into the bug tracker.
Maybe I am looking in the wrong spamassassin config file?
Regards,
Michael
-
Will you not remove SA (all contribs in fact) from your 6 box before upgrading to 7? Then, it should not really matter, or have I missed something?
-
I only want to make sure that the upgrade SME6 to 7 on that server (and it's implications for spamassassin) was done properly. I don't believe there to be a bug otherwise I would have put this into the bug tracker.
Spamassassin was not part of 6.0 and we do our best to upgrade from the contribs package. Check the settings in the db:
config show spamassassin
These settings should be reflected in the SA config file, but may not if there are custom templates, etc.
-
Thanks for the replies. My question was probably misleading so I re-word this:
"What's the subject's prefix for spam emails in SME7pre1 supposed to be?"
I am just curious what other SME7 users see at their installations.
According to that server's definitions, I expected the prefix to be [Spam]:
config show spamassassin
spamassassin=service
DNSAvailable=yes
InitscriptOrder=85
RejectLevel=0
ReportSafe=0
Sensitivity=medium
SkipRBLChecks=0
SortSpam=enabled
Subject=[SPAM]
SubjectTag=enabled
TagLevel=5
UseBayes=0
status=enabled
Contents of /etc/mail/spamassassin/local.cf:
..snip..
dns_available yes
internal_networks 192.168.0.2
lock_method flock
report_safe 0
required_hits 5
rewrite_header Subject [SPAM]
skip_rbl_checks 0
clear_trusted_networks
trusted_networks 127.
use_bayes 0
..snip..
but actually the spam detetcted mails have '***SPAM***' as their prefix.
I was just curiuos where the prefix "***SPAM*** is actually built?
Michael
-
I was just curiuos where the prefix "***SPAM*** is actually built?
Michael
Michael, try /usr/share/qpsmtpd/plugins/spamassassin at Line 243
Hope it helps
Seb.-
-
Many thanks for finding this Sebastian. I will summarise this and open a bug report in the bug tracker.
Michael