On Friday, Oct 25, 2002, at 13:06 Canada/Mountain, Robert Carsey wrote:
Should be pretty easy to do. the headers get added inI've read through the man page for Mail::SpamAssassin::Conf and did not find any option which will allow me to tell Spamassassin "hey, I don't want any X-Spam-Status" headers in my message.My boss doesn't want that line (and all of the test= lines which come after it) to appear in our e-mails. He only wants the X-Spam-Level: header (the spam-o-meter). Is there an option that I missed? Or should I buy a SpamAssassin developer some pizza and beer?
blib/lib/Mail/SpamAssassin/PerMsgStatus.pm
$self->{msg}->put_header ("X-Spam-Status", $_);
$self->{msg}->put_header ("X-Spam-Flag", 'YES');
if($self->{main}->{conf}->{spam_level_stars} == 1)
{
$self->{msg}->put_header("X-Spam-Level", "*"x int($self->{hits}));
}
$self->{msg}->put_header ("X-Spam-Checker-Version",
"SpamAssassin $Mail::SpamAssassin::VERSION ".
"($Mail::SpamAssassin::SUB_VERSION)");
I would think that commenting out the first two lines and the Version line it would take care of the headers.
Now, as for the test lines..
It looks like they are added in the same file
sub get_report {
my ($self) = @_;
return $self->{report};
}
I THINK that commenting out the return line it will take care of the report getting written to the email. test a lot first, of course.
-------------------------------------------------------
This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk