Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

SPAM Assassin 2.63 & Priority Header

Quote Reply
SPAM Assassin 2.63 & Priority Header
Hi.

GM -2.2.0
The Header Has This Entry:

X-Priority: Normal

However, Spam Assassin (2.63) always assigns a SPAM Score with Following Check:

PRIORITY_NO_NAME

What does this mean and how to get over this Score being Added due to the above though the X-Priority header is there?

TIA
Anup
Quote Reply
Re: [anup123] SPAM Assassin 2.63 & Priority Header In reply to
Looking at the SpamAssassin rules, that means: "Message has priority setting, but no X-Mailer". If you want to stop this rule from being added to your mail, add in a X-Mailer: something to mail sent out from Gossamer Mail. You can do this by adding it to Setup => Outgoing Email => Header & Footer => Headers.

Adrian
Quote Reply
Re: [brewt] SPAM Assassin 2.63 & Priority Header In reply to
Hi Adrian.

I tried all combination:

X-Mailer: Something By Name

Still the mail has this:

X-Spam-Status: No, hits=0.8 required=5.0 tests=PRIORITY_NO_NAME autolearn=no version=2.63

And nowehere in the Header do i see the Added Header...

Any clue

TIA
Anup
Quote Reply
Re: [brewt] SPAM Assassin 2.63 & Priority Header In reply to
Hi Adrian.

I disabled the SA and then checked the headers.
The included X-Mailer in the Admin>Setup>Outgoing....

Is no where seen in the headers of the Mails sent by GM.
Is this normal?
I had included the same only for the Template being used.... (singlke template acrosss all sites).

Thnx
Anup
Quote Reply
Re: [anup123] SPAM Assassin 2.63 & Priority Header In reply to
It looks like it's a bug in GT/Mail.pm, here's a diff:
Code:
diff -u -r1.61 Mail.pm
--- Mail.pm 13 Jan 2004 01:35:15 -0000 1.61
+++ Mail.pm 2 Jun 2004 19:17:14 -0000
@@ -81,7 +81,6 @@
elsif (ref $_[0] eq 'HASH') { $opt = shift }

$self->{_debug} = exists($opt->{debug}) ? delete $opt->{debug} : $DEBUG;
- $self->{'X-Mailer'} = exists($opt->{'X-Mailer'}) ? delete $opt->{'X-Mailer'} : "GT::Mail $VERSION (Site: http://www.gossamer-threads.com; OS: $^O)";
$self->{smtp} = delete $opt->{smtp} || '';
$self->{smtp_port} = delete $opt->{smtp_port} || '';
$self->{smtp_ssl} = delete $opt->{smtp_ssl} || '';

Adrian
Quote Reply
Re: [brewt] SPAM Assassin 2.63 & Priority Header In reply to
Despite having updated all copies of GT::Mail (as last desparate attempt), even then this does not take care of the issue.

Sorry for reopening this issue after 3 months, but that's the way it stands even after updating all copies of GT::Mail with the fix suggested. And yes, i restarted the httpd after making the changes...

Thnx
HyTC
Quote Reply
Re: [brewt] SPAM Assassin 2.63 & Priority Header In reply to
Hi.

Is there anything else that needs to be done to get this working?
Currently, _It_Does_Not_Work_ (now on SpamAssassin 3.0.0)

Thanks
HyTC

Last edited by:

HyperTherm: Oct 10, 2004, 5:39 AM