On Mon, 13 Jun 2005, David F. Skoll wrote:

It should go in filter_end.

And check $RelayAddr to make the decision as to whether or not to
rebuild.

Many people lose sight of the fact that ALL information in
filter_{relay,sender,recipient} is available in filter_end too.

Thanks David. It worked great in filter_end. As a side question for the MIME gurus, is there anything wrong with the MIME message below (domain and ip munged)? The app creates a multipart no matter what. However when the part only has one line and no CR, some clients display the mime correctly, other clients (namely our primary webmail client) display a blank body. Simply adding a CR at the end of the line fixes everything, but it's hard to explaing to 2500 faculty to add a blank line when your message only contains one line...

When i did action_rebuild (see below), mimedefang just got rid of the multipart stuff altogether, which also works fine.


From [EMAIL PROTECTED]  Mon Jun 13 22:54:23 2005
Return-Path: <[EMAIL PROTECTED]>
Received: from norm.xxx.edu (hb-norm.xxx.edu [192.168.1.19])
        by mailstore.xxx.edu (8.13.3/8.13.3) with ESMTP id j5E3sNqt031014
        for <[EMAIL PROTECTED]>; Mon, 13 Jun 2005 22:54:23 -0500
Received: from snape.csd.xxx.edu (snape.csd.xxx.edu [192.168.1.65])
        by norm.xxx.edu (8.13.3/8.13.3) with ESMTP id j5E3sMiD003638
        for <[EMAIL PROTECTED]>; Mon, 13 Jun 2005 22:54:22 -0500
Received: from snape.csd.xxx.edu (localhost.localdomain [127.0.0.1])
        by snape.csd.xxx.edu (8.11.6/8.11.6) with ESMTP id j5E3sMb19800;
        Mon, 13 Jun 2005 22:54:22 -0500
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 13 Jun 2005 22:54:22 -0500 (CDT)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test
Mime-Version: 1.0
Content-Type: multipart/mixed;
        boundary="----=_Part_0_27687351.1118721262207"
X-Spam-Tests: ALL_TRUSTED,BAYES_00,NO_REAL_NAME
X-Relay: 192.168.1.65
X-WebMail-UserID: Suppressed
X-Scanned-By: MIMEDefang 2.51 on 192.168.1.85
Status: RO
X-Status:
X-Keywords:
X-UID: 6

------=_Part_0_27687351.1118721262207
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

test
------=_Part_0_27687351.1118721262207--


Here is the message after a MD action_rebuild:

From [EMAIL PROTECTED]  Mon Jun 13 22:56:32 2005
Return-Path: <[EMAIL PROTECTED]>
Received: from norm.xxx.edu (hb-norm.xxx.edu [192.168.1.19])
        by mailstore.xxx.edu (8.13.3/8.13.3) with ESMTP id j5E3uWxI031298
        for <[EMAIL PROTECTED]>; Mon, 13 Jun 2005 22:56:32 -0500
Received: from snape.csd.xxx.edu (snape.csd.xxx.edu [192.168.1.65])
        by norm.xxx.edu (8.13.3/8.13.3) with ESMTP id j5E3uVd2004305
        for <[EMAIL PROTECTED]>; Mon, 13 Jun 2005 22:56:32 -0500
Received: from snape.csd.xxx.edu (localhost.localdomain [127.0.0.1])
        by snape.csd.xxx.edu (8.11.6/8.11.6) with ESMTP id j5E3uVb19865;
        Mon, 13 Jun 2005 22:56:31 -0500
Message-ID: <[EMAIL PROTECTED]>
Date: Mon, 13 Jun 2005 22:56:31 -0500 (CDT)
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-Spam-Tests: ALL_TRUSTED,BAYES_00,NO_REAL_NAME
X-Relay: 192.168.1.65
X-WebMail-UserID: Suppressed
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
X-Scanned-By: MIMEDefang 2.51 on 192.168.1.85
Status: O
X-Status:
X-Keywords:
X-UID: 7

test
_______________________________________________
Visit http://www.mimedefang.org and http://www.roaringpenguin.com
MIMEDefang mailing list
[email protected]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to