Re: Subject rewriting not happening
Kevin W. Gagel wrote: I'm having a bit of trouble getting my subjects rewriten with sa 3.01. Any suggestions would be appreaciated. I'm using spamd/spamc. Here is an example of the headers that I do get added: Subject: =?Windows-1251?B?4PHy8O7r7uPo/yDiIOHo5+3l8eU=?= MIME-Version: 1.0 --snip-- My local.cf has this: rewrite_header subject ***SPAM {_Score(0)_}*** I think that's rewrite_header Subject, not rewrite_header subject Could be wrong though. Regards, Rick
Re: Subject rewriting not happening
Maybe change the order of report_safe and rewrite_header? Loren
Re: Subject rewriting not happening
Right you are Rick, however its still not coming out correctly I'm not getting the score in it. This is what I got: Subject: ***SPAM *** With local.cf set to: rewrite_header Subject ***SPAM _Score_*** - Original Message Follows - Date: Wed, 08 Dec 2004 16:33:45 -0500 ---snip--- My local.cf has this: rewrite_header subject ***SPAM {_Score(0)_}*** I think that's rewrite_header Subject, not rewrite_header subject Could be wrong though. Regards, Rick = Kevin W. Gagel Network Administrator Information Technology Services (250) 561-5848 local 448 -- The College of New Caledonia, Visit us at http://www.cnc.bc.ca Virus scanning is done on all incoming and outgoing email. --
Re: Subject rewriting not happening
On Wed, Dec 08, 2004 at 02:45:06PM -0800, Kevin W. Gagel wrote: With local.cf set to: rewrite_header Subject ***SPAM _Score_*** The tags are case sensisitve. _SCORE_ ... -- Randomly Generated Tagline: You guys are extremely inert today. - Prof. Brown pgppz9dSK8vAl.pgp Description: PGP signature
Re: Subject rewriting not happening
The template tags webpage has: ---Paste--- _SCORE(PAD)_ message score, if PAD is included and is either spaces or zeroes, then pad scores with that many spaces or zeroes (default, none) ie: _SCORE(0)_ makes 2.4 become 02.4, _SCORE(00)_ is 002.4. 12.3 would be 12.3 and 012.3 respectively. ---End Paste--- Assuming this is for version 3.01 which I'm using then this should work. I'm even trying _SCORE_ with no padding in it and can't get the score to show. Note: My original problem was using subject instead of Subject. Its now tagging but not adding the score at all. - Original Message Follows - From: Michael Barnes [EMAIL PROTECTED] To: Kevin W. Gagel [EMAIL PROTECTED] Subject: Re: Subject rewriting not happening Date: Wed, 8 Dec 2004 17:27:25 -0500 On Wed, Dec 08, 2004 at 01:28:11PM -0800, Kevin W. Gagel wrote: My local.cf has this: rewrite_header subject ***SPAM {_Score(0)_}*** My local.cf has: rewrite_header subject *SPAM* (score=_SCORE_/_REQD_) SA might not like the syntax '_Score(0)_' part. I'm too lazy to check, but that just does not look right to me. Give mine a shot to see if it does anything. I'm assuming you have done spamassassin --lint and started spamd with the -D flag already. If not, 99% of the time you will get an answer more quickly doing that than asking this list. Mike -- /-\ | Michael Barnes [EMAIL PROTECTED] | | UNIX Systems Administrator | | College of William and Mary | | Phone: (757) 879-3930 | \-/ = Kevin W. Gagel Network Administrator Information Technology Services (250) 561-5848 local 448 -- The College of New Caledonia, Visit us at http://www.cnc.bc.ca Virus scanning is done on all incoming and outgoing email. --