From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IoOAT-00070p-Sq for garchives@archives.gentoo.org; Sat, 03 Nov 2007 18:56:26 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id lA3It9ih024242; Sat, 3 Nov 2007 18:55:09 GMT Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [216.148.227.151]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id lA3Iow1r019453 for ; Sat, 3 Nov 2007 18:50:59 GMT Received: from spore.ath.cx ([24.245.14.14]) by comcast.net (rwcrmhc11) with ESMTP id <20071103185056m110064va7e>; Sat, 3 Nov 2007 18:50:56 +0000 Received: from pascal.spore.ath.cx (pascal.spore.ath.cx [192.168.1.100]) by spore.ath.cx (Postfix) with ESMTP id F29D61F43 for ; Sat, 3 Nov 2007 13:50:55 -0500 (CDT) Date: Sat, 3 Nov 2007 13:50:55 -0500 From: Dan Farrell To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Problems with PORTAGE_ELOG_MAIL (Connection error) Message-ID: <20071103135055.7f886fff@pascal.spore.ath.cx> In-Reply-To: <20071103182218.GA26426@localhost> References: <20071102024237.GA25224@localhost> <1D892763-F50A-4F9C-A940-6FC22D4AB6EC@stellar.eclipse.co.uk> <20071103182218.GA26426@localhost> Organization: Spore, Ltd. X-Mailer: Claws Mail 3.0.0 (GTK+ 2.10.14; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: bff12a00-4e30-425d-9682-4f5e37c374d5 X-Archives-Hash: 666fa5916e2531a29329dac7b64f51bd On Sat, 3 Nov 2007 13:22:18 -0500 forgottenwizard wrote: > I'm not sure what the purpose of telneting my own system it, either. > Would I be looking for an open port? Telnet clients are useful debugging tools. You can connect to a service (in this case SMTP, on port 25) and then manually implement the service's protocol for troubleshooting purposes. For Example, in this case my message couldn't be sent because it (evidently) contained an invalid header, but the same commands would work if connected to a different server. I can see the error message; if I was maintaining this server, I could perhaps adjust my proxyd-filter.pl file, or suggest that my users adjust their mail headers. ==================================================================== Example SMTP session, implemented through telnet. ------------------------------------------------------ dan@atlas ~ $ telnet mx4.hushmail.com 25 Trying 65.39.178.137... Connected to mx4.hushmail.com. Escape character is '^]'. 220 smtp6.hushmail.com ESMTP Postfix HELO spore.ath.cx 250 smtp6.hushmail.com MAIL FROM: dan@spore.ath.cx 250 2.1.0 Ok RCPT TO: phrexianreaper@hushmail.com 250 2.1.5 Ok DATAHello forgottenwizard, 502 5.5.2 Error: command not recognized DATA 354 End data with . Hello forgottenwizard, This email is meant as an example of the usefulness of a telnet client as a general purpose debugging tool, applicable to all sorts of plain-text communication protocols. In this case, I spoke SMTP with the mail server. You could use the same method to speak to an HTML server, or one of many other protocols as well. Sincerely, Dan Farrell . 554 5.6.0 Message contains invalid header at ./proxyd-filter.pl line 283. ============================================================================ -- gentoo-user@gentoo.org mailing list