Re: POPAuth and SA 3.3.1?

2010-05-21 Thread Mark Martinec
> > It's the same issue as was already resolved for the ClamAV plugin, > > the data structure changed from hash to a list (so that ordering > > of add_header can be maintained). > > > > See: > > https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6254 > > Ah, thank you. I made this change in

Problem matching newline in body

2010-05-21 Thread John Horne
Hello, Can you tell it's Friday afternoon? What should be a simple problem always seems to become a nightmare on Friday afternoons! :-) Using SA 3.3.1 I have the following simple rule: body LOCAL_JH /userid:\s*\n/i which should look for 'userid:', any number of spaces and then a NL c

Re: Problem matching newline in body

2010-05-21 Thread Yet Another Ninja
On 2010-05-21 15:40, John Horne wrote: Hello, Can you tell it's Friday afternoon? What should be a simple problem always seems to become a nightmare on Friday afternoons! :-) Using SA 3.3.1 I have the following simple rule: body LOCAL_JH /userid:\s*\n/i which should look for 'useri

Re: Problem matching newline in body

2010-05-21 Thread John Hardin
On Fri, 21 May 2010, John Horne wrote: Hello, Can you tell it's Friday afternoon? What should be a simple problem always seems to become a nightmare on Friday afternoons! :-) Using SA 3.3.1 I have the following simple rule: body LOCAL_JH /userid:\s*\n/i which should look for 'useri

Mail discarded with http

2010-05-21 Thread Sasa
Hi, I have a problem with some mails that are discarded when in body message there is a web link with http prefix, i.e. with: http://www.example.com/example with this link the mail is discarded and in log file I have: [r...@mail ~]# grep 707F026A302 /var/log/maillog May 20 10:52:16 mail postfix

Re: POPAuth and SA 3.3.1?

2010-05-21 Thread Robert Mangiafico
On Fri, May 21, 2010 at 6:39 AM, Mark Martinec wrote: >> > It's the same issue as was already resolved for the ClamAV plugin, >> > the data structure changed from hash to a list (so that ordering >> > of add_header can be maintained). >> > >> > See: >> >  https://issues.apache.org/SpamAssassin/sho

Re: Problem matching newline in body

2010-05-21 Thread John Horne
On Fri, 2010-05-21 at 15:51 +0200, Yet Another Ninja wrote: > On 2010-05-21 15:40, John Horne wrote: > If I send a message containing: > > some text > userid: > some more text ... > > > > Can someone show me how to match a newline character in the above rule > > please? > > can you

Re: Problem matching newline in body

2010-05-21 Thread John Horne
On Fri, 2010-05-21 at 06:53 -0700, John Hardin wrote: > On Fri, 21 May 2010, John Horne wrote: > > > Hello, > > > > Can you tell it's Friday afternoon? What should be a simple problem > > always seems to become a nightmare on Friday afternoons! :-) > > > > Using SA 3.3.1 I have the following simpl

Re: Rules updates

2010-05-21 Thread Karsten Bräckelmann
On Thu, 2010-05-20 at 21:34 -0400, Robert Palmer wrote: > yum install insisted I have current version so I used cpan which got me > to 3.3.1. Should I stop there or consider 3.3.2 or 3.4.x? http://spamassassin.apache.org/ Did you have a look there, yet? 3.3.1 is the latest stable release. 3.3.2

Re: Mail discarded with http

2010-05-21 Thread Karsten Bräckelmann
On Fri, 2010-05-21 at 15:58 +0200, Sasa wrote: > Hi, I have a problem with some mails that are discarded when in body message > there is a web link with http prefix, i.e. with: > http://www.example.com/example > > with this link the mail is discarded and in log file I have: You didn't show *any*

System hangs on sending mail sometimes

2010-05-21 Thread davidstvz
I'm using spamassassin with sendmail via spamass-milter. Many users are using Open Webmail to read mail, and sometimes when they try to send, the system hangs for 10+ seconds. Often it sends immediately however. When I setup the system, I remember reading somewhere that it might be a good idea

RE: System hangs on sending mail sometimes

2010-05-21 Thread Kaleb Hosie
> I'm using spamassassin with sendmail via spamass-milter. > Many users are using Open Webmail to read mail, and sometimes > when they try to send, the system hangs for 10+ seconds. > Often it sends immediately however. I would start with examining your maillog (/var/log/maillog). If that doe

RE: System hangs on sending mail sometimes

2010-05-21 Thread davidstvz
Does anyone know where the setting for max-children is? If I run 'ps aux | grep spam' I can see: That spamd is run like so: /usr/sbin/spamd --create-prefs --max-children 2 --helper-home-dir -d --pidfile=/var/run/spamd.pid However, I do not see where to specify max-children in any configuration

RE: System hangs on sending mail sometimes

2010-05-21 Thread Kaleb Hosie
> Does anyone know where the setting for max-children is? > > If I run 'ps aux | grep spam' I can see: > > That spamd is run like so: > > /usr/sbin/spamd --create-prefs --max-children 2 > --helper-home-dir -d --pidfile=/var/run/spamd.pid > > However, I do not see where to specify max-children

RE: System hangs on sending mail sometimes

2010-05-21 Thread davidstvz
Ok, I did a broader search using: cat `locate spamass | grep etc` | grep child Turns out it's in /etc/defaults/spamassassin I'm using Debian. Now the question is, will restoring maxchildren from 2 back to 5 help the problem? I will have to wait and see. -- View this message in context: ht

RE: System hangs on sending mail sometimes

2010-05-21 Thread Kaleb Hosie
> I'm using Debian. Now the question is, will restoring > maxchildren from 2 back to 5 help the problem? I will have > to wait and see. > One way of telling whether this is the problem or not is to search your maillog for an entry like the following: Apr 27 05:59:45 mailgate spamd[23853]: pr

Re: System hangs on sending mail sometimes

2010-05-21 Thread Jari Fredriksson
> > I'm using spamassassin with sendmail via spamass-milter. Many users are > using Open Webmail to read mail, and sometimes when they try to send, the > system hangs for 10+ seconds. Often it sends immediately however. > You are scanning outgoing messages. Is this really a requirement? If not,

RE: System hangs on sending mail sometimes

2010-05-21 Thread davidstvz
Sure enough, that error message is in the /var/log/mail.log file several times a day. I think this may be the problem I was having. The limit is now 5 so hopefully this will happen very infrequently now and perhaps it will solve the problem. Kaleb Hosie wrote: > >> I'm using Debian. Now the

remmonded max children settings

2010-05-21 Thread Jean-Paul Natola
Hi all, I am constantly getting the server reached --max children setting entries in my log I started with 10 max children and have been raising it by 2. I am now at 40 , but still getting the messages (though not as often) how high can I go given these specs: sa 3.3 on freebsd , hardwar

Re: remmonded max children settings

2010-05-21 Thread Bowie Bailey
Jean-Paul Natola wrote: > Hi all, > > > > I am constantly getting the server reached --max children setting entries in > my log > > I started with 10 max children and have been raising it by 2. I am now at > 40 , but still getting the messages (though not as often) how high can I go > given th

Re: remmonded max children settings

2010-05-21 Thread Karsten Bräckelmann
On Fri, 2010-05-21 at 15:37 -0400, Bowie Bailey wrote: > Jean-Paul Natola wrote: > > I am constantly getting the server reached --max children setting > > entries in my log > > > > I started with 10 max children and have been raising it by 2. I am > > now at 40 , but still getting the messages (

Re: remmonded max children settings

2010-05-21 Thread Jari Fredriksson
> Hi all, > > > > I am constantly getting the server reached --max children setting entries > in my log > > I started with 10 max children and have been raising it by 2. I am now at > 40 , but still getting the messages (though not as often) how high can I > go given these specs: > > sa 3.3 on f

RE: remmonded max children settings

2010-05-21 Thread Jean-Paul Natola
>Just accept the fact that mail gets into a queue when using processes like >SA. If outgoing spam is not a concern, set your system so that outbound >mail is not passed thru SA. I actually only use the exim/sa as incoming filter, I do not send through it. The reason I was trying to tweak it, ma

Re: remmonded max children settings

2010-05-21 Thread Bowie Bailey
Jean-Paul Natola wrote: >> Just accept the fact that mail gets into a queue when using processes like >> SA. If outgoing spam is not a concern, set your system so that outbound >> mail is not passed thru SA. >> > > I actually only use the exim/sa as incoming filter, I do not send through it.

Re: remmonded max children settings

2010-05-21 Thread David B Funk
On Fri, 21 May 2010, Bowie Bailey wrote: > Jean-Paul Natola wrote: > > Hi all, > > > > I am constantly getting the server reached --max children setting entries > > in my log > > > > I started with 10 max children and have been raising it by 2. I am now at > > 40 , but still getting the messag

Re: yahoo X-YMail-OSG

2010-05-21 Thread Adam Katz
Michael Scheidell mused: >> would adding 1 point for each 1K of header length help? J.D. Falk responded: > Interesting idea! I don't know the precise semantics of the > contents of that header, but this certainly sounds possible. Seconded. I don't think this is efficient at all (I'm leaning on

Re: yahoo X-YMail-OSG

2010-05-21 Thread Karsten Bräckelmann
On Fri, 2010-05-21 at 17:43 -0400, Adam Katz wrote: > header SINGLE_HEADER_2K ALL:raw =~ /^(?=.{2048,3071}$)/m It does not match a single header, let alone a *specific* header as the one mentioned, but ALL headers. It effectively checks the entire headers' size. As I understood it, the desired

RE: remmonded max children settings

2010-05-21 Thread Jean-Paul Natola
On Fri, 21 May 2010, Bowie Bailey wrote: > Jean-Paul Natola wrote: > > Hi all, > > > > I am constantly getting the server reached --max children setting entries > > in my log > > > > I started with 10 max children and have been raising it by 2. I am now at > > 40 , but still getting the messa

Re: yahoo X-YMail-OSG

2010-05-21 Thread Karsten Bräckelmann
On Sat, 2010-05-22 at 00:13 +0200, Karsten Bräckelmann wrote: > On Fri, 2010-05-21 at 17:43 -0400, Adam Katz wrote: > > header SINGLE_HEADER_2K ALL:raw =~ /^(?=.{2048,3071}$)/m > > It does not match a single header, let alone a *specific* header as the > one mentioned, but ALL headers. It effec

Re: yahoo X-YMail-OSG

2010-05-21 Thread Michael Scheidell
On 5/21/10 7:35 PM, Karsten Bräckelmann wrote: On Sat, 2010-05-22 at 00:13 +0200, Karsten Bräckelmann wrote: On Fri, 2010-05-21 at 17:43 -0400, Adam Katz wrote: header SINGLE_HEADER_2K ALL:raw =~ /^(?=.{2048,3071}$)/m It does not match a single header, let alone a *specifi

Re: remmonded max children settings

2010-05-21 Thread RW
On Fri, 21 May 2010 16:50:32 -0400 Bowie Bailey wrote: > > The reason I was trying to tweak it, maybe I'm going about it > > wrong, but spamd winds up timing out a lot. Then people call and > > say there messages were not delivered or delayed etc... > > That may be a consequence of the swap u

RE: remmonded max children settings

2010-05-21 Thread David B Funk
On Fri, 21 May 2010, Jean-Paul Natola wrote: > > On Fri, 21 May 2010, Bowie Bailey wrote: > > > Jean-Paul Natola wrote: > > > Hi all, > > > > > > I am constantly getting the server reached --max children setting entries > > > in my log > > > > > > I started with 10 max children and have been rais

RE: remmonded max children settings

2010-05-21 Thread Per Jessen
David B Funk wrote: > On Fri, 21 May 2010, Jean-Paul Natola wrote: > >> These are the stats for the week >> Total number of emails processed by the spam filter : 58249 >> Number of spams : 54479 ( 93.53%) >> Number of clean messages: 3770 ( 6.47%)