Toggle navigation
Koozali.org: home of the SME Server
Community
Forums
Bugs
Lists
Forum Help
Download
SME Server ISOs
Contribs
Documentation
Manual
Wiki
FAQ
HowTo
Donate
Search
Login
Register
Login
Register
×
Close
Login
Remember me
Koozali.org: home of the SME Server
Obsolete Releases
SME Server 7.x
Topic:
SpamAssassin
« previous
next »
+
Print
Pages: [
1
]
Go Down
SpamAssassin
4 Replies
1955 Views
miguelalbore
SpamAssassin
«
on:
August 24, 2006, 08:54:28 PM »
I want to add permanently this rule to my spamassassin:
score MIME_HTML_ONLY BODY 1.0
score RCVD_IN_BL_SPAMCOP_NET 5.0
score DIET_1 5.0
score NO_REAL_NAME 0.4
score BAD_CREDIT 4.5
score LIVE_PORN 4.5
score FROM_ENDS_IN_NUMS 0.4
How i can this ???
If i modified this directly from my local.cf this disappears.
Thank you
Logged
miguelalbore
SpamAssassin
«
Reply #1 on:
August 26, 2006, 05:03:08 AM »
Any idea
Logged
cactus
4,880
+3/-0
SpamAssassin
«
Reply #2 on:
August 26, 2006, 11:48:54 AM »
Quote from: "miguelalbore"
Any idea
Normally all config files are templated, and changed should be made in the template tree so not to be overwritten every now and then. Read up about the
template system in the Develepors guide
The local.cf file is templated here:/etc/e-smith/templates/etc/mail/spamassassin/local.cf. Copy the relevant sections to /etc/e-smith/
templates-custom
/etc/mail/spamassassin/local.cf and make your modifications there. You might have to create a new file with a higher number than every other file as the whole spamassasin configuration is done using the interal database of the SMEServer.
After that expand your templates and adjust the services using the following command
Code:
[Select]
signal-event email-update
Logged
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)
cactus
4,880
+3/-0
SpamAssassin
«
Reply #3 on:
August 26, 2006, 11:59:01 AM »
Looking a little further I also found this file: /usr/share/spamassassin/user_prefs.template, have a look at that as well, before modifying the template. Instruction on how to use it is in the file itself.
Logged
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)
miguelalbore
SpamAssassin
«
Reply #4 on:
August 28, 2006, 03:37:37 AM »
cactus
Thank you for your excellent help.
At last i bulit an 50score file on:
/etc/mail/spamassassin/local.cf/50score
and then:
signal-event email-update
Thank your for your time an ideas!
Logged
+
Print
Pages: [
1
]
Go Up
« previous
next »
Koozali.org: home of the SME Server
Obsolete Releases
SME Server 7.x
Topic:
SpamAssassin