pyproxymail is a simple Mail Transfer Agent with SMTP-AUTH support written in Python and distributed under GPLv2.
Contrary to other MTAs pyproxymail doesn't require storing any login or password on the filesystem.
pyproxymail source code
lists.tuxfamily.org/pyproxymail-dev
pyproxymail development discussions