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?

