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

Reply via email to