https://bugzilla.novell.com/show_bug.cgi?id=827010 https://bugzilla.novell.com/show_bug.cgi?id=827010#c5 Bastian Friedrich <bastian@bastian-friedrich.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED CC| |bastian@bastian-friedrich.d | |e InfoProvider|bastian@bastian-friedrich.d | |e | --- Comment #5 from Bastian Friedrich <bastian@bastian-friedrich.de> 2013-07-02 09:03:53 UTC --- (In reply to comment #2)
Hmm ... send with mailx and after receiving viewed within mutt
q:Exit s:Save |:Pipe p:Print ?:Help A 1 imortant.gif [image/gif, base64, 1.4K]
What locale are you using, that is what does the command locale shows, here it is
/suse/werner> locale | sed 's/^/ /' LANG=POSIX LC_CTYPE=de_DE.UTF-8 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL=
The problem does not seem to be related to locale settings; my default locale is bastian@host:~> locale | sed 's/^/ /' LANG=de_DE.UTF-8 LC_CTYPE="de_DE.UTF-8" LC_NUMERIC="de_DE.UTF-8" LC_TIME="de_DE.UTF-8" LC_COLLATE=C LC_MONETARY="de_DE.UTF-8" LC_MESSAGES="de_DE.UTF-8" LC_PAPER="de_DE.UTF-8" LC_NAME="de_DE.UTF-8" LC_ADDRESS="de_DE.UTF-8" LC_TELEPHONE="de_DE.UTF-8" LC_MEASUREMENT="de_DE.UTF-8" LC_IDENTIFICATION="de_DE.UTF-8" LC_ALL= The behavior is the same after an "unset LANG": bastian@host:~> locale | sed 's/^/ /' LANG=POSIX LC_CTYPE=de_DE.UTF-8 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE=C LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= I reckon you don't have a ".mailrc"? However, after your answer, I tried reproducing the issue on a different host, and found even stranger results: The problem was triggered with largish image files (the issue first occured to me with gifs in the range of 30kB, but was reproduced now with a 13kB file); sending smaller files -- such as your 1.4K file -- worked fine. Sending a mail with both of these images attached resulted in the small one with a correct MIME type, the large one with application/octet-stream. As sample images, I was using two files from the docbook-xsl-stylesheets-1.78.0-4.5.1.noarch package, /usr/share/xml/docbook/stylesheet/nwalsh/1.78.0/slides/s5/ui/default/bodybg.gif and /usr/share/xml/docbook/stylesheet/nwalsh/1.78.0/webhelp/template/common/jquery/treeview/images/plus.gif Resulting MIME headers (in a single mail with both images): -------------------- Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="plus.gif" -------------------- Content-Type: application/octet-stream Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bodybg.gif" -------------------- Different behavior results from different return values from "mime_isclean" in mime.c. Duh?! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.