Capture emails in Ubuntu development box.
On Windows I use smtp4dev to capture email locally. Now I'm developing on a Ubuntu VM I want something similar.
From this answer on SO I can run the following:
sudo python -m smtpd -n -c DebuggingServer localhost:25