Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.028 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:Python': 0.06; 'strict': 0.07; '22,': 0.09; 'indeed,': 0.09; 'record.': 0.09; 'rejected': 0.09; 'sake': 0.09; 'subject:script': 0.09; 'experiment.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'gilles': 0.16; 'ivan': 0.16; 'subject:mails': 0.16; 'wrote:': 0.18; 'not,': 0.20; 'mon,': 0.24; 'header:In- Reply-To:1': 0.27; 'michael': 0.29; 'rest': 0.29; 'message- id:@mail.gmail.com': 0.30; 'run': 0.32; 'running': 0.33; 'computer.': 0.33; 'received:google.com': 0.35; 'subject:Simple': 0.36; "i'll": 0.36; 'subject:?': 0.36; 'so,': 0.37; 'server': 0.38; 'mine': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; "you'll": 0.62; 'spam.': 0.64; 'e-mails': 0.65; 'managing': 0.66; 'reply': 0.66; 'incoming': 0.72; 'jul': 0.74; '10:11': 0.84; "isp's": 0.84; 'refusing': 0.84; 'forgotten': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=yonqvCAMrC57VWPDuc6SD+d3zXfO4V4rfyGR82x4I0w=; b=VyZFE69EBUvCvRswsg2hQfgqiuxh+VbcruPsLV0teghZ+CBLjRYxMtY03MQKJR/LoL GBeSJAUdvDXe/TFTwLXUUzsWPGFwyOw0ncCvqVY+ZvxoYR4RBdV5e/xwZPTBxITX9SeE U5YppxsrQcKiqOtXI7FDes5jGbwYMpqRSTKbsR+KDFKPJYD2qOXLqWFVgItwCqMI9u8g SG0JK8GHdd96g5BdTs2/LEeo4Hfdsqc+GhW5b57gDQKvREGP9R4jlpTPewQSiyj+EtKb f9jnTkhbSCtDp3qcV2v5pnB7qg+E27NFcQJ6DHg/q3OlH/zUJukEnlhc7MwNLZTnfQk4 ig+Q== MIME-Version: 1.0 X-Received: by 10.52.34.40 with SMTP id w8mr7759927vdi.7.1374496182715; Mon, 22 Jul 2013 05:29:42 -0700 (PDT) In-Reply-To: <368qu85msgfhuk2j2s13qj0bqn4rkcint9@4ax.com> References: <368qu85msgfhuk2j2s13qj0bqn4rkcint9@4ax.com> Date: Mon, 22 Jul 2013 22:29:42 +1000 Subject: Re: Simple Python script as SMTP server for outgoing e-mails? From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1374496190 news.xs4all.nl 15940 [2001:888:2000:d::a6]:53637 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:51034 On Mon, Jul 22, 2013 at 10:11 PM, Gilles wrote: > On Sun, 21 Jul 2013 18:28:27 -0600, Michael Torrie > 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