Simple Python script as SMTP server for outgoing e-mails?

Ivan Shmakov oneingray at
Sun Jul 21 22:53:07 CEST 2013

>>>>> Gilles  <nospam at> writes:
>>>>> On Sun, 21 Jul 2013 11:46:52 -0600, Michael Torrie wrote:

	[Cross-posting to news:comp.mail.misc.]

 >> What you're looking for is not an SMTP server but a Mail Transfer
 >> Agent, called an MTA.


 >> Dennis is correct, though, that most ISPs do block outbound port 25
 >> connections for security and spam reasons, and require you to use
 >> their SMTP server, which precludes the use of the local MTA.

 > I'm not sure my ISP blocks outbound port 25 connections.  I'll
 > experiment with a small Linux box.

	There's yet another issue: certain email "operators" may block
	/inbound/ port 25 connections from ISP "customer" networks.

 > I wist they would use a smarter SPAM filter that wouldn't flag
 > perfectly legit-looking outgoing e-mails.

	FWIW, it may also be possible to use an email service (such as
	Google Mail) provided by a third-party.

FSF associate member #7257

More information about the Python-list mailing list