Relaying mail messages

I'm trying to build an application that listens on localhost:25 to outgoing mails and relays them to the appropriate mailserver. I've got a ServerSocket running and a Threaded client structure for each incoming connection. When I send a mail (to localhost of course) the connection gets recognized, but when I try to read out the inputstream from the clientsocket it gets nothing.

How should I go about retransmitting an email?

[443 byte] By [CountZukulaa] at [2007-11-27 4:10:07]
# 1
Sounds like you're writing an application. This forum is for Messaging Server. We're mostly not programmers, here.
jay_plesseta at 2007-7-12 9:15:37 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...