====== Fake mail server for debugging purposes ====== ===== fakemail ===== //fakemail// is a fake mail server that captures emails as files for acceptance testing. This avoids the excessive configuration of setting up a real mail server and trying to extract mail queue content. wget http://sourceforge.net/projects/fakemail/files/latest/download -O fakemail-latest.tar.gz tar -xvf fakemail-latest.tar.gz cd fakemail-python-1.0/fakemail.py pyhthon ./fakemail.py --port 25 --path /tmp/mails/ --log=/tmp/fake --host domainXYZ It also has a nice ''--background'' parameters to keep it running in background. ===== pure python ===== Python's standard distribution has a test SMTP server that you can test sending mail with. It will start a command line server on this console and it will print everything your server should send through SMTP. To use it simply type: python -m smtpd -n -c DebuggingServer domainXYZ:25