Re: [Logicmail-devel] Support for "wav" attachements in IMAP
Brought to you by:
octorian
|
From: Gopal K. <gka...@ci...> - 2011-01-14 22:54:37
|
Derek,
I think the problem I was describing is with version 1.1.0. The output of
the IMAP interaction is as follows
* OK CUE IMAP4 Server ready
A0 LOGIN cjwhite
A0 OK completed
A1 CAPABILITY
* CAPABILITY IMAP4rev1 LITERAL+ IDLE UIDPLUS
A1 OK completed
A2 LIST "" ""
* LIST () NIL ""
A2 OK completed
A3 SELECT Inbox
* FLAGS (\Answered \Deleted \Flagged \Recent \Seen)
* 1 EXISTS
* 0 RECENT
* OK [UNSEEN 1]
* OK [PERMANENTFLAGS (\Answered \Deleted \Flagged \Seen)]
* OK [UIDNEXT 2]
* OK [UIDVALIDITY 21662904]
A3 OK [READ-WRITE] completed
A4 FETCH 1 (FLAGS ENVELOPE)
* 1 FETCH (FLAGS () ENVELOPE ("Fri, 11 Mar 2011 03:33:21 +1100 (EST)" "Voice
message from 5000" (("cjwhite (cjwhite)" NIL "cjwhite" "localdomain")) NIL
NIL (("cjwhite" NIL "cjwhite" "localdomain")) NIL NIL NIL
"FTX1020A47Y-NME-FOC12081734-1299774801404"))
A4 OK completed
A5 FETCH 1 BODYSTRUCTURE
* 1 FETCH (BODYSTRUCTURE (("TEXT" "plain" ("charset" "us-ascii")NIL NIL 3 3
NIL NIL NIL)("Audio" "x-wav" ("name" "VM_2011.03.11_03.33.21.wav") NIL NIL
"Base64" 100318 NIL NIL NIL) "mixed" ("boundary" "=CUE-MESSAGE-BODY=") NIL
NIL))
A5 OK completed
A6 FETCH 1 BODY[1]
* 1 FETCH (BODY[1] {3}
)
A6 OK completed
With version 2.0.0.255, I see a different problem, the client gets stuck
when it is trying to show the folders in the server.
* OK CUE IMAP4 Server ready
* CAPABILITY IMAP4rev1 LITERAL+ IDLE UIDPLUS
A0 OK completed
A1 LOGIN cjwhite
A1 OK completed
A2 LIST "" ""
* LIST () NIL ""
A2 OK completed
A3 LIST "" "%"
* LIST (\Noinferiors) NIL "Inbox"
* LIST (\Noinferiors) NIL "Deleted"
A3 OK completed
When I quit the client, I see the following error:
Uncaught Exception: Application LogicMail (169) is not responding; process
terminated
Thanks,
Gopal
On 1/14/11 3:28 AM, "Derek Konigsberg" <dko...@lo...> wrote:
> Gopal,
> I put that message into my own test server, and it seemed to work just
> fine (including attachment download). However, there was a minor bug
> with messages having empty bodies on some mail servers, which I just
> fixed. I suggest stepping up to 2.0.0.255 and testing again.
>
> If you're still having the problem on build 255, then I'd like to see is
> the output of this IMAP command:
>
> A01 FETCH 1 (FLAGS UID ENVELOPE BODYSTRUCTURE)
>
> That's the command LogicMail uses when downloading the message list, to
> get all the header information it uses to decide what to do next.
>
> -Derek
>
> On 01/14/2011 02:29 AM, Gopal Kamalanathan wrote:
>> I am attaching the MIME of a short message. The first part of the MIME is
>> empty. LogicMail client fetches the first part and shows the content if
>> there is any. But I never see it fetching the second part.
>>
>> If you would like to see the IMAP interaction I could capture and sent it to
>> you tomorrow.
>>
>> The IMAP server is not publicly available software.
>>
>> Thanks,
>> Gopal
>>
>>
>> On 1/13/11 6:17 PM, "Derek Konigsberg"<dko...@lo...> wrote:
>>
>>> On 01/13/2011 04:30 PM, Gopal Kamalanathan wrote:
>>>> Hello,
>>>>
>>>> I am using Logicmail IMAP client in blackberry to connect to Cisco¹s
>>>> Unity express voicemail system.
>>>> The IMAP client does not seem to fetch the wav attachment of the voice
>>>> message. Does Logic mail support downloading wav attachments?
>>>>
>>>> The MIME header of the attachment are
>>>>
>>>> Content-Type: Audio/x-wav; name="VM_2011.03.10_03.19.33.wav"
>>>> Content-Transfer-Encoding: Base64
>>>> Content-Disposition: attachment; voice=Voice-Message;
>>>> filename="VM_2011.03.10_03.19.33.wav"
>>>
>>> Yes, LogicMail supports downloading wav attachments, and attachments of
>>> any type. (It just only has embedded viewing for images, and doesn't
>>> yet support doing anything with other attachments but saving them.)
>>>
>>> There have been issues with auto-generated e-mails before, since they
>>> are more likely to be malformed (or awkwardly formatted) than anything
>>> created with a normal desktop E-Mail client.
>>>
>>> Any chance you could capture the raw MIME source of one of these
>>> messages (preferably with a very short voicemail wav), zip it up, and
>>> E-Mail it to me for testing?
>>>
>>> I'm also curious what IMAP server software your mail server is running,
>>> but there's a pretty good chance it isn't something I can easily run on
>>> my test server.
>>
>>
>>
>>
----------------------------------------------------------------------------->>
-
>> Protect Your Site and Customers from Malware Attacks
>> Learn about various malware tactics and how to avoid them. Understand
>> malware threats, the impact they can have on your business, and how you
>> can protect your company and customers by using code signing.
>> http://p.sf.net/sfu/oracle-sfdevnl
>>
>>
>>
>> _______________________________________________
>> Logicmail-devel mailing list
>> Log...@li...
>> https://lists.sourceforge.net/lists/listinfo/logicmail-devel
>
|