start a local SMTP debugging server in linux

$sudo python -m smtpd -c DebuggingServer -n test.com:1025