QQQQ wrote:
| qqqq wrote:
| >I finally took the leap to SA 3.1 but am confused as to why the SA
| >X-Headers are prepended to the message and not appeneded like the
| >previous versions.  This is causing havoc on my Blackberry.  Is this
| >normal?
|
| What kind of havoc?  I haven't heard of any issues from the Blackberry
| users I know.
|
| Does your mail first go through a Windows based mail system?


No but here is what the headers look like:

X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on
 domain.com
X-Spam-Status: No, score=-2.4 required=5.2 tests=BAYES_00=-2.599,
 DNS_FROM_AHBL_RHSBL=0.231,HTML_MESSAGE=0.001,SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=no version=3.1.0
From mailnull  Thu Oct 20 23:42:08 2005
Return-Path: <[EMAIL PROTECTED]>
Received: from ccm08.roving.com (ccm08.roving.com [63.251.135.109])
etc....etc....etc.....

Something in your mail flow is broken. You've got what appears to be an mbox line:

>>From mailnull  Thu Oct 20 23:42:08 2005

right in the middle of your headers. It looks like whatever is calling SpamAssassin is prepending to an mbox entry. Weird. No wonder you've got problems. SpamAssassin will insert its headers after a Return-Path header found on THE FIRST LINE of the message, otherwise it will just prepend to the top, assuming that the mail server has yet to add a Return-Path header of its own. Loose the mbox line and you'll be set.


I looked at my older messages and they all start with the Return-Path header. Based on RFC 822, the X-Headers are supposed to be after the crucial info.

Even though the 23 year old RFC you cite has been obsoleted by RFC 2822, I'll quote it:

     4.1.  SYNTAX

     Note:  Due to an artifact of the notational conventions, the syn-
            tax  indicates that, when present, some fields, must be in
            a particular order.  Header fields  are  NOT  required  to
            occur  in  any  particular  order, except that the message
            body must occur AFTER  the  headers.   It  is  recommended
            that,  if  present,  headers be sent in the order "Return-
            Path", "Received", "Date",  "From",  "Subject",  "Sender",
            "To", "cc", etc.

That doesn't say they're supposed to be after the "crucial info". It may recommend it, but it's certainly not required. Doing so would break DomainKeys compatibility. Of course DomainKeys wasn't around 23 years ago, but neither was your Blackberry. Things change.


Daryl

Reply via email to