I had to do some undoing to get this to work, but I ended up getting it.
First I had to modify my majordomo.cf $global_taboo_headers to allow the attachment.
Second, I had to set my mail user agent (Netscape Communicator) to not wrap messages at 72 characters.
Third, I set my mail reader to view all headers.
Forth, I attached an 8K zip file to a message to my test list. Even though I had made changes to my majordomo.cf, the message still bounced to the owner-list address/alias.
The message enclosed in @@@@@@@@@@ was the original bounce, and the message enclosed in &&&&&&&&&&&& is what I forwarded back into the test address.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Received: (from mj1945@localhost) by sonny.com (8.8.8/8.8.3) id RAA21062; Thu, 14 Sep 2000 17:00:10 -0500 (CDT)
Date: Thu, 14 Sep 2000 17:00:10 -0500 (CDT)
From: owner-test@sonny.com
Message-ID: <200009142200.RAA21062@sonny.com>
To: sonny@sonny.com
Subject: BOUNCE test@sonny.com: global taboo header: /^content-type:\s.*multi/i
>From owner-test Thu Sep 14 16:59:58 2000
Received: from netscape.com (h-205-217-228-106.netscape.com [205.217.228.106]) by sonny.com
(8.8.8/8.8.3) with ESMTP id QAA21048 for <test@sonny.com>; Thu, 14 Sep 2000 16:59:51 -0500
(CDT)
Message-ID: <39C14A49.71900C77@netscape.com>
Date: Thu, 14 Sep 2000 16:59:37 -0500
From: Dan Liston <dliston@netscape.com>
Organization: iPlanet E-Commerce Solutions, A Sun Netscape Alliance
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: test@sonny.com
Subject: attachments
Content-Type: multipart/mixed;
boundary="------------74FF034AC5DFC92E73DFBCF9"
This is a multi-part message in MIME format.
--------------74FF034AC5DFC92E73DFBCF9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Approved: test.password
This is only a test to see if I can attach a file (smaller than 40k).
Dan
Forth try. Sending message to test@sonny.com now.
Fifth try. Removed taboo setting from majordomo.cf.
--------------74FF034AC5DFC92E73DFBCF9
Content-Type: application/x-zip-compressed;
name="somefile.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="somefile.zip"
UEsDBBQAAgAIAGGqmSg9r8I9Ew4AACYyAAAIABUAQ09SRS5ORk9VVAkAA6XvBTml7wU5VXgE
[Snipped more of these kind of lines.....]
ICAgICAgICAgICAgICAgICAgICAgICAgICAgR2VuZXNpcyAtLy0gUE5UaVNPIC0vLSBCU2lT
Tw==
--------------74FF034AC5DFC92E73DFBCF9--
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Approved: test.password
>From owner-test Thu Sep 14 16:59:58 2000
Message-ID: <39C14A49.71900C77@netscape.com>
Date: Thu, 14 Sep 2000 16:59:37 -0500
From: Dan Liston <dliston@netscape.com>
Organization: iPlanet E-Commerce Solutions, A Sun Netscape Alliance
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: test@sonny.com
Subject: attachments
Content-Type: multipart/mixed;
boundary="------------74FF034AC5DFC92E73DFBCF9"
This is a multi-part message in MIME format.
--------------74FF034AC5DFC92E73DFBCF9
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
This is only a test to see if I can attach a file (smaller than 40k).
Dan
Forth try. Sending message to test@sonny.com now.
Fifth try. Removed taboo setting from majordomo.cf.
--------------74FF034AC5DFC92E73DFBCF9
Content-Type: application/x-zip-compressed;
name="somefile.zip"
Content-Transfer-Encoding: base64
Content-Disposition: inline;
filename="somefile.zip"
UEsDBBQAAgAIAGGqmSg9r8I9Ew4AACYyAAAIABUAQ09SRS5ORk9VVAkAA6XvBTml7wU5VXgE
[snipped all the compressed file information again]
ICAgICAgICAgICAgICAgICAgICAgICAgICAgR2VuZXNpcyAtLy0gUE5UaVNPIC0vLSBCU2lT
Tw==
--------------74FF034AC5DFC92E73DFBCF9--
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
Notice, when forwarding the message with the attachment back into the list address, I
made the "Approved: test.password" the first line, purged all Received: lines, removed
the blank line between boundry= and "This is a multi-", and I removed the old Approved:
line deeper down in the message so that the first line following the first blank space
was actually message content.
Dan Liston
Jordi Garcia Busquets wrote:
>
> Hi all.
>
> I have a problem with a moderated list. In order to approve the
> messages I use the manual system, that is, adding the line
> "Approved: password" to the beginning of the message (the scripts in
> perl never worked in our system). The problem I have now is that the
> messages that have attachments are not correctly send to the list. This is
> how an attachment looks like when the message arrives to the list:
>
> ---> Beg of message
>
> Disculpad las molestias.
>
> ****************************************************************************
> Jordi Garcia Busquets
> jordi@hades.udg.es
> Ingeniero técnico en Informática de Gestión
> Universidad de Girona. Catalunya. España
> ****************************************************************************
>
> ---830328708-1443518640-968251293=3D:1539
> Content-Type: APPLICATION/zip; name=3D"Prueba.zip"
> Content-Transfer-Encoding: BASE64
> Content-ID: <Pine.LNX.4.21.0009061641330.1539@hades.udg.es>
> Content-Description:=20
> Content-Disposition: attachment; filename=3D"Prueba.zip"
>
> UEsDBAoAAgAAAG+EJil3ATlmGAAAABgAAAAKAAAAUHJ1ZWJhLnR4dFRlIGRp
> amUgcXVlIGxvIGJvcnJhcmFzIVBLAQIUAAoAAgAAAG+EJil3ATlmGAAAABgA
> AAAKAAAAAAAAAAEAIAC2gQAAAABQcnVlYmEudHh0UEsFBgAAAAABAAEAOAAA
> AEAAAAAAAA=3D=3D
> ---830328708-1443518640-968251293=3D:1539--
>
> ---> End of message
>
>
> Here I was sending a zip file called "Prueba.zip".
>
> What am I doing wrong??
>
> Thanks.
>
> ****************************************
> Jordi Garcia Busquets
> jordi@hades.udg.es
> University of Girona. Catalunya. Spain
> ****************************************
References:
|
|