Attachment descriptions and ignore types

From: Paul Haldane <>
Date: Thu, 16 Sep 1999 14:34:39 +0100 (GMT)
Message-ID: <>

Running the attached mailbox through
hypermail: Version: 2a24 Patchlevel: 0
with a config file containing
hm_ignore_types = text/x-vcard

gives incorrect output for the second message

      text/enriched attachment: Card for A B

because there's no description given for the mime part in the second message and the description from the first message hasn't been zapped as the vcard was ignored.

I think the fix for this is to reset description to NULL whenever we start processing headers. The following patch to parse.c works for me - fixes the problem and didn't core dump when run on this month's archives, but I've done no more testing than that.


+       description = NULL;
          for (head = headp; head; head=head->next) {
            if(head->parsedheader || !head->header)

From a_at_b.c Sun May 9 09:26:45 1999
Message-ID: <37354723.B228ED7C_at_b.c>
Date: Sun, 09 May 1999 18:28:19 +1000
MIME-Version: 1.0
Content-Type: multipart/mixed;
 boundary="------------CEB5A647C267CE657FB74497" Subject: Distance-learning programmes
From: a_at_b.c
To: list_at_listhost

This is a multi-part message in MIME format.

Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit



Content-Type: text/x-vcard; charset=us-ascii;  name="AB.vcf"

Content-Transfer-Encoding: 7bit
Content-Description: Card for A B
Content-Disposition: attachment;



From d_at_e.f Mon May 17 00:16:47 1999
Message-Id: <> Date: Mon, 17 May 1999 09:13:51 +1000
Mime-Version: 1.0
Content-Type: text/enriched; charset="us-ascii" Subject: New study day
From: d_at_e.f
To: list_at_listhost

Yes, and more information would be useful. I am trying to set up Received on Thu 16 Sep 1999 03:38:04 PM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:51 PM GMT GMT