You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Helio Nunes <hn...@hnet.com.br> on 2005/06/23 00:22:51 UTC

.cf files in /etc/mail/spamassassin apparentely are not being used....

I have installed the last version 3.04 using Linux Qmail Toaster (Bill Shupp) 
version 0.7.12 together clamav, ripmime, and simscan 1.1. Linux distr. is 
Suse 9.2.

simscancontrol file is as follow:
:clam=yes,spam=yes,spam_hits=20.0,regex=levitra:penis:.*viagra.*:VIAGRA:cialis:.*c.i.a.l.i.s\..*,attach=.vbs:.lnk:.scr:.wsh:.hta:.pif:.mpeg:.mpg:.exe:.avi:.bat:.asf:.mpe:.bin:.bas:.cmd:.asd:.dot:.js:.jse:.lnk:.ocx:.pl:.vb:.vbe:.vbs:.vxd:.wmf
I only got some filtering putting these regex there.

Vpopmail tcp.smtp file :
127.:allow,RELAYCLIENT=""
:allow,CHKUSER_RCPTLIMIT="10",CHKUSER_WRONGRCPTLIMIT="3",QMAILQUEUE="/var/qmail/bin/simscan"
 

Actually I expected these filterings being done through 20_drugs.cf and 
20_porn.cf that I have put in /etc/mail/spamassassin. init.cf and local.cf 
are apparentely operatives as far my messages are being tagged with the 
string I put in local.cf: 
rewrite_header  subject *VERIFICAR*****SPAM*****

Onyone ..any idea ?? 
I looked though all docs and could not find anything to explain it.

Thanks

-- 
Helio Nunes
hnet@hnet.com.br
Sao Paulo Brasil

Re: {SPAM} .cf files in /etc/mail/spamassassin apparentely are not being used....

Posted by Helio Nunes <hn...@hnet.com.br>.
On Wednesday 22 June 2005 19:42, you wrote:
My concern is if those .cf files are really being parsed (even after leaving 
only init.pre and local.cf in /etc/mail/sapmassassin ) as far as mail boxes 
are receiving mail containing words like those forbiden in 20_drugs.cf found 
in /usr/share/spamassassin.
Helio Nunes


> Helio Nunes wrote:
> > I have installed the last version 3.04 using Linux Qmail Toaster (Bill
> > Shupp) version 0.7.12 together clamav, ripmime, and simscan 1.1. Linux
> > distr. is Suse 9.2.
> >
> >
> >
> > Actually I expected these filterings being done through 20_drugs.cf and
> > 20_porn.cf that I have put in /etc/mail/spamassassin.
>
> First, stop. Delete the above files from /etc/mail/spamassassin.
>
> The default rulesets that come with SA belong in /usr/share/spamassassin,
> and should have been put there by the installer.
>
> Only add-ons, init.pre, and local.cf belong in /etc/mail/spamassassin.
>
> SA will automatically parse all .cf files it finds in both directories, and
> by putting duplicate copies in you're double-parsing the rules. Also,
> future upgrades may bomb, as the installer does not remove files from
> /etc/mail/spamassassin.
>
>
> init.cf and local.cf
>
> > are apparentely operatives as far my messages are being tagged with the
> > string I put in local.cf:
> > rewrite_header  subject *VERIFICAR*****SPAM*****
> >
> > Onyone ..any idea ??
>
> Erm.. What exactly is it that you expect to be happening?
>
> It sounds like things are working as they should. SA is detecting the
> message as spam, and adding your subject tag.
>
> What am I missing?

-- 
Helio Nunes
helionunes@hnet.com.br
Sao Paulo


Re: {SPAM} .cf files in /etc/mail/spamassassin apparentely are not being used....

Posted by Helio Nunes <hn...@hnet.com.br>.
On Wednesday 22 June 2005 19:42, Matt Kettler wrote:
Thanks
I understood (from docs) that I should copy .cf files 
from /usr/share/sspamassassin to /etc/mail where local.cf is.

That is probably why received emails with drugs ( cialis, viagra, etc ) are 
not being tagged.  
If  SA parses both directories (now on) it will be tagging such emails.


> Helio Nunes wrote:
> > I have installed the last version 3.04 using Linux Qmail Toaster (Bill
> > Shupp) version 0.7.12 together clamav, ripmime, and simscan 1.1. Linux
> > distr. is Suse 9.2.
> >
> >
> >
> > Actually I expected these filterings being done through 20_drugs.cf and
> > 20_porn.cf that I have put in /etc/mail/spamassassin.
>
> First, stop. Delete the above files from /etc/mail/spamassassin.
>
> The default rulesets that come with SA belong in /usr/share/spamassassin,
> and should have been put there by the installer.
>
> Only add-ons, init.pre, and local.cf belong in /etc/mail/spamassassin.
>
> SA will automatically parse all .cf files it finds in both directories, and
> by putting duplicate copies in you're double-parsing the rules. Also,
> future upgrades may bomb, as the installer does not remove files from
> /etc/mail/spamassassin.
>
>
> init.cf and local.cf
>
> > are apparentely operatives as far my messages are being tagged with the
> > string I put in local.cf:
> > rewrite_header  subject *VERIFICAR*****SPAM*****
> >
> > Onyone ..any idea ??
>
> Erm.. What exactly is it that you expect to be happening?
>
> It sounds like things are working as they should. SA is detecting the
> message as spam, and adding your subject tag.
>
> What am I missing?

-- 
Helio Nunes
helionunes@hnet.com.br
Sao Paulo

Re: {SPAM} .cf files in /etc/mail/spamassassin apparentely are not being used....

Posted by Matt Kettler <mk...@evi-inc.com>.
Helio Nunes wrote:
> I have installed the last version 3.04 using Linux Qmail Toaster (Bill Shupp) 
> version 0.7.12 together clamav, ripmime, and simscan 1.1. Linux distr. is 
> Suse 9.2.
>
>  
> 
> Actually I expected these filterings being done through 20_drugs.cf and 
> 20_porn.cf that I have put in /etc/mail/spamassassin. 

First, stop. Delete the above files from /etc/mail/spamassassin.

The default rulesets that come with SA belong in /usr/share/spamassassin, and
should have been put there by the installer.

Only add-ons, init.pre, and local.cf belong in /etc/mail/spamassassin.

SA will automatically parse all .cf files it finds in both directories, and by
putting duplicate copies in you're double-parsing the rules. Also, future
upgrades may bomb, as the installer does not remove files from
/etc/mail/spamassassin.


init.cf and local.cf
> are apparentely operatives as far my messages are being tagged with the 
> string I put in local.cf: 
> rewrite_header  subject *VERIFICAR*****SPAM*****
> 
> Onyone ..any idea ?? 

Erm.. What exactly is it that you expect to be happening?

It sounds like things are working as they should. SA is detecting the message as
spam, and adding your subject tag.

What am I missing?



Re: question

Posted by Daniel Geldres <da...@gmail.com>.
Hi, is there any spamassassin mailing list in spanish?

I have some doubts that I´d like to clear up but my english is not very
good.

I have Postfix with Amavis and Clamav, and I´d like to use Spamassassin.
Amavis and Clamav work fine with Postfix, but I don´t know how should I
configure Spamassassin to work with Amavis, Clamav and Postfix.

My master.cf includes the following:

smtp-amavis unix -      -       y       -       2  smtp
   -o smtp_data_done_timeout=1200
   -o smtp_send_xforward_command=yes
   -o disable_dns_lookups=yes
   -o max_use=20

127.0.0.1:10025 inet n  -       n       -       -  smtpd
   -o content_filter=

Please tell me if this configuration could work for using spamassassin, or
how should I try. Or if there's any problem that I could face using this
configuration.

Thanks,

-- 
======================================
Daniel Geldres Castro
Fono: 251-3584
Cel: 950-84999
MSN: daniel_geldres@hotmail.com
Lima - Peru

======================================

Re: question

Posted by Matt Kettler <mk...@evi-inc.com>.
Daniel Geldres wrote:
> hello to all, it is the first time that I subscribe to the list and I
> have the following question.
> 
> As I can filter subject VIAGRA. it is the first time that I install
> spamassassing and single I have managed to filter encoding. Thanks and
> good luck

This would be a simple rule to do that, adjust the score value as you see fit:

header L_HEADER_V	Subject =~/VIAGRA/
score L_HEADER_V	1.0

If you want it to match lower-case, add a i to the end of the regex : /VIAGRA/i


question

Posted by Daniel Geldres <da...@gmail.com>.
hello to all, it is the first time that I subscribe to the list and I
have the following question.

As I can filter subject VIAGRA. it is the first time that I install
spamassassing and single I have managed to filter encoding. Thanks and
good luck

my ingles is not very good, is translated ;)


-- 
======================================
Daniel Geldres Castro
Fono: 251-3584
Cel: 950-84999
MSN: daniel_geldres@hotmail.com
Lima - Peru

======================================