How to Use Netcat to Listen on a Port
Netcat can be easily used to simulate a host running on a particular TCP port. This can be useful when testing your firewall to ensure it is allowing traffic to pass through to the host.
Where to download Netcat: http://netcat.sourceforge.net/
by Firewalls.com
linux smtp server