Hi,
Does anyonme know of a way to filter non-text attahments (such as
Netscape V-Cards) from messages so as to be able to show Fronters & Footers
that Majordomo attaches to list messages?
It seems that the problem lies in parsing Multipart MIME attachments.
Majordomo Doesn't parse them so when the headers and footers are attached
they end up in a location which renders them not visible through mail
readers which do parse MIME mail (NS Messenger etc).
For example, I attached headers to a test list, and was disoppointed
to find that they were not being displayed when the message I sent to the
list was viewed by subscribers, through 'MIME aware' mail readers. It
wasn't until I setup an archive, and saw the message Majordomo was sending
back.
Example MEssage Follows:
---
Message-ID: <367FBC5D.2F88FB81@americasm01.nt.com>
Date: Tue, 22 Dec 1998 10:35:57 -0500
From: "Hill, Colin (C.T.) [EXCHANGE:BNRTP:3N24:NT]"
<hillct@americasm01.nt.com>
Organization: Nortel Networks Inc.
X-Sender: "Colin Hill" <@zrtpd00x> (Unverified)
X-Accept-Language: en
MIME-Version: 1.0
To: test@zrtph02h.us.nortel.com
Subject: Second attempt at archival
Content-Type: multipart/mixed;
boundary="------------AC2F8605CC4351B5F0F5FE46"
Sender: owner-test@zrtph02h.us.nortel.com
Precedence: bulk
Header for Message sent to the PCNT test mailing list subscribers
--------------AC2F8605CC4351B5F0F5FE46
Content-type: text/plain; charset="us-ascii"
A Fronter and footer should appear above and below this line (This is the
message body).
--------------AC2F8605CC4351B5F0F5FE46
Content-type: text/x-vcard; charset="us-ascii"; name="hillct.vcf"
Content-transfer-encoding: 7bit
Content-Description: Card for Colin Hill
Content-Disposition: attachment;filename="hillct.vcf"
n:Hill;Colin
tel;pager:
tel;fax:
tel;work:(919) 991-8324
x-mozilla-html:TRUE
org:Nortel Networks Inc.
version:2.1
email;internet:hillct@nortelnetworks.com
title:Intranet Systems Specialist
adr;quoted-printable:;;35 Davis Drive=0D=0AMailstop
808017;Durham;NC;27709;USA
x-mozilla-cpt:;-30576
fn:Hill, Colin
end:vcard
--------------AC2F8605CC4351B5F0F5FE46--
Footer for Message posted to the PCNT test mailing list
--- End Example Message
Note the location of the headers and footers Majordomo inserts.
The lines are:
Header for Message sent to the PCNT test mailing list subscribers
AND
Footer for Message posted to the PCNT test mailing list
Majordomo inserts them outside of the txt portion of the message. Is
there any way to correct this? Perhaps by filtering out all attachments
(assuming the first body text after a mime header of Content-type:
text/plain is the only meaningful body text).
As I finish composing this I am beginning to realize that the solution
is something best incorporated into MJ2 if no one has written a patch or
filter to adress this issue. So, having rambled on this long, back to my
question Has anyone run up against this and/or come up with a solution
which allows the display of Fronters/Footers in multipart mail?
Regards (Happy Holidays)
Colin T. Hill
Nortel Networks Inc
References:
|
|