Your message dated Sat, 12 Feb 2005 19:02:19 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#249823: fixed in metamail 2.7-47
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 19 May 2004 11:47:36 +0000
>From [EMAIL PROTECTED] Wed May 19 04:47:36 2004
Return-path: <[EMAIL PROTECTED]>
Received: from mailgate.rz.uni-karlsruhe.de [129.13.64.97] (exim)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1BQPXr-0001Rw-00; Wed, 19 May 2004 04:47:36 -0700
Received: from tpce14.tm.uka.de (i70pc09.tm.uni-karlsruhe.de [141.3.66.83])
        by mailgate.rz.uni-karlsruhe.de with esmtp (Exim 3.36 #1)
        id 1BQPXp-00045x-00; Wed, 19 May 2004 13:47:33 +0200
Received: from kraft by tpce14.tm.uka.de with local (Exim 3.36 #1 (Debian))
        id 1BQPXp-0002zi-00; Wed, 19 May 2004 13:47:33 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Daniel Kraft <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: metamail: additional option when handling unrecognized content types
X-Mailer: reportbug 2.58
Date: Wed, 19 May 2004 13:47:33 +0200
Message-Id: <[EMAIL PROTECTED]>
Sender: "Daniel Kraft <daniel.kraft>" <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: metamail
Version: 2.7-45.3
Severity: wishlist
Tags: patch

Some mail clients like to send attachments with content type
application/octet-stream, even if they obviously (e.g. from the
filename suffix) have a more specific type.  In that case, metamail
asks the user whether it should display the attachment as text, save
it, or skip it.  The following small patch adds as another option the
possibility to explicity give an other content type and process the
attachment accordingly.

Regards,
Daniel


--- metamail-2.7/src/metamail/metamail.c        2004-05-19 13:27:02.000000000 
+0200
+++ metamail-2.7-patched/src/metamail/metamail.c        2004-05-19 
13:21:31.000000000 +0200
@@ -404,7 +404,7 @@
                 if (FileWriteOnly) {
                     ans = 2;
                 } else {
-                    printf("\nWhat do you want to do with the %s data?\n1 -- 
See it as text\n2 -- Write it to a file\n3 -- Just skip it\n\n", octetstream ? 
"raw" : ContentType);
+                    printf("\nWhat do you want to do with the %s data?\n1 -- 
See it as text\n2 -- Write it to a file\n3 -- Just skip it\n4 -- Give another 
content type\n\n", octetstream ? "raw" : ContentType);
                     fgets(Fname, sizeof(Fname), stdin);
                     ans = atoi(Fname);
                 }
@@ -475,6 +475,24 @@
                         ConsumeRestOfPart(NULL);
                         return(0);
                         break;
+                   case 4:
+                     {
+                       char *savedContentType = ContentType;
+                       ContentType = malloc(64);
+                       printf("Please enter new content type> ");
+                       fflush(stdout);
+                       fgets(ContentType, 64, stdin);
+                       ContentType[strlen(ContentType) - 1] = '\0'; /* bogus 
newline */
+                       if (!ProcessMailcapFiles(SquirrelFile)) { 
+                         free(savedContentType); 
+                         return(0); 
+                       }
+                       printf("\nNo matching mailcap entry found.\n");
+                       free(ContentType);
+                       ContentType = savedContentType;
+                       ans = 0;
+                       break;
+                     }
                     default:
                         ans = 0;
                         break;


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (910, 'testing'), (101, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]

Versions of packages metamail depends on:
ii  libc6                       2.3.2.ds1-12 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-3        Shared libraries for terminal hand

-- no debconf information

---------------------------------------
Received: (at 249823-close) by bugs.debian.org; 13 Feb 2005 00:08:08 +0000
>From [EMAIL PROTECTED] Sat Feb 12 16:08:08 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1D07J1-0002q7-00; Sat, 12 Feb 2005 16:08:07 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1D07DP-0003ka-00; Sat, 12 Feb 2005 19:02:19 -0500
From: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#249823: fixed in metamail 2.7-47
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sat, 12 Feb 2005 19:02:19 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: metamail
Source-Version: 2.7-47

We believe that the bug you reported is fixed in the latest version of
metamail, which is due to be installed in the Debian FTP archive:

metamail_2.7-47.diff.gz
  to pool/main/m/metamail/metamail_2.7-47.diff.gz
metamail_2.7-47.dsc
  to pool/main/m/metamail/metamail_2.7-47.dsc
metamail_2.7-47_i386.deb
  to pool/main/m/metamail/metamail_2.7-47_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <[EMAIL PROTECTED]> (supplier of updated metamail 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 13 Feb 2005 10:43:55 +1100
Source: metamail
Binary: metamail
Architecture: source i386
Version: 2.7-47
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[EMAIL PROTECTED]>
Changed-By: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Description: 
 metamail   - implementation of MIME
Closes: 184410 245647 249823 285914
Changes: 
 metamail (2.7-47) unstable; urgency=low
 .
   * QA Group upload by Anibal Monsalve Salazar.
   * Fixed "Add/Improve SEE ALSO section for splitmail/mimeit" (Closes:
     #245647). Patch by Helge Kreutzmann <[EMAIL PROTECTED]>.
   * Fixed "8-bit encoding is supported by metamail but not by metasend script"
     (Closes: #285914). Patch by Sergey Kogan <[EMAIL PROTECTED]>.
   * Fixed "additional option when handling unrecognized content types"
     (Closes: #249823). Patch by Daniel Kraft <[EMAIL PROTECTED]>.
   * Fixed "debug message 'pre access' left in released version
     (Closes: #184410). Patch by <[EMAIL PROTECTED]>.
Files: 
 05cac31b16008b4a457c867339a35b5e 582 mail optional metamail_2.7-47.dsc
 57e512353a8e01f202506da2e7c942c7 340278 mail optional metamail_2.7-47.diff.gz
 d6c1df15429cc7ea59b37e6dfdf46e15 148474 mail optional metamail_2.7-47_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCDpbWgY5NIXPNpFURAnQNAJ9XBYYRDoBY7HO8ho+2uDuSaGPrvQCeLfqR
0X+6vyxI21ioRezjj1NjDiw=
=wZGy
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to