Koozali.org: home of the SME Server

SME7 (pre1) - email subject for spam emails

Offline mdo

  • *
  • 355
  • +0/-0
SME7 (pre1) - email subject for spam emails
« 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
...

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
SME7 (pre1) - email subject for spam emails
« Reply #1 on: January 21, 2006, 10:10:07 AM »
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?
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: SME7 (pre1) - email subject for spam emails
« Reply #2 on: January 21, 2006, 12:13:12 PM »
Quote from: "mdo"

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

Offline mdo

  • *
  • 355
  • +0/-0
What's the subject's prefix for spam emails in SME7pre1?
« Reply #3 on: January 22, 2006, 03:47:11 AM »
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
...

sebastian_sw

Re: What's the subject's prefix for spam emails in SME7pre1?
« Reply #4 on: April 19, 2006, 05:27:42 PM »
Quote from: "mdo"

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

Offline mdo

  • *
  • 355
  • +0/-0
SME7 (pre1) - email subject for spam emails
« Reply #5 on: April 19, 2006, 09:14:41 PM »
Many thanks for finding this Sebastian. I will summarise this and open a bug report in the bug tracker.

Michael
...