[Mimedefang] action_rebuild for particular relay

-ray ray at ops.selu.edu
Tue Jun 14 00:11:17 EDT 2005


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 ray at xxx.edu  Mon Jun 13 22:54:23 2005
Return-Path: <ray at xxx.edu>
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 <rdejean at xxx.edu>; 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 <rdejean at xxx.edu>; 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: <6308367.1118721262263.JavaMail.rdejean at xxx.edu>
Date: Mon, 13 Jun 2005 22:54:22 -0500 (CDT)
From: ray at xxx.edu
To: ray at xxx.edu
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 ray at xxx.edu  Mon Jun 13 22:56:32 2005
Return-Path: <ray at xxx.edu>
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 <rdejean at xxx.edu>; 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 <rdejean at xxx.edu>; 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: <6308367.1118721391727.JavaMail.rdejean at xxx.edu>
Date: Mon, 13 Jun 2005 22:56:31 -0500 (CDT)
From: ray at xxx.edu
To: ray at xxx.edu
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



More information about the MIMEDefang mailing list