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

Chris Angelico rosuav at gmail.com
Mon Jul 22 14:29:42 CEST 2013


On Mon, Jul 22, 2013 at 10:11 PM, Gilles <nospam at nospam.com> wrote:
> On Sun, 21 Jul 2013 18:28:27 -0600, Michael Torrie <torriem at gmail.com>
> wrote:
>>Having spent a long time managing e-mail servers, everything Ivan said
>>in his reply is true as well.  I had forgotten a lot of that since I
>>haven't been running my own mail server (MTA or server part) in a while.
>
> Indeed, I had forgotten about some MTAs refusing incoming e-mails from
> other ISP's customer hosts. I'll experiment.

One thing to check when you change how you send mail is your SPF
record. I run the mail server for kepl.com.au and have set its SPF to:

"v=spf1 ip4:122.107.147.136 ip4:203.214.67.43 ip4:192.168.0.0/16 -all"

If your SPF is as strict as mine (and if it's not, please make it so,
for the sake of the rest of the world!), you'll want to check it
before you start sending mail directly from your own computer.
Otherwise your mail _will_ be rejected as spam.

ChrisA



More information about the Python-list mailing list