On Tue, 2 Oct 2001, Nitin Borwankar wrote:
> Hello James users and Gurus,

Hi,
(but Serge is the Guru)
 
> I am the owner of the JXTA p2p-email project on www.jxta.org.
> I intend to use a subset of James' code ("Jimmy") to create a
> redirecting, e-mail proxy and email<->JXTA gateway.
> I need help in identifying the relevant files as I don't want a full
> fledged SMTP server installation especially
> not - message storage, user management ... 

I think you'd need the message storage.
 
> It will work by intercepting all outgoing email from a client.
> (The client will be fooled into thinking the proxy is the MTA and the
> proxy will forward regular email to the actual MTA.)
> Messages meant for transport via JXTA pipes to JXTA endpoints will have
> a "jxta:" prefix in the "rfc822-proper" email address.
> A mailet will match the prefix and collect all such addresses and hand
> off a copy of the msg with JXTA addresses to a JXTA service which will
> take it from there.  The mailet will also create another copy of the
> message with smtp-based destinations and  
> forward to the regular MTA.

This could be accomplished by using a matcher (for "intercepting") that
detects the "jxta:", and then a mailet for handling what to do with the
messages.

> Complementary things will happen for incoming messages which will end up
> as regular MIME (multipart) documents in the inbox.
> The assumption is that they have been sent by a similar facility to the
> one described above, and are well formed MIME (multipart) docs, the only
> distinguishing factor being that the from: address has a "jxta:" prefix.
> They can seamlessly be forwarded to regular email destinations with NO
> transformations.

I guess you'd need quite a lot of work here. You can take a look at the
ToPostmaster mailet I just posted in this list.

I think James needs a class that can generate mime messages easily; ie:
create the String for the message texts, have some binary files for
attachments, and voila, the messages get sent.
 
...
> I have installed the full fledged James and played with it, have read
> the user/developer docs especially the mailet stuff, but could use
> pointers on how to draw the line between what Java files to keep and
> what to leave out so that James may give birth to Jimmy.

I think what you can keep is the SMTP server.
 
> So where do I begin ? I am hoping to save some time and pain by using
> the collective wisdom on the list.( I know,  get a CVS tree, then what
> ?)  I am looking for non-obvious dependencies and hidden gotchas,
> mostly.

Making sure that you need much more than rinetd (a port forwarder daemon).

Oki



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to