Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4.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.171 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.66; '*S*': 0.00; '16,': 0.03; 'detect': 0.07; 'odd': 0.07; 'variables': 0.07; 'alter': 0.09; 'rejected': 0.09; 'subject:script': 0.09; 'subject:using': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'downstream': 0.16; 'hostname': 0.16; 'luck!': 0.16; 'stuff.': 0.16; 'subject:send': 0.16; 'subject:python': 0.16; 'language': 0.16; 'wrote:': 0.18; 'pointed': 0.19; 'work,': 0.20; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'question': 0.24; 'cc:2**0': 0.24; '>': 0.26; 'values': 0.27; 'header:In-Reply- To:1': 0.27; 'point': 0.28; 'host': 0.29; 'message- id:@mail.gmail.com': 0.30; 'along': 0.30; 'url:mailman': 0.30; 'work.': 0.31; 'too.': 0.31; 'protocols': 0.31; 'sep': 0.31; 'with,': 0.31; 'there.': 0.32; 'stuff': 0.32; 'weeks': 0.32; 'open': 0.33; 'url:python': 0.33; 'beginning': 0.33; 'subject:the': 0.34; 'basic': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'there': 0.35; 'really': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'so,': 0.37; 'area': 0.37; 'server': 0.38; 'pm,': 0.38; 'does': 0.39; 'bad': 0.39; 'enough': 0.39; 'either': 0.39; 'url:mail': 0.40; 'how': 0.40; 'skip:u 10': 0.60; 'read': 0.60; 'experts': 0.60; 'most': 0.60; 'forum': 0.61; 'issues,': 0.61; 'deliver': 0.61; 'viruses': 0.61; 'information,': 0.61; 'complete': 0.62; 'address': 0.63; 'email addr:gmail.com': 0.63; 'show': 0.63; 'real': 0.63; 'connecting': 0.64; 'become': 0.64; 'more': 0.64; 'different': 0.65; 'to:addr:gmail.com': 0.65; 'services': 0.66; 'due': 0.66; 'here': 0.66; 'believe': 0.68; 'study': 0.69; 'internet': 0.71; 'safe': 0.72; 'websites': 0.72; 'gotten': 0.74; 'score': 0.74; 'increase': 0.74; 'lack': 0.78; 'visiting': 0.79; 'excel.': 0.84; 'induce': 0.84; 'perspective.': 0.84; 'score.': 0.84; 'subject:via': 0.84; 'joel': 0.91; 'relating': 0.93; '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 :cc:content-type; bh=msfPsqO88XCz5miVWjwaqJ5UT/9COLC2IHNwg1ZGAeQ=; b=kacTRePDibLWvDdpZJyRa+aZ88FF+31p30LxUw+ViFWVyKUPpsZMHa0q3eMVwJbCRA p5mU24ydM9qH//46XJUjYtPaB2b9vta8a75FNUMjLtLB2LEGcd9Q7Yj5+VqskP98RC10 Uh1krvJBhvikkLhLOkVmXC3QbCpKJH838dIZIYSWZSAUSefvRg4IHhziSaG2vhtY1Q42 aFv7hi/pzrjDfdDK0vSJMbfMSY4HxEVd+HTeRUbBqnpNQUtbYz39SQgLIax1bwyuTjrA Y6Tu2UwWNvZns3wV/VoaIOAY1Po2Cqa6xPZcryXyLh9WhivHQPmkj/nUbQQr2H+mQOfl PusQ== MIME-Version: 1.0 X-Received: by 10.52.228.137 with SMTP id si9mr2104403vdc.29.1379365654978; Mon, 16 Sep 2013 14:07:34 -0700 (PDT) In-Reply-To: References: <305a2044-a13e-47f8-9cc1-9e3482424616@googlegroups.com> <52366466$0$29988$c3e8da3$5496439d@news.astraweb.com> <5236B356.7030308@rece.vub.ac.be> <5236BD75.5080904@rece.vub.ac.be> <5236C4B7.3070601@rece.vub.ac.be> Date: Mon, 16 Sep 2013 17:07:34 -0400 Subject: Re: Tryign to send mail via a python script by using the local MTA From: Joel Goldstick To: Denis McMahon Content-Type: multipart/alternative; boundary=089e0111b0c2e175d504e68697ab Cc: "python-list@python.org" 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: 118 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379365658 news.xs4all.nl 15979 [2001:888:2000:d::a6]:56128 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54245 --089e0111b0c2e175d504e68697ab Content-Type: text/plain; charset=UTF-8 On Mon, Sep 16, 2013 at 3:09 PM, Denis McMahon wrote: > On Mon, 16 Sep 2013 18:02:20 +0300, Ferrous Cranus wrote: > > > We need to try it to see if it will work, or perhaps we can alter both > > the hostname and ip address variables on the server to some other values > > so that google will use them too. > > > > It will not detect the real hostname or the real ip this way since both > > values will be not true. > > It may however detect that your are presenting an ip and or hostname that > does not match the host you are connecting with, and increase the spf > score on the messages to the point that the messages get rejected either > in the google mta or downstream due to their spf score. > > -- > Denis McMahon, denismfmcmahon@gmail.com > -- > https://mail.python.org/mailman/listinfo/python-list > Nikos, You have to start with a historical perspective. Email was very open in the beginning of the internet. Before there were bad actors. Since that time, email has become the internet service most used for bad purposes, to deliver bad payloads, spoof people into visiting fake websites to induce them to give away private information, etc. So, the email services have gotten more particular about what they deem safe email in lots of different ways. If you want to do these various odd and misleading things to the emails you send out, you will have to understand how to 'beat the systems' that have been employed to stop that stuff. Having read your questions here for the last year(s) I don't believe this is an area in which you excel. You always want quick answers to questions that often show your complete lack basic understanding of the question domain. If you really want to plod along with this email spoofing, why not take a couple of weeks to read all about how email works on the internet, how email has been used to deliver viruses and spoofing schemes. After you understand that stuff well enough to show your competence in a forum where there are other email experts, as your questions there. As has been pointed out by several people here, your questions are not python language issues, they are issues relating to how email protocols work. So, study up and go to an email experts group and good luck! -- Joel Goldstick http://joelgoldstick.com --089e0111b0c2e175d504e68697ab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Mon, Sep 16, 2013 at 3:09 PM, Denis McMahon &l= t;denismfmcma= hon@gmail.com> wrote:
On Mon, 16 Sep 2013 18:02:= 20 +0300, Ferrous Cranus wrote:

> We need to try it to see if it will work, or perhaps we can alter both=
> the hostname and ip address variables on the server to some other valu= es
> so that google will use them too.
>
> It will not detect the real hostname or the real ip this way since bot= h
> values will be not true.

It may however detect that your are presenting an ip and or hostname = that
does not match the host you are connecting with, and increase the spf
score on the messages to the point that the messages get rejected either in the google mta or downstream due to their spf score.

Nikos,<= br>
You have to start with a historical= perspective.=C2=A0 Email was very open in the beginning of the internet.= =C2=A0 Before there were bad actors.=C2=A0 Since that time, email has becom= e the internet service most used for bad purposes, to deliver bad payloads,= spoof people into visiting fake websites to induce them to give away priva= te information, etc.=C2=A0 So, the email services have gotten more particul= ar about what they deem safe email in lots of different ways.=C2=A0 If you = want to do these various odd and misleading things to the emails you send o= ut, you will have to understand how to 'beat the systems' that have= been employed to stop that stuff.

Having read your questions here for th= e last year(s) I don't believe this is an area in which you excel.=C2= =A0 You always want quick answers to questions that often show your complet= e lack basic understanding of the question domain.=C2=A0=C2=A0 If you reall= y want to plod along with this email spoofing, why not take a couple of wee= ks to read all about how email works on the internet, how email has been us= ed to deliver viruses and spoofing schemes. =C2=A0 After you understand tha= t stuff well enough to show your competence in a forum where there are othe= r email experts, as your questions there. =C2=A0 As has been pointed out by= several people here, your questions are not python language issues, they a= re issues relating to how email protocols work.=C2=A0 So, study up and go t= o an email experts group and good luck!


--
--089e0111b0c2e175d504e68697ab--