Re: Subject Rewrite Based on Score

2009-10-08 Thread MySQL Student
Hi, > It still is spawning a Perl process per message. You can do away with > that processing hog, if you use the add_header rule I mentioned before > and have SA do it instead. You may be right. I'll have to investigate doing this for this specific user only. Thanks for the info. Thanks, Alex

Re: Subject Rewrite Based on Score

2009-10-08 Thread Karsten Bräckelmann
On Thu, 2009-10-08 at 14:45 -0400, MySQL Student wrote: > > That sounds overly complicated and like a lot of wasted cycles. Calling > > a Perl script for each message? What you just described sounds a hell of > > lot like this light-weight SA configuration: > > Yes, I should have mentioned that it

Re: Subject Rewrite Based on Score

2009-10-08 Thread MySQL Student
Hi, > That sounds overly complicated and like a lot of wasted cycles. Calling > a Perl script for each message? What you just described sounds a hell of > lot like this light-weight SA configuration: Yes, I should have mentioned that it is a copy of the mail that users receive and only visible by

Re: Subject Rewrite Based on Score

2009-10-08 Thread jdow
From: "Jason Bertoch" Sent: Thursday, 2009/October/08 09:01 Shane Webster wrote: Spamassassin Version 3.2.5 I am curious if it is possible to rewrite the subject based on the value of the score. A example of this would be if a score of 4.0 was given the subject would state [Potential Spam],

Re: Subject Rewrite Based on Score

2009-10-08 Thread John Hardin
On Thu, 8 Oct 2009, LuKreme wrote: You can do this easily with procmail. DOGPILE! :) -- John Hardin KA7OHZhttp://www.impsec.org/~jhardin/ jhar...@impsec.orgFALaholic #11174 pgpk -a jhar...@impsec.org key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B

Re: Subject Rewrite Based on Score

2009-10-08 Thread Karsten Bräckelmann
On Thu, 2009-10-08 at 13:47 -0400, MySQL Student wrote: > We do something similar here using a procmail/formail script which > calls a perl script to match on X-Spam-Status then rewrite the subject > to include the bayes score prepended to the subject. *boggle* That sounds overly complicated and

Re: Subject Rewrite Based on Score

2009-10-08 Thread LuKreme
On 8-Oct-2009, at 09:39, Shane Webster wrote: I am curious if it is possible to rewrite the subject based on the value of the score. A example of this would be if a score of 4.0 was given the subject would state [Potential Spam], but if it was 5.0-10.0 then it is [SPAM] if it was greater th

Re: Subject Rewrite Based on Score

2009-10-08 Thread Benny Pedersen
On tor 08 okt 2009 19:26:10 CEST, Shane Webster wrote I actually would be doing that but the filter does not know how to handle int(), try using: X-Spam-Level header so -- xpoint

Re: Subject Rewrite Based on Score

2009-10-08 Thread MySQL Student
Hi, >  I actually would be doing that but the filter does not know how to >  handle int(), so I would have to build a filter for all possible number >  combinations, but if I could just get SA to do the basic math for me and >  write a header or subject I can filter off of that. We do something s

Re: Subject Rewrite Based on Score

2009-10-08 Thread John Hardin
On Thu, 8 Oct 2009, Shane Webster wrote: I actually would be doing that but the filter does not know how to handle int(), so I would have to build a filter for all possible number combinations, You could check the asterisks in X-Spam-Level: if match X-Spam-Level: ** subject -> [ULTRA

Re: Subject Rewrite Based on Score

2009-10-08 Thread Mark Martinec
On Thursday 08 October 2009 19:26:10 Shane Webster wrote: > I actually would be doing that but the filter does not know how to > handle int(), so I would have to build a filter for all possible number > combinations, but if I could just get SA to do the basic math for me and > write a header or

Re: Subject Rewrite Based on Score

2009-10-08 Thread Shane Webster
I actually would be doing that but the filter does not know how to handle int(), so I would have to build a filter for all possible number combinations, but if I could just get SA to do the basic math for me and write a header or subject I can filter off of that. On Thu, 2009-10-08 at 20:21 +0300

Re: Subject Rewrite Based on Score

2009-10-08 Thread Jari Fredriksson
> Spamassassin Version 3.2.5 > > I am curious if it is possible to rewrite the subject > based on the value of the score. A example of this would > be if a score of 4.0 was given the subject would state > [Potential Spam], but if it was 5.0-10.0 then it is > [SPAM] if it was greater then 10.0 it w

Re: Subject Rewrite Based on Score

2009-10-08 Thread Shane Webster
I will look into doing this, thank you. On Thu, 2009-10-08 at 19:02 +0200, Karsten Bräckelmann wrote: > On Thu, 2009-10-08 at 12:01 -0400, Jason Bertoch wrote: > > Shane Webster wrote: > > > I am curious if it is possible to rewrite the subject based on the value > > > of the score. A example of t

Re: Subject Rewrite Based on Score

2009-10-08 Thread Karsten Bräckelmann
On Thu, 2009-10-08 at 12:01 -0400, Jason Bertoch wrote: > Shane Webster wrote: > > I am curious if it is possible to rewrite the subject based on the value > > of the score. A example of this would be if a score of 4.0 was given the > > subject would state [Potential Spam], but if it was 5.0-10.0 t

Re: Subject Rewrite Based on Score

2009-10-08 Thread Eddie Hallahan
To be honest it sounds like you want MailScanner. Eddie Hallahan Enterprise Management Consulting www.emcuk.com Enterprise Management Consulting is a company registered in England and Wales with company number 3134544. VAT registration number is 681038440. Shane Webster wrote: > Spamassassin

Re: Subject Rewrite Based on Score

2009-10-08 Thread Jason Bertoch
Shane Webster wrote: Spamassassin Version 3.2.5 I am curious if it is possible to rewrite the subject based on the value of the score. A example of this would be if a score of 4.0 was given the subject would state [Potential Spam], but if it was 5.0-10.0 then it is [SPAM] if it was greater then

Subject Rewrite Based on Score

2009-10-08 Thread Shane Webster
Spamassassin Version 3.2.5 I am curious if it is possible to rewrite the subject based on the value of the score. A example of this would be if a score of 4.0 was given the subject would state [Potential Spam], but if it was 5.0-10.0 then it is [SPAM] if it was greater then 10.0 it would be [SUPER