Re: [Logicmail-devel] Support for "wav" attachements in IMAP
Brought to you by:
octorian
From: Derek K. <dko...@lo...> - 2011-01-15 00:18:14
|
So its a server you're developing (or maintaining), not one you just are accessing? Returning a delimiter character in the LIST (and LSUB) response will probably make LogicMail 2.0 start working. But I'll still try to see about reproducing this (and fixing it) on my end just in case. (Its rare that I'd get a useful bug report about something like this, so I jump on any opportunity I can find.) -Derek On 01/14/2011 07:14 PM, Gopal Kamalanathan wrote: > It is just single level of folders. But if it helps, I can return a > DELIMITER. > > Thanks, > Gopal > > > On 1/14/11 4:09 PM, "Derek Konigsberg"<dko...@lo...> wrote: > >> Okay, sorry, didn't see the second half of your response. Your IMAP >> server is definitely acting unusually in how it lists folders, so I'll >> have to do some testing. That makes it a completely different issue >> from attachment downloading, and probably a more serious one at that. >> >> Basically, it appears as though your IMAP server is not sending any >> folder delimiter, and LogicMail is failing to handle this case. No >> other IMAP server I've ever seen does this, so I wouldn't be surprised >> if that's a bug in my software. (I think a lot of my folder-related >> logic currently depends on knowing a delimiter character.) >> >> Can you create sub-folders on this server, or is it just a single level >> of folders? >> >> -Derek >> >> On 01/14/2011 07:02 PM, Gopal Kamalanathan wrote: >>> Derek, >>> >>> I did try 2.0.0.255 and I had described the issue with 255 in the lower part >>> of the mail. >>> >>> Gopal >>> >>> >>> On 1/14/11 3:45 PM, "Derek Konigsberg"<dko...@lo...> wrote: >>> >>>> Version 1.1.0 doesn't really support attachments, and hasn't been >>>> updated in over a year. (and it was just minor bugfixes for the year >>>> prior to that) >>>> >>>> You really should upgrade to the latest 2.0 beta build. Its like a >>>> completely different application at this point. :-) >>>> >>>> -Derek >>>> >>>> On 01/14/2011 05:54 PM, Gopal Kamalanathan wrote: >>>>> 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 >>>>>> >>>>> >>>>> >>>>> >>> ----------------------------------------------------------------------------- >>>>> >>> - >>>>> 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 >>>> >>> >>> >>> > ----------------------------------------------------------------------------->> > - >>> 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 >> > > > ------------------------------------------------------------------------------ > 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 -- ---------------------------- Derek Konigsberg dko...@lo... ---------------------------- |