Re: [jdev] RFC 3921 message to RFC 5322 message conversion

2010-01-05 Thread Norman Rasmussen
On Tue, Jan 5, 2010 at 12:44 PM, chris johnston wrote: > You may want to investigate the transport > http://xmpppy.sourceforge.net/mail/ for a base application to improve as > you need. > I have used this transport with eJabberD and is very simple to setup. > Good to hear :-) If anyone finds

Re: [jdev] RFC 3921 message to RFC 5322 message conversion

2010-01-05 Thread Dave Cridland
On Tue Jan 5 11:55:57 2010, David Ammouial wrote: Tue, 05 Jan 2010 11:02:42 +0100, Tomasz: > 1. How do i store 'from' and 'to' fields of the XMPP message? > RFC 5322 defines From: as mailbox-list and To: as address-list which > in turn reduces to addr-spec which does not include schema and is

Re: [jdev] RFC 3921 message to RFC 5322 message conversion

2010-01-05 Thread chris johnston
You may want to investigate the transport http://xmpppy.sourceforge.net/mail/ for a base application to improve as you need. I have used this transport with eJabberD and is very simple to setup. -Chris On Tue, Jan 5, 2010 at 5:02 AM, Tomasz Sterna wrote: > Hello. > > I am working on accessi

Re: [jdev] RFC 3921 message to RFC 5322 message conversion

2010-01-05 Thread David Ammouial
Tue, 5 Jan 2010 05:55:57 -0600, David: > In any case, I don't think you should include any random data of data > that is unique to the IMAP store: if the user happens to use various > SMTP stores [...] Sorry, this should read: In any case, I don't think you should include any random data, or any d

Re: [jdev] RFC 3921 message to RFC 5322 message conversion

2010-01-05 Thread David Ammouial
Tue, 05 Jan 2010 11:02:42 +0100, Tomasz: > 1. How do i store 'from' and 'to' fields of the XMPP message? > RFC 5322 defines From: as mailbox-list and To: as address-list which > in turn reduces to addr-spec which does not include schema and is > assumed to be in SMTP domain. If there is no way to

[jdev] RFC 3921 message to RFC 5322 message conversion

2010-01-05 Thread Tomasz Sterna
Hello. I am working on accessing jabber message archive with IMAP and a normal MUA with IMAP backend. This begs a question: How do I convert RFC 3921 message, to RFC 5322 message to store in IMAP store. (But it may also be useful for Jabber/E-Mail gateway.) 1. How do i store 'from' and 'to' fiel