I've patched my changes which moves the SmartTransport functionality into the Mailet API and the RemoteDelivery mailet. MailetContext now defines public Collection findMXRecords(String host), which JamesMailetContext implements. RemoteDelivery mailet uses this method and handles attempting to multiple connections as needed. So, I'm not sure if we just had a versioning problem with CharTerminatedInputStream, but the ".."s are appearing at the end of the message. Also, if you send multiple messages fast enough (so that CharTerminatedInputStream has more data to read), it fails... it doesn't properly recognize the end of the stream. And the third (minor) issue is it only supports read(), not read(byte[]), and I think that could boost performance. I think I'm just going to write my own CharTerminatedInputStream from scratch and import it into the JAMES CVS tree for now. Various reasons listed above... we can put it back into Avalon once we know it's working well. There's also that bug I have to check on to see whether you can set a new message body, but other than that, hopefully things seem to be working pretty well. Please anyone/everyone test, and use the latest CVS build. I've set my ISPs DNS servers as the default DNS servers, partially because I'm lazy, and partially because hopefully they'll respond and for people just testing, they can just start JAMES and use it. For an actual release, we can change this. I also will configure the server to not be an open-relay, but that's easy enough. Hope everyone in the States is having a good 4th of July weekend, and everyone send your bug reports! Hopefully we're releasing this code soon! Serge Knystautas Loki Technologies http://www.lokitech.com/ . ------------------------------------------------------------ To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/> Problems?: [EMAIL PROTECTED]
