Re: Attachment problem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010.01.16 23:57 Mark London rašė:
> Tomas Kuliavas wrote:
>>
>> mrlondon wrote:
>>> Hi - When I compose an email in squirrelmail, and attach a Word 2007
>>> .docx file, and then read the email in squirrelmail, the attachment is
>>> displayed as text/plain.  However, when I look at the raw headers of
>>> the
>>> message, it does display the appropriate Content-Type.  See below.  If
>>> I
>>> use Thunderbird to send the same email, I don't have this problem.  I
>>> searched the web, and found instructions implying that the problem is
>>> with apache and mime types.  So I tried adding lines to /etc/mime.types
>>> for all the xml mime types.  See very below.  I then restarted httpd,
>>> but still had the same problem.  What else should I try?  Thanks. -
>>> Mark
>>>
>>
>> Enable info plugin, go to message listing and lookup message with docx
>> attachment. see passed_id argument used in link to src/read_body.php.
>>
>> Then go to Options -> IMAP server information and execute run two
>> commands.
>> First "SELECT INBOX", then "UID FETCH some-number BODYSTRUCTURE". Both
>> commands are submitted without double quotes. Replace INBOX with correct
>> mailbox name. Use passed_id argument value instead of 'some-number'.
>> Show results of second command.
>>
> TEST_9
> Request:
> A004 UID FETCH 63293 BODYSTRUCTURE
> Response:
> * 15 FETCH (UID 63293 BODYSTRUCTURE (("TEXT" "PLAIN" ("CHARSET"
> "iso-8859-1") NIL NIL "8BIT" 4 2 NIL NIL NIL)("TEXT" "PLAIN" ("CHARSET"
> "us-ascii") NIL NIL "BASE64" 529094 6783 NIL ("ATTACHMENT" ("FILENAME"
> "a.docx")) NIL) "MIXED" ("BOUNDARY" "----=_20100115222842_90881") NIL
> NIL))
> Completed (0.000 sec)
>

I though that it is IMAP server issue, but it looks like older
SquirrelMail versions fold long header line incorrectly. Issue should be
fixed in 1.4.18 and 1.5.2-svn.

See
http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail?view=rev&revision=13506

-- 
Tomas



------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users


[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux