You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Netmail <ne...@elmo.it> on 2005/05/18 09:21:17 UTC
German Spam
Hi
I'm new for spamassassin , when modify the local.cf file after restart
sendmail or what ?
Thanks
----------------------------------------
:: IT Manager ::
El.mo. S.p.a.
Andrea Soccal
Tel. +39 049 9203333
Web : http://www.elmo.it
R: R: German Spam
Posted by Netmail <ne...@elmo.it>.
# This is the right place to customize your installation of SpamAssassin.
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
###########################################################################
#
rewrite_subject 1
#report_safe 1
header SUBJ_RETHANKS Subject =~ /Re\: Thanks \:\)/
describe SUBJ_RETHANKS Subject is "Re: Thanks :)"
score SUBJ_RETHANKS 10 10 10 10
now its correct ?
-----Messaggio originale-----
Da: Paolo Cravero as2594 [mailto:pcravero@as2594.net]
Inviato: mercoledì 18 maggio 2005 11.42
A: users@spamassassin.apache.org
Oggetto: Re: R: German Spam
Netmail wrote:
> Ok
> Now this is my config file
> # This is the right place to customize your installation of SpamAssassin.
> # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
> # tweaked.
> #
>
###########################################################################
> #
> rewrite_subject 1
> #report_safe 1
>
> If i want add block for the header of message ..how to ?
Altought custom rules on a particular text is not the best way to
achieve SpamAssassin potential, you need to add to local.cf something like:
header SUBJ_RETHANKS Subject =~ /Re\: Thanks \:\)/
describe SUBJ_RETHANKS Subject is "Re: Thanks :)"
score SUBJ_RETHANKS 10 10 10 10
# Gives 10 points to those messages whose subject is "Re: Thanks :)"
You need to be able to write Perl regexps if you want to be more
successful. You should test new rules on a development server, not on
your primary box.
Don't forget to run spamassassin --lint before you put any new
rule/ruleset into production!
Custom rules are very time consuming for the sysadmin, especially if not
well written. There are enough free resources (rulesemporium) to keep
SpamAssassin's hit ratio very high. And please do not forget that the
Bayesian filter is your Friend!
SpamAssassin is _extremely_ well documented.
Paolo
--
SpamAssassin-based email antispam/antivirus solutions
Italian/English-to/from-Croatian translations
Re: R: German Spam
Posted by Paolo Cravero as2594 <pc...@as2594.net>.
Netmail wrote:
> Ok
> Now this is my config file
> # This is the right place to customize your installation of SpamAssassin.
> # See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
> # tweaked.
> #
> ###########################################################################
> #
> rewrite_subject 1
> #report_safe 1
>
> If i want add block for the header of message ..how to ?
Altought custom rules on a particular text is not the best way to
achieve SpamAssassin potential, you need to add to local.cf something like:
header SUBJ_RETHANKS Subject =~ /Re\: Thanks \:\)/
describe SUBJ_RETHANKS Subject is "Re: Thanks :)"
score SUBJ_RETHANKS 10 10 10 10
# Gives 10 points to those messages whose subject is "Re: Thanks :)"
You need to be able to write Perl regexps if you want to be more
successful. You should test new rules on a development server, not on
your primary box.
Don't forget to run spamassassin --lint before you put any new
rule/ruleset into production!
Custom rules are very time consuming for the sysadmin, especially if not
well written. There are enough free resources (rulesemporium) to keep
SpamAssassin's hit ratio very high. And please do not forget that the
Bayesian filter is your Friend!
SpamAssassin is _extremely_ well documented.
Paolo
--
SpamAssassin-based email antispam/antivirus solutions
Italian/English-to/from-Croatian translations
R: German Spam
Posted by Netmail <ne...@elmo.it>.
Ok
Now this is my config file
# This is the right place to customize your installation of SpamAssassin.
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
###########################################################################
#
rewrite_subject 1
#report_safe 1
If i want add block for the header of message ..how to ?
Grazie
-----Messaggio originale-----
Da: Paolo Cravero as2594 [mailto:pcravero@as2594.net]
Inviato: mercoledì 18 maggio 2005 10.10
A: users@spamassassin.apache.org
Oggetto: Re: German Spam
Netmail wrote:
> Hi
> I'm new for spamassassin , when modify the local.cf file after restart
> sendmail or what ?
If you are using spamc/spamd you need to restart spamd in order to
activate new rules.
If you are simply calling spamassassin executable from sendmail (highly
inefficient), no restart is needed.
Ciao,
Paolo
--
SpamAssassin-based antispam/antivirus email gateways
Italian/English-to/from-Croatian translations
Re: German Spam
Posted by Paolo Cravero as2594 <pc...@as2594.net>.
Netmail wrote:
> Hi
> I'm new for spamassassin , when modify the local.cf file after restart
> sendmail or what ?
If you are using spamc/spamd you need to restart spamd in order to
activate new rules.
If you are simply calling spamassassin executable from sendmail (highly
inefficient), no restart is needed.
Ciao,
Paolo
--
SpamAssassin-based antispam/antivirus email gateways
Italian/English-to/from-Croatian translations