Re: updates

2008-11-25 Thread bernard rule
what do i need to do to change to a the new version? please let me know the
commands
will it change any configurations  etc?

  * Bernard Rule
* Technical Consultant

* 3-Sixty NZ Limited*
 Information Technology Specialists*
Project Management Software and IT Support
*  www.teamworksPM.co.nz 
www.3-sixty.co.nz

 Mobile +64 (0)292 360 361
Office  +64 (0)9 473 9744
 Email  [EMAIL PROTECTED] <[EMAIL PROTECTED]>

 --

CAUTION - This message may contain privileged and confidential information
intended only for the use of the addressee named above. If you are not the
intended recipient of this message you are hereby notified that any use,
dissemination, distribution or reproduction of this message is prohibited.
If you have received this message in error please notify 3 Sixty NZ
immediately. Any views expressed in this message are those of the individual
sender and may not necessarily reflect the views of 3 Sixty NZ Limited.

  Please consider the environment before printing this e-mail notice.

SaaS Project Management

Resource Planning

Collaboration

Timesheets

Issue and Risks

Hosted or Install onsite

 www.teamworkspm.co.nz



Iplanware's *Official Gold Partner*

Asia Pacific Region



On Mon, Nov 24, 2008 at 9:28 PM, Matus UHLAR - fantomas
<[EMAIL PROTECTED]>wrote:

> On 23.11.08 15:46, bernier wrote:
> > i have a debian server with spammassassin 3.03. i guess this has
> never
> > been updated
>
> upgrade the server, 3.0.3 was default afaik in sarge, which is obsolete and
> unsupported. Is not possible, there was newer version in volatile and even
> newer in volatile-sloppy, seems it's still there.
>
> > do i just use the cmd
> >
> > sa-update && service spamassassin restart
>
> sa-update is supported since SA 3.1. I don't have "service" on my debian
> system and use "/etc/init.d/spamassassin reload" instead.
>
> > how often should i update after it is updated?
>
> whenever an update comes out. Some people try it daily.
>
> > can it be scheduled to be automatic?
>
> yes.
>
> > will i loose any configuration on the system?
>
> no.
>
> > are the updates primarly for improving what and how SA detects spam?
>
> yes.
>
> --
> Matus UHLAR - fantomas, [EMAIL PROTECTED] ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> "The box said 'Requires Windows 95 or better', so I bought a Macintosh".
>


Re: Clustering spamassassin + autolearning

2008-11-25 Thread Kai Schaetzl
Peter Fastré wrote on Tue, 25 Nov 2008 16:04:19 +0100:

> 2. On my mailbox server I'd like to have a script which goes into the
> mailfolders, searches for a folder with the name 'Spam', feeds the message
> to sa-learn (which should be feeding it to the same bayes database of
> course), and then delete the message. Do you think this is a well-thought
> approach of having my users train the spam filters this way?

Generally yes, but since you are already using MailScanner+Mailwatch: That's 
already built-in and users can just train any messages from MailWatch. Why 
duplicate that?

Kai

-- 
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com





Re: Clustering spamassassin + autolearning

2008-11-25 Thread Marc Perkel
Yes - you can use multiple SA servers talking to a common MySQL 
database. I'm doing it with about 5 servers and it works. The answer to 
question 2 is - YES.


I'm using Exim for an MTA and I use white lists and black lists to 
prefilter spam. That greatly reduces the SA load.


Peter Fastré wrote:

Hello guys,

I'm running a small-sized hosting provider and currently our setup is 
following:


1 mailbox server running exim (only local delivery)
1 antispam server running exim + mailscanner + spamassassin + 
mailwatch -> sends all approved mail to mailbox server
2 mysql servers (master-slave) running databases for mailwatch + 
spamassassin (bayes)


I have two questions about this, hope someone can help me.

1. Because all the load goes to the smtp server now and to add some 
redundancy to our setup, we would like to add another antispam server, 
with the same setup (which is working fine). Will this be possible 
(concerning spamassassin), with two nodes sharing the same bayes 
database on the mysql servers? Is it possible to have two nodes 
feeding the same bayes database?


2. On my mailbox server I'd like to have a script which goes into the 
mailfolders, searches for a folder with the name 'Spam', feeds the 
message to sa-learn (which should be feeding it to the same bayes 
database of course), and then delete the message. Do you think this is 
a well-thought approach of having my users train the spam filters this 
way? Maybe there are already such scripts available?


Thanks in advance,

Peter







Re: Clustering spamassassin + autolearning

2008-11-25 Thread Samy Ascha, Xel Media B.V.

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hey Peter,

I have been working on this kind of setup last week.

On Nov 25, 2008, at 4:04 PM, Peter Fastré wrote:


Hello guys,

I'm running a small-sized hosting provider and currently our setup  
is following:


1 mailbox server running exim (only local delivery)
1 antispam server running exim + mailscanner + spamassassin +  
mailwatch -> sends all approved mail to mailbox server
2 mysql servers (master-slave) running databases for mailwatch +  
spamassassin (bayes)


I have two questions about this, hope someone can help me.

1. Because all the load goes to the smtp server now and to add some  
redundancy to our setup, we would like to add another antispam  
server, with the same setup (which is working fine). Will this be  
possible (concerning spamassassin), with two nodes sharing the same  
bayes database on the mysql servers? Is it possible to have two  
nodes feeding the same bayes database?


I'm not 100% sure, but since MySQL is ACID compliant, it should be  
very possible to autolearn from multiple locations to one central  
database. This is the setup I have made too. If you have multiple  
database servers and both are used by scan hosts, make sure one of  
them replicates the bayes stuff from the other, which is fed by sa- 
learn. Afaik, when using a SQL database for bayes, no important bayes  
stuff is stored on the host, so there's nothing that can get out of  
sync.





2. On my mailbox server I'd like to have a script which goes into  
the mailfolders, searches for a folder with the name 'Spam', feeds  
the message to sa-learn (which should be feeding it to the same  
bayes database of course), and then delete the message. Do you think  
this is a well-thought approach of having my users train the spam  
filters this way? Maybe there are already such scripts available?


With the database already setup, I have made a IMAP box with some dirs  
(Ham, Spam, Archive/Ham, Archive/Spam). The people I work with can  
configure this account and drop mail in the right folders.


I have a PHP script that teaches SA by feeding it the Ham and Spam dir  
contents. It then archives the mail, if told to do so. It might have  
been a basic shell script too, since it is just calls to sa-learn. The  
results are automaticly shared between scan hosts.


We do not use per user learning (yet), but all that would be needed is  
some iteration that wraps and repeats the above for all users, using  
the -u  option.


If you make sure the teaching is done per user, it is sufficiently  
'thought-through' imho. If the input of messages is not correct, only  
that users' database will be soiled.


Samy




Thanks in advance,

Peter








-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (Darwin)

iEYEARECAAYFAkksMCIACgkQKIdvzp2UK/F45wCeK/5xQ2fmZf77DbwX4wMDrsYR
6bAAn2yQI7h8HC1biJPuZeRCYKufIoAP
=cTQw
-END PGP SIGNATURE-


RE: Clustering spamassassin + autolearning

2008-11-25 Thread Jonas Akrouh Larsen
Hi Peter

 

Sory for top posting but outlook 2007...

 

 

We run the exact same setup as you do, except we have more servers.

 

My experience says that’s its not a great idea top have multiple serves
insert info into the bayes db on a central mysql. Our setup uses a mysql
MASTER-MASTer setup, which might make it more fragile, but in any case I
would stick to learning bayes on 1 server.

 

Unless you split up which servers scans which domains, both servers should
get mails from all the domains you scan, and as such it shouldn’t be
necessary to learn from both servers.

 

That is my 5 cents.

 

 

Med venlig hilsen / Best regards

 

Jonas Akrouh Larsen

 

TechBiz ApS

Laplandsgade 4, 2. sal

2300 København S

 

Office: 7020 0979

Direct: 3336 9974

Mobile: 5120 1096

Fax:7020 0978

Web:   www.techbiz.dk

 

 

 

 

From: Peter Fastré [mailto:[EMAIL PROTECTED] 
Sent: 25. november 2008 16:04
To: users@spamassassin.apache.org
Cc: [EMAIL PROTECTED]
Subject: Clustering spamassassin + autolearning

 

Hello guys,

I'm running a small-sized hosting provider and currently our setup is
following:

1 mailbox server running exim (only local delivery)
1 antispam server running exim + mailscanner + spamassassin + mailwatch ->
sends all approved mail to mailbox server
2 mysql servers (master-slave) running databases for mailwatch +
spamassassin (bayes)

I have two questions about this, hope someone can help me.

1. Because all the load goes to the smtp server now and to add some
redundancy to our setup, we would like to add another antispam server, with
the same setup (which is working fine). Will this be possible (concerning
spamassassin), with two nodes sharing the same bayes database on the mysql
servers? Is it possible to have two nodes feeding the same bayes database?

2. On my mailbox server I'd like to have a script which goes into the
mailfolders, searches for a folder with the name 'Spam', feeds the message
to sa-learn (which should be feeding it to the same bayes database of
course), and then delete the message. Do you think this is a well-thought
approach of having my users train the spam filters this way? Maybe there are
already such scripts available?

Thanks in advance,

Peter








Re: Clustering spamassassin + autolearning

2008-11-25 Thread Benny Pedersen

On Tue, November 25, 2008 16:04, Peter Fastré wrote:

> approach of having my users train the spam filters this way? Maybe there are
> already such scripts available?

http://johannes.sipsolutions.net/Projects/dovecot-antispam
http://dovecot.org/ and full enabled with sieve / managesieve
http://sieve.info/ more info on what sieve is

dovecot-antispam can use sa-learn if you like that pr msg, this way it works
in outlook aswell as its handled as a imap hook

sorry you did not post what lda you have but all the rest was there

-- 
Benny Pedersen
Need more webspace ? http://www.servage.net/?coupon=cust37098



Clustering spamassassin + autolearning

2008-11-25 Thread Peter Fastré
Hello guys,

I'm running a small-sized hosting provider and currently our setup is
following:

1 mailbox server running exim (only local delivery)
1 antispam server running exim + mailscanner + spamassassin + mailwatch ->
sends all approved mail to mailbox server
2 mysql servers (master-slave) running databases for mailwatch +
spamassassin (bayes)

I have two questions about this, hope someone can help me.

1. Because all the load goes to the smtp server now and to add some
redundancy to our setup, we would like to add another antispam server, with
the same setup (which is working fine). Will this be possible (concerning
spamassassin), with two nodes sharing the same bayes database on the mysql
servers? Is it possible to have two nodes feeding the same bayes database?

2. On my mailbox server I'd like to have a script which goes into the
mailfolders, searches for a folder with the name 'Spam', feeds the message
to sa-learn (which should be feeding it to the same bayes database of
course), and then delete the message. Do you think this is a well-thought
approach of having my users train the spam filters this way? Maybe there are
already such scripts available?

Thanks in advance,

Peter


Re: Not scoring well on 'claims of £500,000 pounds' type emails

2008-11-25 Thread Karsten Bräckelmann
On Tue, 2008-11-25 at 12:21 +, Andrew Hearn wrote:
> Our setup seems to work pretty well, but some spams are slipping
> through. Has anyone got any suggestions of rules that will catch these
> types of emails:
> http://www.pastebin.ca/1266571

These are particular hard, because they are really short and tend to be
quite rare (according to my in-stream). Sought FRAUD particularly
targets this type of scam -- but unless there's sufficient similar
examples in the corpus, there isn't much hope for it to extract a text
pattern.

> I do run Bayes, but seems that Bayes didn't run for this message, I also
> run sought rules. and greylist before spamassassin for most messages.

Hits BAYES_99 for me.

You are right though, the non-SA headers suggest that Bayes was NOT used
when scanning this message. I'd start investigating here.


-- 
char *t="[EMAIL PROTECTED]";
main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}



Not scoring well on 'claims of £500,000 pounds' type emails

2008-11-25 Thread Andrew Hearn
Hello,

Our setup seems to work pretty well, but some spams are slipping
through. Has anyone got any suggestions of rules that will catch these
types of emails:
http://www.pastebin.ca/1266571

I do run Bayes, but seems that Bayes didn't run for this message, I also
run sought rules. and greylist before spamassassin for most messages.
(v3.2.4)

Thanks, Andrew.