Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1.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.012 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; '(even': 0.05; 'abuse': 0.07; 'subject:script': 0.09; 'subject:using': 0.09; 'thus,': 0.09; 'python': 0.11; '-tkc': 0.16; '12]': 0.16; ':-d': 0.16; 'from:addr:python.list': 0.16; 'from:addr:tim.thechases.com': 0.16; 'from:name:tim chase': 0.16; 'great!': 0.16; 'hostname': 0.16; 'optionally': 0.16; 'smtp,': 0.16; 'subject:send': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'library': 0.18; 'server,': 0.19; '>>>': 0.22; 'adds': 0.24; 'headers': 0.24; 'header': 0.24; 'primary': 0.26; 'header:In-Reply-To:1': 0.27; 'them?': 0.31; 'handled': 0.32; 'another': 0.32; 'subject:the': 0.34; 'could': 0.34; 'but': 0.35; 'google': 0.35; 'add': 0.35; 'there': 0.35; 'object,': 0.36; 'smtp': 0.36; 'charset:us-ascii': 0.36; 'being': 0.38; 'remote': 0.38; 'server': 0.38; 'confirmed': 0.38; 'gmail': 0.38; 'to:addr:python-list': 0.38; 'track': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'remove': 0.60; 'address': 0.63; 'account': 0.65; 'close': 0.67; 'mail,': 0.68; 'default': 0.69; 'wish': 0.70; 'connection.': 0.74; 'is)': 0.84; 'received:50.22': 0.84; 'starters,': 0.84; 'subject:via': 0.84 Date: Mon, 16 Sep 2013 20:40:06 -0500 From: Tim Chase To: python-list@python.org Subject: Re: Tryign to send mail via a python script by using the local MTA 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> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - boston.accountservergroup.com X-AntiAbuse: Original Domain - python.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tim.thechases.com X-Get-Message-Sender-Via: boston.accountservergroup.com: none 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: 30 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379383858 news.xs4all.nl 15863 [2001:888:2000:d::a6]:37429 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54261 On 2013-09-17 00:15, Ferrous Cranus wrote: >>> X-AntiAbuse: This header was added to track abuse, please include >>> it with any abuse report X-AntiAbuse: Primary Hostname - >>> my.superhost.gr >>> X-AntiAbuse: Original Domain - superhost.gr >>> X-AntiAbuse: Originator/Caller UID/GID - [500 501] / [47 12] >>> X-AntiAbuse: Sender Address Domain - mail.org >>> X-Get-Message-Sender-Via: my.superhost.gr: authenticated_id: >>> nikos/only user confirmed/virtual account not confirmed > > For starters, does my MTA add them as additional headers to my mail > or Google adds them by default ? Given that there are headers in there that know about your UID/GID, it has to be a locally-running process that adds them. No remote server (even as powerful as Gmail is) should/can know this legitimately without being told. Thus, it's clearly your local MTA. > But i wish to try it, is there a way to try to remove them? You could manage your own SMTP connection. If only Python had some built in library that handled SMTP, that would be great! Then you would be able to instantiate some SMTP object, connect to another server, optionally authenticating, then send mail, and close the connection. That would be so awesome! :-D -tkc