
October 6th, 2004, 11:12 PM
|
 |
Second highest poster :p
|
|
|
|
|
Spamassassin Issues - blank lines in header causing problem in client
We recently installed Spamassassin on our Exchange 2003 server using the Exchange SpamAssassin SMTP Sink by Christopher G. Lewis and it was been working well. The only problem we have encountered involves HTML messages generate by scripts on our web server.
When Spamassassin processes the message it adds in the header "X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on exchange.wabusinessnews.com.au". After this header is a blank line and then the rest of the headers are there. The problem is that due to this blank line the clients (Outlook 2003) display the remaining headers in the body of the message. The From, MIME-Version and Content-type headers are added into the mail message by our PHP script with \r\n new lines after each line.
Below is a copy of the complete headers (with email addresses removed) and our config file for you to have a look at.
Code:
*********** HEADERS ***********
thread-index: AcSsIBXJzA86/1GIT2OERtrS/7bbiQ==
Received: from mail ([10.0.0.100]) by wabusinessnews.com.au with Microsoft SMTPSVC(6.0.3790.0); Thu, 7 Oct 2004 11:45:27 +0800
Received: from ws-2.netregistry.net (ws-2.netregistry.net [203.202.16.105]) by gw-lan ([203.202.109.205]); Thu, 07 Oct 2004 03:31:27 +0000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.181
Received: from nobody by ws-2.netregistry.net with local (Exim 3.35 #1 (Debian)) id 1CFPE7-00008n-00 for <*********@wabusinessnews.com.au>; Thu, 07 Oct 2004 13:45:59 +1000
To: <********@wabusinessnews.com.au>
Subject: Email Message
From: <********@wabusinessnews.com.au>
X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on exchange.wabusinessnews.com.au
MIME-Version: 1.0
Content-type: text/html; charset=iso-8859-1
Message-Id: <E1CFPE7-00008n-00@ws-2.netregistry.net>
Date: Thu, 07 Oct 2004 13:45:59 +1000
Return-Path: nobody@cthulhu.netregistry.net
X-OriginalArrivalTime: 07 Oct 2004 03:45:27.0550 (UTC) FILETIME=[15A851E0:01C4AC20]
Code:
********** CONFIG FILE **************
use_razor2 0
use_dcc 0
use_pyzor 0
fold_headers 0
remove_header ham Level
remove_header ham Status
__________________
- Andreas Koepke
Links:
|