Re: Trusted or internal networks not recognized

2006-03-28 Thread Stephan Menzel
Am Mittwoch, 29. März 2006 09:20 schrieb mouss: > This somewhat defeats the "minimum surprise" principle. > > In "old practice", 10.1=10.0.0.1 (a.b = 256^3 * a + b), and not > 10.1.0.0. ping 127.1 still works on (some|most) platforms. (telnet 127.1 > works less). > > > Wouldn't it be better to jus

Re: 2nd mail server problem

2006-03-28 Thread martin
Joshua, C.S. Chen asiaa.sinica.edu.tw> writes: > > Hi folks, > I am using spamassassin 3.1.0 and it works well. Now in my institute, we > have 2 mx (mail servers) see it's dns record > > myinstitute.edu.tw. 300 IN MX 100 mail2.myinstitute.edu.tw. > myinstitute.edu.tw. 300 IN MX 2 mail1.myinstit

Re: Trusted or internal networks not recognized

2006-03-28 Thread Stephan Menzel
Am Mittwoch, 29. März 2006 05:12 schrieb Matt Kettler: > Stephan, If you want to do an implied mask to cover a whole, you MUST > end in a . ie: you must use "10." not "10". If you fail to include a > trailing dot, SA will expand with zeros, but it will treat it as a > single IP address, not a rang

Re: Trusted or internal networks not recognized

2006-03-28 Thread mouss
Matt Kettler wrote: While daryl's comment here isn't entirely on the mark, it is close. Daryl, read the docs closer. SA does accept this format. Stephan, If you want to do an implied mask to cover a whole, you MUST end in a . ie: you must use "10." not "10". If you fail to include a trailing do

Re: Trusted or internal networks not recognized

2006-03-28 Thread Matt Kettler
Daryl C. W. O'Shea wrote: > Stephan Menzel wrote: >> Hi there, >> >> I'm currently about to customize a local (gentoo~) 3.1 installation >> to our specific needs. >> One of the first steps there was a special regex to catch our very >> own Received: headers >> >> To check if this works I modified s

Re: Trusted or internal networks not recognized

2006-03-28 Thread Daryl C. W. O'Shea
Stephan Menzel wrote: Hi there, I'm currently about to customize a local (gentoo~) 3.1 installation to our specific needs. One of the first steps there was a special regex to catch our very own Received: headers To check if this works I modified some other SA code parts and enabled debug ou

Re: 3.1.1 Upgrade Problems [solved]

2006-03-28 Thread Daryl C. W. O'Shea
Dale Blount wrote: On Fri, Mar 17, 2006 at 08:18:35PM -0800, Dan Kohn wrote: Anything else to try? Nothing comes to mind. It looks like a bug in IO::Zlib or perl on your platform. Anyone else on FreeBSD having simliar problems? I'm having this problem on Arch Linux with IO::Zlib 1.0.4. Re

Re: How to: Nightly per-user batch training??

2006-03-28 Thread Mike Jackson
Many thanks to everyone for the helpful suggestions so far! I've managed to patch together a Bash script that is close to what I'd like. Currently it's just dumping out the magic data, for testing purposes. As a note, simplying using the -u doesn't work as sa-learn attempts to use the bayes d

RE: How to: Nightly per-user batch training??

2006-03-28 Thread Jason Morrill
Many thanks to everyone for the helpful suggestions so far! I've managed to patch together a Bash script that is close to what I'd like. Currently it's just dumping out the magic data, for testing purposes. As a note, simplying using the -u doesn't work as sa-learn attempts to use the bayes datab

Re: bayes still does not seem to work

2006-03-28 Thread Gary V
> If you trained your bayes engine with the root account (for instance) > but amavisd is running as the user amavis, then the bayes_* files won't > be used. > You need to make sure amavisd use the correct files. > Cheers, This could be right. My /etc/spamassassin/local.cf is now: required_sc

Re: How to: Nightly per-user batch training??

2006-03-28 Thread Mike Jackson
I'm hoping that somebody here has done what I'm attempting to do. My users use a web-mail front end for reading email. There is an option to Mark-As-Spam which moves the message into a SPAM folder and removes it from their current folder. Very easy to train even the most inexperienced users to

RE: How to: Nightly per-user batch training??

2006-03-28 Thread Bowie Bailey
Jason Morrill wrote: > I'm hoping that somebody here has done what I'm attempting to do. > > My users use a web-mail front end for reading email. There is an > option to Mark-As-Spam which moves the message into a SPAM folder and > removes it from their current folder. Very easy to train even the

How to: Nightly per-user batch training??

2006-03-28 Thread Jason Morrill
I'm hoping that somebody here has done what I'm attempting to do. My users use a web-mail front end for reading email. There is an option to Mark-As-Spam which moves the message into a SPAM folder and removes it from their current folder. Very easy to train even the most inexperienced users to do

RE: Any windows users try the new Active Perl with SA?

2006-03-28 Thread Steven Manross
Notes below... > -Original Message- > From: Bret Miller [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 28, 2006 8:51 AM > To: users@spamassassin.apache.org > Subject: RE: Any windows users try the new Active Perl with SA? > > > I tried this as a sink on an exchange box and it doesn't

Re: socket SA is not fast enough, help

2006-03-28 Thread mouss
Matt Kettler wrote: Kenneth Kim wrote: I've found that SpamAssassin will not return a score until I close socket writing. Once i've closed the writing, in order to get a score for the next message, I have to reopen the connection in php to send another message to SA. I hope I'm wrong about this,

RE: Any windows users try the new Active Perl with SA?

2006-03-28 Thread Bret Miller
> I tried this as a sink on an exchange box and it doesn't > fork. It processes one emai at a time. It can take from > 15-30 seconds per email depending on the size and speed of > your system. So, it didn't take vary long before the > incoming queue was getting backed up. I ended up disabling >

RE: Any windows users try the new Active Perl with SA?

2006-03-28 Thread Bret Miller
> > I am wondering if anyone running Windows and SA has tried the new > > ActivePerl with 3.1.1? > > Now running ActivePerl 5.8.8.816 with SA 3.1.1 on Windows > Server 2003. My SpamAssassin won't lint... Ugh. > > "EADDRINUSE" is not exported by the Errno module > Can't continue after import errors

RE: Any windows users try the new Active Perl with SA?

2006-03-28 Thread esandquist
I tried this as a sink on an exchange box and it doesn't fork. It processes one emai at a time. It can take from 15-30 seconds per email depending on the size and speed of your system. So, it didn't take vary long before the incoming queue was getting backed up. I ended up disabling the sing an

RE: Any windows users try the new Active Perl with SA?

2006-03-28 Thread Bret Miller
> I am wondering if anyone running Windows and SA has tried the new > ActivePerl with 3.1.1? Now running ActivePerl 5.8.8.816 with SA 3.1.1 on Windows Server 2003. My SpamAssassin won't lint... Ugh. "EADDRINUSE" is not exported by the Errno module Can't continue after import errors at C:\Perl\sit

Re: Trusted or internal networks not recognized

2006-03-28 Thread Stephan Menzel
Am Dienstag, 28. März 2006 16:40 schrieb Bowie Bailey: > > [32116] dbg: received-header: relay 10.1.76.29 trusted? no internal? > > no > > Ok. Show us the entire debug section where it parses the headers. > Keep in mind that the interpretation of each header is influenced by > the headers that pre

Re: errors in postgres database queries

2006-03-28 Thread Ingo Freund
Michael Parker wrote: > Ingo Freund wrote: > >>The system worked well with mySQL. > > > WARNING: Bayes SQL does indeed work best with MySQL. Feel free to > search the users/dev list in the past for more information. > > That might be, but where should be the need to let two different databas

RE: Trusted or internal networks not recognized

2006-03-28 Thread Bowie Bailey
Stephan Menzel wrote: > > /etc/spamassassin/local.cf > > ---snip--- > clear_trusted_networks > trusted_networks 127.0.0 192.168 10 ... more networks to come here > > clear_internal_networks > internal_networks 10.1.71.0/24 10.1.3.0/24 10.1.76.29/24 ... here too > ---snip--- Looks good so far.

Shell Script SA-BOGO

2006-03-28 Thread Krispisen
Hi !I need help writing a shell script ( other langage possible ? ) wich uses incoming mail, class then with SP in 2 groups -> spam & ham, then send then to a bogofilter.my os is debian sarge.. Please helpThx

Re: 3.1.1 Upgrade Problems [solved]

2006-03-28 Thread Dale Blount
> > On Fri, Mar 17, 2006 at 08:18:35PM -0800, Dan Kohn wrote: > >> Anything else to try? > > > > Nothing comes to mind. It looks like a bug in IO::Zlib or perl on > > your platform. > > > > Anyone else on FreeBSD having simliar problems? > > > I'm having this problem on Arch Linux with IO::Zlib

Trusted or internal networks not recognized

2006-03-28 Thread Stephan Menzel
Hi there, I'm currently about to customize a local (gentoo~) 3.1 installation to our specific needs. One of the first steps there was a special regex to catch our very own Received: headers To check if this works I modified some other SA code parts and enabled debug out. But here I had to rea

Re: bayes still does not seem to work

2006-03-28 Thread Sipos Gabor
>> Hello everyone, >> >> first of all, the setup: debian/sarge, amavisd-new, spamassassin >> 3.0.3, clamav-daemon, postfix. The server is a relay only, no mail is >> delivered >> locally, everything is sent to a "real" mail server. >> >> I have trained bayes with some 500 to 60