On 09/02/2010 22:56, Ted Mittelstaedt wrote:

I sometimes send email without adding a Subject line. I guess that makes
me "moronic" in your eyes. Oh well.

> OK I did it - and this one is really, really cool!!!

Not really.

> SA processes it and here's the result:
> 
> 
> From mau...@ionizer.nl Tue Feb  9 14:22:38 2010
> Return-Path: <mau...@ionizer.nl>
> Received: from nqcek.charter.com (71-87-206-218.dhcp.kgpt.tn.charter.com
> [71.87.206.218])
>         by mail.ipinc.net (8.13.8/8.13.8) with SMTP id o19MMY9W075540
>         for <newu...@ipinc.net>; Tue, 9 Feb 2010 14:22:35 -0800 (PST)
>         (envelope-from mau...@ionizer.nl)
> From: Bugarewicz <mau...@ionizer.nl>
> To: newu...@ipinc.net
> MIME-Version: 1.0
> Content-Type: multipart/mixed; boundary="----------=_4B71E02E.A0717A8B"
> Date: Tue, 09 Feb 2010 17:22:37 -0500
> Subject: *****SPAM*****
> Subject:

<snip rest of message>

> Thunderbird only displays the SECOND subject line.

So Thunderbird displays the last Subject line header it comes across. Is
that incorrect behaviour for an MUA? Is it valid for an email to have
more than one Subject line? Bring it up with Mozilla.

> Now, why the message that SA is creating is getting TWO Subject: lines
> is a different question.
> 
> cat -v does not show any non-printable chars.

Try saving it to disk and uploading it using the file upload method to
spamalyser.com. It might show characters that you can't see.

> Here's the original header from the SA attachment:

<snip to subject>

> Subject:

So that's just a blank subject line? Using SpamAssassin 3.3 here, if I
run this command:

echo -ne "Subject:\nX-Foo: bar\n\nviagra CIALIS\n"|spamassassin

I end up with a single Subject line of:

Subject: *****SPAM*****

And no additional empty subject line. That's how it should work.

-- 
Mike Cardwell    : UK based IT Consultant, Perl developer, Linux admin
Cardwell IT Ltd. : UK Company - http://cardwellit.com/       #06920226
Technical Blog   : Tech Blog  - https://secure.grepular.com/
Spamalyser       : Spam Tool  - http://spamalyser.com/

Reply via email to