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

Re: config no subject rewrite, learning spam headers

2009-02-20 Thread Ray
RW googlemail.com> writes: > On Wed, 18 Feb 2009 23:00:03 + (UTC) > Ray misinformation.org> wrote: > > * How do I determine what the current SA config is? > > The locations where spamassassin looks for configuration are listed in > the main manpage. I managed to find the config directory on

Re: config no subject rewrite, learning spam headers

2009-02-20 Thread RW
On Wed, 18 Feb 2009 23:00:03 + (UTC) Ray wrote: > However, SA currently appears to be making spam > judgement and to be bayes autolearning. (A reasonable default setup > from the hosting provider.) > > * How do I determine what the current SA config is? The locations where spamassassin loo

config no subject rewrite, learning spam headers

2009-02-19 Thread Ray
I just moved to a new hosting provider who has Spamassassin 3.2.4 running (on some kind of Linux, 2.6.18-92.1.22.el5) and I'm otherwise unfamiliar with SA. I'd like some degree of control over what SA is doing, but config for this is proving confusing for me. Ideally if I could get SA just to mark

RE: Exiscan + subject rewrite not working

2006-02-19 Thread Terry Miller
ailto:[EMAIL PROTECTED] Sent: Sunday, February 19, 2006 3:40 PM To: Terry Miller Cc: users@spamassassin.apache.org Subject: Re: Exiscan + subject rewrite not working On Sun, 19 Feb 2006, Terry Miller wrote: > I looked this up and can't see where I'm doing anything wrong, but the >

Re: Exiscan + subject rewrite not working

2006-02-19 Thread Tony Finch
On Sun, 19 Feb 2006, Terry Miller wrote: > I looked this up and can't see where I'm doing anything wrong, but the > subject is not being rewritten. You should probably ask this question on the exim-users list. I suspect (but I am not certain) that exiscan doesn't support the message rewrite parts

Exiscan + subject rewrite not working

2006-02-19 Thread Terry Miller
I looked this up and can't see where I'm doing anything wrong, but the subject is not being rewritten. Some relevant data: /etc/mail/spamassassin/local.cf # How many hits before a message is considered spam. required_score 3.0 # Change the subject of suspected spam rewrite_header Subject *S

Re: subject rewrite

2005-09-23 Thread Christopher X. Candreva
On Fri, 23 Sep 2005, Michael Barnes wrote: I prefer: rewrite_header Subject [SPAM-Score-_HITS_] == Chris Candreva -- [EMAIL PROTECTED] -- (914) 967-7816 WestNet Internet Services of Westchester http://www.westnet.com/

Re: subject rewrite

2005-09-23 Thread Michael Barnes
On Fri, Sep 23, 2005 at 03:43:23PM -0400, Robert Swan wrote: > Hello all, I am wondering if anyone knows how to get the score of the > SPAM in the subject line with the rewrite. Right now I rewrite the > subject line with [SPAM] at the beginning but it would be helpful to > see the score in the sam

Re: subject rewrite

2005-09-23 Thread JamesDR
Robert Swan wrote: Hello all, I am wondering if anyone knows how to get the score of the SPAM in the subject line with the rewrite. Right now I rewrite the subject line with [SPAM] at the beginning but it would be helpful to see the score in the same place. Also I attach the original e-mail an

subject rewrite

2005-09-23 Thread Robert Swan
Hello all, I am wondering if anyone knows how to get the score of the SPAM in the subject line with the rewrite. Right now I rewrite the subject line with [SPAM] at the beginning but it would be helpful to see the score in the same place. Also I attach the original e-mail  and I use spamass

RE: Subject Rewrite - Added charectors

2005-08-24 Thread Matthew.van.Eerde
Steve Dimoff wrote: > Folks, > > We have in the SA conf: > > subject_tag [SPAM] > > We are running SA 2.63 > > Since today, we haven't had a problem with the rewrite, and today a > message came in as: > > [SPAM-P] > > ...I'm confused... of where the -P came from. Has anyone seen this >

Re: Subject Rewrite - Added charectors

2005-08-24 Thread Matt Kettler
Steve Dimoff wrote: > Folks, > > We have in the SA conf: > > subject_tag [SPAM] > > We are running SA 2.63 Warning: You have a DoS vulnerability in your version of SA. This vulnerability is in the mime parser, and can be exploited remotely by sending you a malformed message. Upgrade to 2.

Subject Rewrite - Added charectors

2005-08-24 Thread Steve Dimoff
Folks, We have in the SA conf: subject_tag [SPAM] We are running SA 2.63 Since today, we haven't had a problem with the rewrite, and today a message came in as: [SPAM-P] ...I'm confused... of where the -P came from. Has anyone seen this before? Or know why? Thanks, Steve

RE: Subject Rewrite not working

2004-11-19 Thread Elias Arends
1:46 PM To: SpamAssassin (E-mail) Subject: Re: Subject Rewrite not working Elias Arends wrote: > Platform: Solaris 8 > MTA: Postfix 2.1.5 > Software: SpamAssassin 2.64 > SQL: MySQL 4.0.21 > > I have fixed the issue with spamd querying MySQL with the "-u" option. > Tha

Re: Subject Rewrite not working

2004-11-19 Thread Kjetil Kjernsmo
On fredag 19 november 2004, 18:45, Jim Maul wrote: > I can not believe the number of times this question is asked on the > list > > :(   I guess it shows how many people dont read the documentation and > > dont search the archives. Yeah... I just tried to add this as an entry to the main FAQ Wiki

Re: Subject Rewrite not working

2004-11-19 Thread Jim Maul
Elias Arends wrote: Platform: Solaris 8 MTA: Postfix 2.1.5 Software: SpamAssassin 2.64 SQL: MySQL 4.0.21 I have fixed the issue with spamd querying MySQL with the "-u" option. Thanks. Now I have another problem. It seems that incoming spam is tagged properly in the headers, but the subject is not b

Subject Rewrite not working

2004-11-19 Thread Elias Arends
Platform: Solaris 8 MTA: Postfix 2.1.5 Software: SpamAssassin 2.64 SQL: MySQL 4.0.21 I have fixed the issue with spamd querying MySQL with the "-u" option. Thanks. Now I have another problem. It seems that incoming spam is tagged properly in the headers, but the subject is not being edited. Here a