Now, I''m running into newline issues. When I use offlineimap under Cgywin, the messages are delivered with CRLF. Sup cannot parse these: it thinks that the body is empty. I know that sup is seeing the entire message. If I press H, I see all of the message. Shouldn''t sup handle CRLF delimited messages? As I understand RFC822, all headers should be terminated with CRLF. Failing that, is anyone well versed enough with offlineimap or python to tell me how to get it to deliver with LF instead of CRLF? -- Christopher Warrington <chrisw at rice.edu>
Reformatted excerpts from Christopher Warrington''s message of 2008-03-03:> When I use offlineimap under Cgywin, the messages are delivered with > CRLF. Sup cannot parse these: it thinks that the body is empty. I know > that sup is seeing the entire message. If I press H, I see all of the > message.I''ve finally had a chance to look into this. I''ve just patched Sup to handle carriage returns in mbox files, but things are still broken because of RubyMail. It looks like there''s an outstanding RubyMail patch here: http://rubyforge.org/tracker/index.php?func=detail&aid=2821&group_id=446&atid=1756 If you apply that and get the latest git, I think things should work. -- William <wmorgan-sup at masanjin.net>
Excerpts from William Morgan''s message of Wed Mar 26 11:40:24 -0500 2008:> Reformatted excerpts from Christopher Warrington''s message of 2008-03-03: > > When I use offlineimap under Cgywin, the messages are delivered with > > CRLF. Sup cannot parse these: it thinks that the body is empty. I know > > that sup is seeing the entire message. If I press H, I see all of the > > message. > > I''ve finally had a chance to look into this. I''ve just patched Sup to > handle carriage returns in mbox files, but things are still broken > because of RubyMail. > > It looks like there''s an outstanding RubyMail patch here: > > http://rubyforge.org/tracker/index.php?func=detail&aid=2821&group_id=446&atid=17 > 56 > > If you apply that and get the latest git, I think things should work.That appears to have done it. All is well in Cygwin land, for now. -- Christopher Warrington <chrisw at rice.edu>