Hi all, Thank you for your reply again.
I assume that receive data from 10025/tcp and send to 10026 is enough for this purpose. But i think, i am wrong this subject. I should send data both client which connect to 10025 and other side which i will connect to 10026. I will explore this project named smtpprox. But you said to me dont try to do this in C. Why you said this? As you said it can be developed using pyhton perl or any other script language. But what about performance problem? Especially server which is under heavy email traffic Best regards On Thursday, April 24, 2014, Wietse Venema <wie...@porcupine.org> wrote: > G?khan Alkan: > > Hi all, > > > > Thank you for your reply. > > Your program copies only in one direction. SMTP requires that you > copy data in both directions between the client that connects to > port 10025/tcp, and the server that listens on port 10026/tcp. > > Look in with a search engine for smtpprox. It speaks SMTP and does > exactly what you need. You can add code to it as needed. > > smtpprox is written in Perl. I expect that similar code has been > written in Python and so on. Don't try to do this in C. > > Wietse > -- ---------------------- Gökhan ALKAN