I am trying to produce a simple python script for a Linux VPS that will allow me to receive mail, (and then I can do stuff to it in python, like print it to stdout). Nothing mor
Pythons smtpd is sufficient.
You might also want to take a look at inbox.py and this example