Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: SpamAssassin: users

Re: [sa] Re: I am getting all external domain emails subject tagged as SpamSpam

 

 

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded


cgregory at hwcn

Sep 30, 2009, 10:25 AM

Post #1 of 2 (297 views)
Permalink
Re: [sa] Re: I am getting all external domain emails subject tagged as SpamSpam

On Wed, 30 Sep 2009, Nauman Yousuf wrote:
> Guys I am getting all my external domain emails tagged as SpamSpam
> mail headers
> X-Amavis-Alert: BAD HEADER Improper folded header field made up entirely of
>    whitespace (char 20 hex): Subject: ...?Q?Spam?=\n
>    =?utf-8?Q?Spam=0D=0A=20helo123?=\n \n

Well, according to this, amavis doesn't like the fact that the 'Subject'
header is made up of many spaces. Looks like the original subject was
'heloo123' plus a BUNCH of spaces. An MTA has 'folded' them properly, but
AMAVIS considers this suspicious. Question would be, how did all those
spaces get in there in the first place? Are you running the message
through some sort of pre-process before sending it to SA?

There are also some clues in the SA rule match "SUBJECT_ENCODED_TWICE".
This suggests again, something is trying to encapsulate your subject
before it gets to spamassassin. If this is happening on ALL your mail,
then it is something in your front end.

- C


Mark.Martinec+sa at ijs

Sep 30, 2009, 11:02 AM

Post #2 of 2 (273 views)
Permalink
Re: [sa] Re: I am getting all external domain emails subject tagged as SpamSpam [In reply to]

On Wednesday 30 September 2009 19:25:52 Charles Gregory wrote:
> On Wed, 30 Sep 2009, Nauman Yousuf wrote:
> > Guys I am getting all my external domain emails tagged as SpamSpam
> > mail headers
> > X-Amavis-Alert: BAD HEADER Improper folded header field made up entirely
> > of whitespace (char 20 hex): Subject: ...?Q?Spam?=\n
> > =?utf-8?Q?Spam=0D=0A=20helo123?=\n \n
>
> Well, according to this, amavis doesn't like the fact that the 'Subject'
> header is made up of many spaces. Looks like the original subject was
> 'heloo123' plus a BUNCH of spaces. An MTA has 'folded' them properly, but
> AMAVIS considers this suspicious. Question would be, how did all those
> spaces get in there in the first place? Are you running the message
> through some sort of pre-process before sending it to SA?
>
> There are also some clues in the SA rule match "SUBJECT_ENCODED_TWICE".
> This suggests again, something is trying to encapsulate your subject
> before it gets to spamassassin. If this is happening on ALL your mail,
> then it is something in your front end.

You missed the point, it's not about 'many spaces' or 'trailing spaces',
but there was an illegal all-whitespace line in the header section,
just following the Subject, as reported:

Subject: ...?Q?Spam?=\n =?utf-8?Q?Spam=0D=0A=20h\
elo123?=\n \n
^^^^^

Mark

SpamAssassin users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.