secondo me....


basta che all'ascolto sulla porta localhost:25 tieni il tuo programma


p.s.
netstat -anp | grep 25