Return to Snippet

Revision: 44018
at April 5, 2011 04:04 by wnasich


Initial Code
#!/usr/bin/python
import smtpd, asyncore

server = smtpd.DebuggingServer(('localhost', 25), None)
asyncore.loop()

Initial URL
http://ubuntuforums.org/showthread.php?t=1572903

Initial Description
See: http://docs.python.org/library/smtpd.html

You might use other port instead 25.

Initial Title
Debugging smtp connections

Initial Tags
debug, python

Initial Language
Python