Re: A few questions

2010-06-10 Thread RW
On Thu, 10 Jun 2010 12:10:54 -0400 Adam Moffett wrote: >I know it does auto expire because I have a > multitude of bayes_toks.expire files ranging from 40-80MB in size. > Can I tune what gets expired to reduce the size of the db? Expire it from cron and turn-off autoexpire.

Re: How do I get better processing/delivery times?

2010-06-10 Thread Spiro Harvey
Matt Kettler wrote: > These settings: > -m 50 --min-children=10 --min-spare=10 > > seem a bit high for a box with only 4GB of ram... Is the box suffering > from severe swap usage, and grinding itself to a halt when all 50 are > up and running? (try running "free", what does it say?) It's not th

Re: A few questions

2010-06-10 Thread Andy Dills
On Thu, 10 Jun 2010, Adam Moffett wrote: > These issues came up when I was trying to address performance problems, I hope > they aren't major RTFM items. > > 1) I used sa-compile as suggested by the FAQ and the CPU load dropped > *dramatically*. The question is do I have to run that every time I

Freemail problem

2010-06-10 Thread Jeremy Fairbrass
Hi, I've noticed what seems to be unexpected behaviour with the Freemail plugin, which I'm hoping someone can shed some light on. I'm using SpamAssassin 3.2.5, and the "FreeMail.pm" plugin v2.001 from http://sa.hege.li, along with the rules from the 20_freemail.cf file at the same location.

Re: A few questions

2010-06-10 Thread Jari Fredriksson
On 10.6.2010 19:10, Adam Moffett wrote: > These issues came up when I was trying to address performance problems, > I hope they aren't major RTFM items. > > 1) I used sa-compile as suggested by the FAQ and the CPU load dropped > *dramatically*. The question is do I have to run that every time I >

Re: Rules updates

2010-06-10 Thread John Hardin
On Wed, 9 Jun 2010, Matt Kettler wrote: On 6/9/2010 12:11 PM, LuKreme wrote: On 8-Jun-2010, at 19:34, Matt Kettler wrote: Legacy version, 3.2.5 (rarely updated) Even better: Unsupported version 3.2.5 (critical updates only) or Deprecated version: 3.2.5 (critical updates only, if at all)

Re: How do I get better processing/delivery times?

2010-06-10 Thread John Hardin
On Thu, 10 Jun 2010, Spiro Harvey wrote: I'm just wondering if it's possible to decrease the scan times. In the TOTALS section AvgTm is the average "scantime" in the spamassassin log file: (Delivered are messages that SA scores under 5, Spamboxed are scored 5+, but under 10, and Rejected are

A few questions

2010-06-10 Thread Adam Moffett
These issues came up when I was trying to address performance problems, I hope they aren't major RTFM items. 1) I used sa-compile as suggested by the FAQ and the CPU load dropped *dramatically*. The question is do I have to run that every time I sa-update or will it happen automatically? 2)

Re: SA checking of authenticated users' messages

2010-06-10 Thread Greg Troxel
Louis Guillaume writes: >> I think what is supposed to happen is >> >>spamass-milter gets milter macros >> >>spamass-milter makes a synthetic Received: line that is *not* in the >>message as received. This proxies for the Received: line that the >>MTAe would add. The synthetic

RE: Scanning attachments with spamassassin

2010-06-10 Thread Sharma, Ashish
Frank, Thanks for the reply. Can you tell me what all kind of attachment scanning spamassassin does. Can you point me to some good reference that can give me a good idea about attachment scanning et all. Thanks Ashish Sharma -Original Message- From: Frank Heydlauf [mailto:fh-sa2...@l

Re: SA checking of authenticated users' messages

2010-06-10 Thread Louis Guillaume
On 6/10/10 8:13 AM, Greg Troxel wrote: Louis Guillaume writes: On 6/9/10 7:40 AM, Karsten Bräckelmann wrote: On Wed, 2010-06-09 at 01:51 -0400, Louis Guillaume wrote: Recently I've had a lot of reports of returned mail from authenticated users. The messages are being bounced on the way out.

Re: Scanning attachments with spamassassin

2010-06-10 Thread Frank Heydlauf
Hi, On Thu, Jun 10, 2010 at 01:37:05PM +, Sharma, Ashish wrote: > > Since by default spamassassin and it's default plugins do not check email > attachments for spam, are there custom plugins available for scanning > attachments for spam? why do you think so? > Do I really need email attac

RE: Scanning attachments with spamassassin

2010-06-10 Thread Sharma, Ashish
Martin, Thanks for the advice but I am already doing what you have suggested. Thanks Ashish Sharma -Original Message- From: Martin Gregorie [mailto:mar...@gregorie.org] Sent: Thursday, June 10, 2010 7:20 PM To: Sharma, Ashish Subject: Re: Scanning attachments with spamassassin On Thu,

Scanning attachments with spamassassin

2010-06-10 Thread Sharma, Ashish
Hi, I am a newbie in this. I have configured spamassassin for my postfix server invoked via amavisd. (I used the link: http://wiki.centos.org/HowTos/Amavisd) Here my question is: Since by default spamassassin and it's default plugins do not check email attachments for spam, are there custom p

Re: perl experts - \1 better written as $1 ?

2010-06-10 Thread Bowie Bailey
Per Jessen wrote: > I have a bit of SA code where I strip leading and trailing whitespace - > > foreach (@addrs) { s/^\s*([^\s]+)\s*$/\1/; } > > Whenever I run this I get the warning "\1 better written as $1" which I > understand to be perl telling me that the right side of s/// should use > $digi

Re: Rule overlap

2010-06-10 Thread Bowie Bailey
Ned Slider wrote: > On 06/10/2010 10:45 AM, Matus UHLAR - fantomas wrote: >> On 09.06.10 10:10, Bowie Bailey wrote: >>> I was looking at the hits on a drug spam and I noticed these two: >>> >>> * 1.1 NO_PRESCRIPTION BODY: No prescription needed >>> * 1.5 FB_NO_SCRIP_NEEDED BODY: Phrase: no prescrip

Re: perl experts - \1 better written as $1 ?

2010-06-10 Thread Per Jessen
Mark Martinec wrote: > Per, > >> >> There are no spaces in the string, it's an email address. > > An email address can legitimately contain a space, see RFC 2822, > e.g. > "some x user"@example.com Yeah I know, but I'm quietly ignoring that possibility. I haven't seen one the last four-five

Re: perl experts - \1 better written as $1 ?

2010-06-10 Thread Mark Martinec
Per, > >> There are no spaces in the string, it's an email address. An email address can legitimately contain a space, see RFC 2822, e.g. "some x user"@example.com > >> I did try using $1 on the right side of the s///, but it didn't work. Most weird. Which version of perl? Try this: $ perl

Re: SA checking of authenticated users' messages

2010-06-10 Thread Karsten Bräckelmann
On Thu, 2010-06-10 at 03:08 -0400, Louis Guillaume wrote: > On 6/9/10 7:40 AM, Karsten Bräckelmann wrote: > > > Recently I've had a lot of reports of returned mail from authenticated > > > users. The messages are being bounced on the way out. > > > > You forgot to provide the reason (SA rules hit

Re: SA checking of authenticated users' messages

2010-06-10 Thread Greg Troxel
Louis Guillaume writes: > On 6/9/10 7:40 AM, Karsten Bräckelmann wrote: >> On Wed, 2010-06-09 at 01:51 -0400, Louis Guillaume wrote: >>> Recently I've had a lot of reports of returned mail from authenticated >>> users. The messages are being bounced on the way out. >> >> You forgot to provide th

Re: perl experts - \1 better written as $1 ?

2010-06-10 Thread Per Jessen
Karsten Bräckelmann wrote: > On Thu, 2010-06-10 at 12:08 +0200, Per Jessen wrote: >> > > I have a bit of SA code where I strip leading and trailing >> > > whitespace >> > > >> > > foreach (@addrs) { s/^\s*([^\s]+)\s*$/\1/; } >> > > >> > > Whenever I run this I get the warning "\1 better writte

Re: How do I get better processing/delivery times?

2010-06-10 Thread Matt Kettler
On 6/9/2010 7:51 PM, Spiro Harvey wrote: > I maintain a mail cluster that gets about 70,000 messages a day per > node. > > I'm just wondering if it's possible to decrease the scan times. In the > TOTALS section AvgTm is the average "scantime" in the spamassassin log > file: > > (Delivered are messa

Re: perl experts - \1 better written as $1 ?

2010-06-10 Thread Karsten Bräckelmann
On Thu, 2010-06-10 at 12:08 +0200, Per Jessen wrote: > > > I have a bit of SA code where I strip leading and trailing whitespace > > > > > > foreach (@addrs) { s/^\s*([^\s]+)\s*$/\1/; } > > > > > > Whenever I run this I get the warning "\1 better written as $1" which > > > I understand to be pe

Re: Rule overlap

2010-06-10 Thread Ned Slider
On 06/10/2010 10:45 AM, Matus UHLAR - fantomas wrote: On 09.06.10 10:10, Bowie Bailey wrote: I was looking at the hits on a drug spam and I noticed these two: * 1.1 NO_PRESCRIPTION BODY: No prescription needed * 1.5 FB_NO_SCRIP_NEEDED BODY: Phrase: no prescription needed. The rules themselves

Re: perl experts - \1 better written as $1 ?

2010-06-10 Thread Per Jessen
Mark Martinec wrote: > Per, > >> I have a bit of SA code where I strip leading and trailing whitespace >> - >> foreach (@addrs) { s/^\s*([^\s]+)\s*$/\1/; } >> Whenever I run this I get the warning "\1 better written as $1" which >> I understand to be perl telling me that the right side of s///

Re: Rule overlap

2010-06-10 Thread Matus UHLAR - fantomas
On 09.06.10 10:10, Bowie Bailey wrote: > I was looking at the hits on a drug spam and I noticed these two: > > * 1.1 NO_PRESCRIPTION BODY: No prescription needed > * 1.5 FB_NO_SCRIP_NEEDED BODY: Phrase: no prescription needed. > > The rules themselves are very similar. Should these two be combin

Re: perl experts - \1 better written as $1 ?

2010-06-10 Thread Mark Martinec
Per, > I have a bit of SA code where I strip leading and trailing whitespace - > foreach (@addrs) { s/^\s*([^\s]+)\s*$/\1/; } > Whenever I run this I get the warning "\1 better written as $1" which I > understand to be perl telling me that the right side of s/// should use > $digit, not \digit.

Re: Rule overlap

2010-06-10 Thread Matus UHLAR - fantomas
On 09.06.10 10:10, Bowie Bailey wrote: > I was looking at the hits on a drug spam and I noticed these two: > > * 1.1 NO_PRESCRIPTION BODY: No prescription needed > * 1.5 FB_NO_SCRIP_NEEDED BODY: Phrase: no prescription needed. > > The rules themselves are very similar. Should these two be combin

Re: perl experts - \1 better written as $1 ?

2010-06-10 Thread Stefan Hornburg (Racke)
On 06/10/2010 08:36 AM, Per Jessen wrote: I have a bit of SA code where I strip leading and trailing whitespace - foreach (@addrs) { s/^\s*([^\s]+)\s*$/\1/; } Whenever I run this I get the warning "\1 better written as $1" which I understand to be perl telling me that the right side of s/// sho

Re: SA checking of authenticated users' messages

2010-06-10 Thread Louis Guillaume
On 6/9/10 7:40 AM, Karsten Bräckelmann wrote: On Wed, 2010-06-09 at 01:51 -0400, Louis Guillaume wrote: Recently I've had a lot of reports of returned mail from authenticated users. The messages are being bounced on the way out. You forgot to provide the reason (SA rules hit) for the messages