Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-28-2003, 01:12 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 1

Rep: Reputation: 0
Angry mutt problem with decoding / saving attachments


I got the following problem with my mail-client mutt (1.5.4i debian unstable):
all attachments (seems not specific to a certain type of file) are displayed encoded and inline in the message body.

I also can't save them in the attachment menu, because there is only one item named "<no discription>" which contains the whole message _and_ the encoded attachment. That's not a thing I really like....

While looking for solutions (google, mutt manual, sample .muttrcs, etc.) I noticed that it might be about MIME, but I didn't manage to get it working, though. I see it's a multipart message and the second part is described with the option "Content-Disposition: attachment;", nevertheless it's shown in the body of the message!?

Some minutes ago, I tried the same on a debian stable box, and there it works! The attachment is separated from the message body and can be saved, too. There an attachment in the pager looks like this:
[-- Attachment #2: edit --]
[-- Type: text/plain, Encoding: 7bit, Size: 12K --]
I didn't find any differences in the config-files, but the version is different, of course: mutt 1.3.28i debian stable

By the way it's not the fault of the local mailserver / fetchmail / procmail, because another mail-client (evolution) has no problem to view the attachment.

After trying to solve this problem for more than two days now, I thought someone could possibly help me.

Thanks in advance.

attached a mail, and parts of /etc/mime.types and ./.mailcap

Envelope-to: xxxxxx@localhost
Delivery-date: Wed, 27 Aug 2003 20:05:33 +0200

Received!; Wed, 27 Aug 2003 20:05:33 +0200
X-Flags: 0000
Delivered-To: GMX delivery to
Received: from [xxxxxxxxxxxxxx]
by localhost with POP3 (fetchmail-6.2.3)
for xxxxx@localhost (single-drop); Wed, 27 Aug 2003 20:05:33 +0200
Received: (qmail 23766 invoked by uid 65534); 27 Aug 2003 18:05:09 -0000
Received: from smtp2.xxxxx.xx (EHLO (xxxx)
by (mx023-rz3) with SMTP; 27 Aug 2003 20:05:09 +0200
Received: from xxx (xxxxxxx [xxxxxx])
by (Postfix) with ESMTP id xxxx
for <xxxxxx>; Wed, 27 Aug 2003 20:05:07 +0200 (MEST)
Message-Id: <>
Date: Wed, 27 Aug 2003 20:05:07 +0200 (MEST)
To: undisclosed-recipients:;
X-GMX-Antivirus: -1 (not scanned, may not use virus scanner)
X-GMX-Antispam: -2 (not scanned, spam filter disabled)

Received!; Wed, 27 Aug 2003 20:05:16 +0200
Date: Wed, 27 Aug 2003 20:05:16 +0200
From: cage <xxxxx@xxx.xx>
To: xxxx@xx.xx
Subject: test
Message-ID: <>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="ZPt4rx8FFjLCG7dd"
Content-Disposition: inline
User-Agent: Mutt/1.5.4i

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

another test with attachments...

Content-Type: audio/x-wav
Content-Disposition: attachment; filename="beep.wav"
Content-Transfer-Encoding: base64

<lot's of junk like the line above>

audio/x-wav;/usr/bin/xmms %s

audio/x-wav wav

Last edited by cage; 08-28-2003 at 03:13 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot send attachments Likosin Linux - Software 3 04-11-2005 07:28 PM
evolution and attachments iamnotherbert Linux - Software 2 12-02-2004 10:46 AM
mutt - howto save all incomming mails from a month TroelsSmit Linux - Software 1 06-02-2004 04:41 PM
Save Email Attachments mwmethe Linux - Software 1 01-14-2004 07:55 AM
Attachments in Evolution zenix Linux - Software 2 09-24-2003 07:50 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration