Re: pdf attachment as text

2011-06-14 Thread Michael Tatge
* On Tue, Jun 14, 2011 10:40AM +0200 Laurent (the.real.ka...@gmail.com) 
muttered:
> I have a problem when I send emails having an pdf as attachment. The pdf
> arrives as text on the other side due to the fact that the MIME-type
> is text. How can I change this behaviour?

make sure to have
application/pdf pdf
in ~/.mime.types or /etc/mime.types

HTH,

Michael
-- 
BOFH excuse #227:

Fatal error right in front of screen

PGP-Key-ID: 0xDC1A44DD
Jabber: init[0]@amessage.de


pdf attachment as text

2011-06-14 Thread Laurent
Hello,

I have a problem when I send emails having an pdf as attachment. The pdf
arrives as text on the other side. This means it is displayed as text in
the mail client. This is due to the fact that the MIME-type is text. How
can I change this behaviour? I can successfully send emails with zip
attachment...
Any ideas? Here the output of mutt -v:
mutt -v
Mutt 1.5.21 (2010-09-15)
Copyright (C) 1996-2009 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: FreeBSD 9.0-CURRENT (amd64)
ncurses: ncurses 5.7.20081102 (compiled with 5.7)
libiconv: 1.13
hcache backend: Sleepycat Software: Berkeley DB 4.2.52: (December  3,
2003)
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  -USE_FCNTL
-USE_FLOCK
+USE_POP  +USE_IMAP  -USE_SMTP
+USE_SSL_OPENSSL  -USE_SSL_GNUTLS  +USE_SASL  +USE_GSS
+HAVE_GETADDRINFO
+HAVE_REGCOMP  -USE_GNU_REGEX  +COMPRESSED
+HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
+HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
+CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
+CRYPT_BACKEND_GPGME
-EXACT_ADDRESS  -SUN_ATTACHMENT
+ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET
+HAVE_LANGINFO_YESEXPR
+HAVE_ICONV  -ICONV_NONTRANS  -HAVE_LIBIDN  +HAVE_GETSID  +USE_HCACHE
-ISPELL
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to .
To report a bug, please visit http://bugs.mutt.org/.

vc.greeting
vvv.quote
patch-1.5.0.ats.date_conditional.1
dgc.deepif.1
vvv.initials
rr.compressed


with best regards