Path: csiph.com!usenet.pasdenom.info!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.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.109 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.79; '*S*': 0.00; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'grant,': 0.16; 'prevent': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'specifies': 0.24; 'server.': 0.24; 'cc:2**0': 0.24; '(for': 0.26; 'header:In-Reply-To:1': 0.27; 'record': 0.27; 'chris': 0.29; 'am,': 0.29; 'dec': 0.30; 'message- id:@mail.gmail.com': 0.30; 'idea,': 0.31; 'guess': 0.33; 'received:google.com': 0.35; '14,': 0.36; 'smtp': 0.36; 'doing': 0.36; 'thanks': 0.36; 'should': 0.36; 'wrong': 0.37; 'server': 0.38; 'gmail': 0.38; 'whatever': 0.38; 'that,': 0.38; 'bad': 0.39; "you're": 0.61; 'account': 0.65; 'mail,': 0.68; "it'd": 0.84; 'subject:Using': 0.84; 'to:none': 0.92; '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:cc :content-type; bh=nH6sJrYjstsPICEV3hDD5FGTYM0TFvoU0JzmYs3+nDE=; b=t/1bmz15X3WFI8YN9TIxq6wc4hHRk61aBeiIIBiwy9A6kELBcoELnWrCbTVyBleknh MiD56Rxh5JE2lZ19OH1qTD+cMqEYavvL2FHyQGhyf79NVNNqHBuN6eaJ4arHAo44zPb2 OI9AgjwII7EBupQtBV60YuOR5N1kZRzgiJCFMs7rYMv7s3bitycHP4cqnX6GATFifWY7 sYoSrVns8pq7gmvEL63yQ0U1KE2rZT2NMnLWgsNj3WpPcYmXrG+rXUW9JcqP4HtOxLJY M0Wwft/URuHMcNIyr3KU/OxONaQaJz0h+UkU+t5KUz4bci7ijQkpzUq7UzeUI8Mkklc/ sBMA== MIME-Version: 1.0 X-Received: by 10.66.66.42 with SMTP id c10mr4946100pat.98.1386959397381; Fri, 13 Dec 2013 10:29:57 -0800 (PST) In-Reply-To: References: Date: Sat, 14 Dec 2013 05:29:57 +1100 Subject: Re: Using pythons smtp server From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386959407 news.xs4all.nl 2963 [2001:888:2000:d::a6]:51826 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61860 On Sat, Dec 14, 2013 at 5:27 AM, Vincent Davis wrote: > Grant, Chris > Thanks !!! > I guess in the end this is a bad idea, (for my purposes) I should just use > my gmail account smtp server. If you're sending from gmail, use whatever gmail specifies for sending. Otherwise your mail will be seen as spoofed. The converse of this is that, in my opinion, *every* domain should have an SPF record and *every* mail server should check them. That would eliminate a huge slab of forged mail, and it'd prevent some stupid web email forms from doing the wrong thing and only finding out that it's wrong years later. ChrisA