Re: mime type when adding attachment
- To: mutt-users@xxxxxxxx
- Subject: Re: mime type when adding attachment
- From: bill lam <cbill.lam@xxxxxxxxx>
- Date: Mon, 3 Nov 2008 18:11:36 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mail-followup-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=WmirO9IAewXLyqx9PwFUcawpGaRuLfR9yD7TqXzuUQE=; b=IN8l2zQyhkpXVeIeQowxKtWozCD1O4p9ebLnHbTtK/O5Cx54+z5l8HN/Uj0NsPI5Vg Pv0Bu9lDpum1zhYhCRIMxd9qW+oa+3gGU/lcjGTIS9kNjhiMyW3aWj9hu1YReIZzhNiE rBli6GFkorYECXfS/K//NNIrrcE735DmhmVr8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; b=OrI54le/TXkhkZnf3bY+4SRm6WPpdp6uVlT1v3IM7jG51B+D8uucW2+dG97Wy0/b6a VmKFDDfVJ4tEi0CyNQswLhYk9Yvg9jrcOLmp40gM+4HGtMg87DkFdX7LAcqj7OlwAxca P7wb55SZpkxJdIsrtSESbV9h1NH8g/aQ3MoCo=
- In-reply-to: <20081103091644.GA15213@xxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- References: <20081103050404.GC7167@b2j> <20081103091644.GA15213@xxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-10-20)
On Mon, 03 Nov 2008, Christian Mongeau wrote:
> Chapter 5 of the manual deals with MIME:
> http://www.mutt.org/doc/devel/manual.html#mimesupport
>
> In particular, "2. MIME Type configuration with mime.types"
> (http://www.mutt.org/doc/devel/manual.html#mime-types) says:
> "When you add an attachment to your mail message, Mutt searches
> your personal mime.types file at ${HOME}/.mime.types, and then
> the system mime.types file at /usr/local/share/mutt/mime.types
> or /etc/mime.types
>
> The mime.types file consist of lines containing a MIME type and
> a space separated list of extensions. For example:
>
> application/postscript ps eps
> application/pgp pgp
> audio/x-aiff aif aifc aiff
>
> [...]
>
> You can change the MIME type that Mutt assigns to an attachment by
> using the edit-type command from the compose menu (default: ^T).
> [...]" or by modifying the mime.types file.
Thanks Christian.
I checked again that there is no
~/.mime.types
/usr/local/share/mutt/mime.types
/usr/share/mutt/mime.types
There are
/etc/mime.types which contains
application/vnd.ms-excel xls xlb xlt
/usr/etc/mime.types ??? which contains
application/excel xls
Apparently mutt get mime type from /usr/etc/mime.types any idea why
there is such a file and why mutt read from it, instead of
/etc/mime.types as mentioned inside mutt documentation?
I use ubuntu if that matters.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3