<div class="gmail_quote">On Tue, Jan 5, 2010 at 12:44 PM, chris johnston <span dir="ltr"><<a href="mailto:ctofur@gmail.com">ctofur@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
You may want to investigate the transport <a href="http://xmpppy.sourceforge.net/mail/" target="_blank">http://xmpppy.sourceforge.net/mail/</a> for a base application to improve as you need. <br> I have used this transport with eJabberD and is very simple to setup.<font color="#888888"><br>
</font></blockquote><div><br></div><div>Good to hear :-)</div><div><br></div><div>If anyone finds bugs/has suggestions/patches, feel free to ping me with details.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<font color="#888888"><br>-Chris</font><div><div></div><div class="h5"><br><br><br><div class="gmail_quote">On Tue, Jan 5, 2010 at 5:02 AM, Tomasz Sterna <span dir="ltr"><<a href="mailto:tomek@xiaoka.com" target="_blank">tomek@xiaoka.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">
Hello.<br>
<br>
I am working on accessing jabber message archive with IMAP and a normal<br>
MUA with IMAP backend.<br>
<br>
This begs a question: How do I convert RFC 3921 message, to RFC 5322<br>
message to store in IMAP store. (But it may also be useful for<br>
Jabber/E-Mail gateway.)<br>
<br>
1. How do i store 'from' and 'to' fields of the XMPP message?<br>
RFC 5322 defines From: as mailbox-list and To: as address-list which in<br>
turn reduces to addr-spec which does not include schema and is assumed<br>
to be in SMTP domain. ":" is used to delimiter group names so we cannot<br>
use XMPP URI there.<br>
- Should I add X- header for preserving XMPP 'from' field? What exact?<br>
- Should I fill From: and To: fields to maka maile readers usable?<br>
<br>
2. Subject: header is straightforward<br>
<br>
3. <thread/> converts directly to References:<br>
- what if there is no <thread/>? Should I supplement it? How?<br>
<br>
4. Should I generate Message-ID header? If so, how? Maybe it would be<br>
useful to base it on some of the message characteristics?<br>
<br>
<br>
<br>
<br>
--<br>
Tomasz Sterna<br>
Xiaoka.com<br>
<br>
_______________________________________________<br>
JDev mailing list<br>
Forum: <a href="http://www.jabberforum.org/forumdisplay.php?f=20" target="_blank">http://www.jabberforum.org/forumdisplay.php?f=20</a><br>
Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
Unsubscribe: <a href="mailto:JDev-unsubscribe@jabber.org" target="_blank">JDev-unsubscribe@jabber.org</a><br>
_______________________________________________<br>
</blockquote></div><br>
</div></div><br>_______________________________________________<br>
JDev mailing list<br>
Forum: <a href="http://www.jabberforum.org/forumdisplay.php?f=20" target="_blank">http://www.jabberforum.org/forumdisplay.php?f=20</a><br>
Info: <a href="http://mail.jabber.org/mailman/listinfo/jdev" target="_blank">http://mail.jabber.org/mailman/listinfo/jdev</a><br>
Unsubscribe: <a href="mailto:JDev-unsubscribe@jabber.org">JDev-unsubscribe@jabber.org</a><br>
_______________________________________________<br>
<br></blockquote></div><br><br clear="all"><br>-- <br>- Norman Rasmussen<br> - Email: <a href="mailto:norman@rasmussen.co.za">norman@rasmussen.co.za</a><br> - Home page: <a href="http://norman.rasmussen.co.za/">http://norman.rasmussen.co.za/</a><br>