Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweaknews.nl!85.12.40.138.MISMATCH!xlned.com!feeder5.xlned.com!news.astraweb.com!border2.a.newsrouter.astraweb.com!news.tele.dk!news.tele.dk!small.news.tele.dk!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.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'messages.': 0.05; 'subsequent': 0.05; '(python': 0.07; 'binary': 0.07; 'ignored': 0.07; 'problem:': 0.07; 'connect,': 0.09; 'extracted': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'books': 0.15; '(and,': 0.16; '[and': 0.16; 'amiga': 0.16; 'arrived': 0.16; 'blocked': 0.16; 'blocks': 0.16; 'hashed': 0.16; 'internally': 0.16; 'message-id:@4ax.com': 0.16; 'pop3': 0.16; 'queuing': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'retry': 0.16; 'set-up': 0.16; 'smtp;': 0.16; 'thanks,': 0.17; 'module': 0.19; '(but': 0.19; 'properly': 0.19; 'server,': 0.19; '(the': 0.22; 'sender,': 0.22; 'separate': 0.22; 'days,': 0.24; 'headers': 0.24; 'port.': 0.24; 'sends': 0.24; 'url:home': 0.24; 'header': 0.24; 'server.': 0.24; 'source': 0.25; 'script': 0.25; 'second': 0.26; '(for': 0.26; 'header:X-Complaints-To:1': 0.27; 'record': 0.27; 'chris': 0.29; 'external': 0.29; 'dec': 0.30; '(which': 0.31; '-0700,': 0.31; 'idea,': 0.31; 'probably': 0.32; 'handled': 0.32; 'regular': 0.32; 'run': 0.32; 'addresses': 0.33; 'fri,': 0.33; 'guess': 0.33; "i'd": 0.34; 'problem': 0.35; 'connection': 0.35; 'smtp': 0.36; 'charset:us-ascii': 0.36; 'should': 0.36; 'two': 0.37; 'list': 0.37; 'received:76': 0.38; 'server': 0.38; 'gmail': 0.38; 'to:addr :python-list': 0.38; 'bad': 0.39; "couldn't": 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'how': 0.40; 'even': 0.60; 'removing': 0.60; 'then,': 0.60; 'first': 0.61; 'back': 0.62; 'address': 0.63; 'spam.': 0.64; 'account': 0.65; 'hang': 0.67; 'mailbox': 0.68; 'discovered': 0.83; 'bcc': 0.84; 'dhcp': 0.84; 'hanging': 0.84; 'later...': 0.84; 'message).': 0.84; 'queued': 0.84; 'subject:Using': 0.84; 'destination': 0.91; 'issued': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Using pythons smtp server Date: Fri, 13 Dec 2013 19:46:56 -0500 Organization: IISS Elusive Unicorn References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-76-249-30-188.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: 47 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386982019 news.xs4all.nl 2890 [2001:888:2000:d::a6]:53924 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61874 On Fri, 13 Dec 2013 11:27:00 -0700, Vincent Davis declaimed the following: >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. > Better, if you don't want to work with the potential hazzard of an ISP that blocks passthrough SMTP; gmail is probably not using the regular SMTP port. Original SMTP would accept mail from any sender, for any receiver... Now known as an "open relay", and a source of much spam. Closed SMTP requires that mail either come from an "inside" IP address (the DHCP address issued to your connection by your ISP would be "inside" to the ISP SMTP) or be addressed TO an address known by the SMTP (which is how your ISP can send to some other network server -- it only sends to addresses on that server, and multi-address messages will be sent to each domain as a separate message). Back in my Amiga days, the first MTA I had /did/ attempt to connect directly to the destination domain (but I suspect did not use MX record lookup). Problem -- if it couldn't connect, that message would hang for retry later... AND that hanging message blocked all subsequent queued messages. My second client used ISP relay, leaving the headache of actually delivering the message to my ISP to resolve. Problem: it extracted destination addresses from the "To:" header of the message, and ignored both "CC:" and "BCC:" headers (and, for all I know, even transmitted the "BCC:" list to any "To" recipient). About then, I discovered the first two significant books on Python at Computer Literacy, and that an Amiga binary was available (Python 1.4, I think -- thanks, Irmin). In less than a week I'd hashed together an SMTP sending program run as a daemon relaying through my ISP and properly extracting SENDTO from To/CC/BCC headers [and removing the BCC from the message], and an ARexx script used as the queuing module for AmigaELM. I used this set-up for a few years until a fancier Amiga email program arrived that handled sending and receiving internally (AmigaELM also required an external POP3 fetchmail program -- the mail client only accessed local mailbox files). -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/