Apr 222010
Quick and easy SMTP server with Python
Answer:
You can start a Python SMTP server, with only a single command, without installing any additional software in modern Linux.
E.g.
sudo python -m smtpd -n -c DebuggingServer localhost:25