python smtp debugging server windows code example Example: start a local SMTP debugging server in linux $sudo python -m smtpd -c DebuggingServer -n test.com:1025