Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.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.007 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subsequent': 0.05; 'conf': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:script': 0.09; 'subject:using': 0.09; 'python': 0.11; 'configuring': 0.16; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject:send': 0.16; 'through.': 0.16; 'subject:python': 0.16; 'headers': 0.24; 'passes': 0.24; 'url:home': 0.24; 'header:X -Complaints-To:1': 0.27; 'host': 0.29; 'flags': 0.31; 'sep': 0.31; 'subject:the': 0.34; "can't": 0.35; 'add': 0.35; 'done': 0.36; 'charset:us-ascii': 0.36; 'filter': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'eventually': 0.60; 'confirm': 0.64; 'spam.': 0.64; 'more': 0.64; "can't...": 0.84; 'subject:via': 0.84; 'received:108': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Tryign to send mail via a python script by using the local MTA Date: Tue, 17 Sep 2013 19:29:10 -0400 Organization: IISS Elusive Unicorn References: <52379718$0$29988$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-73-119-170.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES 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: 1379460569 news.xs4all.nl 15940 [2001:888:2000:d::a6]:59181 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54337 On Tue, 17 Sep 2013 18:17:43 +0300, Ferrous Cranus declaimed the following: >So cant this be done in python or not? >or is a mtetr of configuring the MTA? conf file? You can't... Those headers get added by the ISP and any other host the mail passes through. The more you fake the originator IP/user the more the subsequent servers will add flags that they can't confirm who sent the mail... And eventually some filter may drop it as spam. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/