Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

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

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>