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.

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

  1. Test if local SMTP server is running
  2. How to install Easy Install for Python in Ubuntu
  3. What is “The Zen of Python”?
  4. Installing Python modules with easy_install
  5. Generate a random number in Python

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>