SA Bugzilla – Bug 3189
rewrite_header stopped working
Last modified: 2004-03-18 01:17:29 UTC
In local.cf I have rewrite_header Subject ***WORD*** In 3.0.0 of 2004-02-18 the Subject of spam messages was replacing as usual. After installing 2004-03-18 (and several subversions ago) this feature stopped working. Nothing new in Mail::SpamAssassin::Conf about it though.
Subject: Re: New: rewrite_header stopped working On Thu, Mar 18, 2004 at 09:10:12AM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote: > In 3.0.0 of 2004-02-18 the Subject of spam messages was replacing > as usual. After installing 2004-03-18 (and several subversions ago) > this feature stopped working. Nothing new in Mail::SpamAssassin::Conf about it > though. I really hate it when people break my code ... ;) fyi, "report_safe 1" works fine, but "report_safe 0" doesn't. I'm looking into it.
Subject: Re: New: rewrite_header stopped working On Thu, Mar 18, 2004 at 09:10:12AM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote: > > In local.cf I have > rewrite_header Subject ***WORD*** > > In 3.0.0 of 2004-02-18 the Subject of spam messages was replacing > as usual. After installing 2004-03-18 (and several subversions ago) > this feature stopped working. Nothing new in Mail::SpamAssassin::Conf about it > though. I can't reproduce this with HEAD using spamassassin or spamc. How are you calling SA? Michael
Subject: Re: rewrite_header stopped working On Thu, Mar 18, 2004 at 09:18:42AM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote: > > I can't reproduce this with HEAD using spamassassin or spamc. How are > you calling SA? > Nevermind as felicity said, it's something with report_safe 0. Michael
Subject: Re: rewrite_header stopped working On Thu, Mar 18, 2004 at 09:18:42AM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote: > http://bugzilla.spamassassin.org/show_bug.cgi?id=3189 > > ------- Additional Comments From parkerm@pobox.com 2004-03-18 09:18 ------- > Subject: Re: New: rewrite_header stopped working > > On Thu, Mar 18, 2004 at 09:10:12AM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote: > > > > In local.cf I have > > rewrite_header Subject ***WORD*** > > > > In 3.0.0 of 2004-02-18 the Subject of spam messages was replacing > > as usual. After installing 2004-03-18 (and several subversions ago) > > this feature stopped working. Nothing new in Mail::SpamAssassin::Conf about it > > though. > > I can't reproduce this with HEAD using spamassassin or spamc. How are > you calling SA? The configuration is: spamd running as daemon, spamc called from scanspam.sh: spamprep "$myCgate/$QueuePath" "$ReturnPath" "$Envelope" | spamc -t 60 -d XXXX -p XXXX -s 666000 -f >> "$myCgate/Submitted/$NewFile" spamprep simply cuts off the CGP headers of queue file. This is a strange error because this scheme was working properly for year (2.5x/2.6x/3.0.0). ________ ANDY >> Michael > > > > > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter.
Subject: Re: rewrite_header stopped working On Thu, Mar 18, 2004 at 09:17:47AM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote: > http://bugzilla.spamassassin.org/show_bug.cgi?id=3189 > > ------- Additional Comments From felicity@kluge.net 2004-03-18 09:17 ------- > Subject: Re: New: rewrite_header stopped working > > On Thu, Mar 18, 2004 at 09:10:12AM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote: > > In 3.0.0 of 2004-02-18 the Subject of spam messages was replacing > > as usual. After installing 2004-03-18 (and several subversions ago) > > this feature stopped working. Nothing new in Mail::SpamAssassin::Conf about it > > though. > > I really hate it when people break my code ... ;) > > fyi, "report_safe 1" works fine, but "report_safe 0" doesn't. I'm looking You are right: we have "report_safe 0" and can't change this :((( > into it. Many thanks! ________ ANDY > > > > > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter.
ok, fixed in head. :) r9592
Subject: Re: rewrite_header stopped working On Thu, Mar 18, 2004 at 10:17:30AM -0800, bugzilla-daemon@bugzilla.spamassassin.org wrote: > http://bugzilla.spamassassin.org/show_bug.cgi?id=3189 > > felicity@kluge.net changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|NEW |RESOLVED > Resolution| |FIXED > > > > ------- Additional Comments From felicity@kluge.net 2004-03-18 10:17 ------- > ok, fixed in head. :) r9592 THNX!!! One silly question: why do you use "[ \t]*", not "\s*"? ________ ANDY > > > > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter.