Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.026 X-Spam-Evidence: '*H*': 0.95; '*S*': 0.00; 'subject:IDLE': 0.04; '"""': 0.07; '22,': 0.09; 'mailman': 0.10; 'cc:addr:python-list': 0.11; 'address).': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'headers.': 0.16; 'helo': 0.16; 'through.': 0.16; 'valid.': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'sends': 0.24; 'header': 0.24; 'cc:2**0': 0.24; 'sort': 0.25; "i've": 0.25; 'this:': 0.26; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'generally': 0.29; 'subject:) ': 0.29; "doesn't": 0.30; 'said,': 0.30; 'message-id:@mail.gmail.com': 0.30; '(which': 0.31; 'getting': 0.31; 'usually': 0.31; 'something': 0.35; 'test': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'done': 0.36; 'sometimes': 0.38; 'server': 0.38; 'subject:': 0.39; 'though,': 0.39; 'most': 0.60; 'address': 0.63; 'box,': 0.64; 'subject:more': 0.64; 'more': 0.64; 'between': 0.67; 'email,': 0.69; 'jul': 0.74; 'address,': 0.75; 'technically': 0.84; 'edwards': 0.91; 'to:none': 0.92 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=QOR4amBBvRKxdgwN+JQcylvw8DtoBbJGzOZgWccXJzg=; b=CRPAl1iUPzu9/cTro6c50UTDdzt5wOu4mO1WUDx6I34sT+X1fW9r6kA5wRlMcNo6ZS VH2ieJf6hEoDe7KzL83d41n14zWezG/czmaaW4ANRjvkVeiARxB97lxiarbve+NkdgZY mrZD8cBt0IbIWEaKq5SEc9wWo72NmZNtGf8OGs4EgOt28y+IFkfjmCuOp5Eiu3hwEzaG x81MpmBfmxCOXdhyt5FQDWS4D9D9jCMeMonNUhkuNKF4c6dw9Nn5NSnK3G9lUXpH4ysK jq5xXsfSVdDsqUhguhktcp3fhTsXigPh35tYVrvt0JNs7WOt3cAOXp+w1i6SXU0w6KuX NOfQ== MIME-Version: 1.0 X-Received: by 10.52.64.140 with SMTP id o12mr5612862vds.70.1405965417558; Mon, 21 Jul 2014 10:56:57 -0700 (PDT) In-Reply-To: References: <232acf45-096d-466a-aa75-06d8c378b128@googlegroups.com> <53cc376e$0$2898$e4fe514c@news.xs4all.nl> <53926733-5e65-482f-96bc-0171c6a93d59@googlegroups.com> <4882fd4d-b772-4ebb-8aaa-0c20be6051b6@googlegroups.com> Date: Tue, 22 Jul 2014 03:56:57 +1000 Subject: Re: PyWart(2.7.8) IDLE is more buggy than "Joe's apartment"! 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: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1405965420 news.xs4all.nl 2963 [2001:888:2000:d::a6]:54094 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:74937 On Tue, Jul 22, 2014 at 2:55 AM, Grant Edwards wrote: > On 2014-07-21, Chris Angelico wrote: >> >> When you send email, you have to have a valid envelope-from address, >> which can be found in the headers. But the From: address doesn't >> technically have to be valid. > > Note that a lot of mail servers and/or spam filters will think it's > spam if it isn't. Yes, which is why I said "technically". Most often, a difference between envelope-from and From: header is because of a resending, like when Mailman sends mail on behalf of someone else; the From is still a valid address, but it's not the same one as the envelope-from (which will be the list-bounces address). That said, though, I've often telnetted to a mail server and done something like this: """ helo mail from: rcpt to: data From: me To: me Subject: Test Test! . quit """ Generally that sort of thing gets through. Sometimes it lands in a spam box, but more often it doesn't. I don't remember it ever getting rejected, other than for issues of relaying (which usually come from typoing the recipient domain). ChrisA