Argh.  Nevermind.  I found the local CHANGE file for our systemwide install
of SA, and it turns out our sysadmin made a customization:

lib/Mail/SpamAssassin/PerMsgStatus.pm

 - after 229 (among the other s/// transformations)

     # MPR 5/12/03
     # add prefix to report
     s/^/SPAM: /gm;

   restores behavior still document but lost somewhere between 2.43-2.53
   sa_client.pl needs report to be prefixed with "SPAM: " to work properly

Where sa_client.pl is his custom Perl version of spamc, I think.  *Sigh*.

--Darryl

----- Original Message -----
From: "Darryl Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 01, 2003 12:47 AM
Subject: [SAtalk] Prepended SPAM: ?


> So I installed 2.5.5 in my user environment, and it was working fine.
>
> Interestingly, the SA report did *not* have SPAM: prepended to every
> line.  I didn't customize the report template at all.
>
> Shortly thereafter, my web/mailhost installed 2.5.4, including
> spamd.  I decided to start using it, since spamc was much more
> efficient than running the full spamassassin for every mail.
>
> However I noticed that SPAM: started getting prepended to every
> line of the report.  When I looked in the systemwide conf file, I
> saw the following:
>
> ## OLD-STYLE TEMPLATE FOR BODY REPORT
>
> clear_report_template
> report -------------------- Start SpamAssassin
results ----------------------
> report This mail is probably spam.  The original message has been altered
> report so you can recognise or block similar unwanted mail in future.
> report See http://spamassassin.org/tag/ for more details.
> report
> report Content analysis details:   (_HITS_ points, _REQD_ required)
> report _SUMMARY_
> report -------------------- End of SpamAssassin
results ---------------------
>
> Hrm, ok, suddently I was getting extra ------ lines in the suspected
> spam I had to review (easily removed), no Content preview (remedied
> with the _PREVIEW_ variable that I guessed on, but couldn't find
> documented anywhere), and arrrrgh, the annoying SPAM: prefix on every
> line.
>
> Since it's getting filtered into my suspected spam folder (via the
> X-Spam-Flag), I really don't need that SPAM: prepend.
>
> So what gets me is, ok, fine, I'm using the system's version, I'll
> live.  But where in the code is SPAM: getting prepended?  I grepped
> through my locally installed copy of SA couldn't find it.
>
> If they hadn't modified the system-wide default report template,
> would I not be seeing it?
>
> And oh, why isn't _PREVIEW_ documented anywhere?  I find it incredibly
> valuable,
>
> --
> Darryl Lee <[EMAIL PROTECTED]> | Bore yourself silly: <http://www.darryl.com>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
> _______________________________________________
> Spamassassin-talk mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk
>



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to