From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33736 Path: main.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.emacs.gnus.general Subject: Re: smtp authentication (sendmail relay) Date: 17 Dec 2000 16:45:08 -0500 Organization: FreeBSD/Linux Hippopotamus Preserve Sender: owner-ding@hpc.uh.edu Message-ID: References: <200012170829.eBH8T2Z30966@newsguy.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035169785 26637 80.91.224.250 (21 Oct 2002 03:09:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:09:45 +0000 (UTC) Return-Path: Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by mailhost.sclp.com (Postfix) with ESMTP id EDBF0D049D for ; Sun, 17 Dec 2000 16:45:40 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id PAB27022; Sun, 17 Dec 2000 15:45:39 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 17 Dec 2000 15:45:01 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id PAA07039 for ; Sun, 17 Dec 2000 15:44:48 -0600 (CST) Original-Received: from home.acholado.net (acholado.net [216.182.19.128]) by mailhost.sclp.com (Postfix) with ESMTP id BDED5D049D for ; Sun, 17 Dec 2000 16:45:08 -0500 (EST) Original-Received: by home.acholado.net (Postfix, from userid 510) id 7098A19E96; Sun, 17 Dec 2000 16:45:08 -0500 (EST) Original-To: ding@gnus.org X-Face: "!ga1s|?LNLE3MeeeEYs(%LIl9q[xV9!j4#xf4!**BFW_ihlOb;:Slb>)vy>CJM Original-Lines: 132 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Canyonlands) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33736 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33736 Harry Putnam writes: > Stainless Steel Rat writes: > > > * Harry Putnam on Sun, 17 Dec 2000 > > | In fact, not really sure where those smtp negotiations get handled. > > > > If newsguy is doing what I suspect they are doing, they don't. > > Authenticated SMTP hooks into POP authentication. When you authenticate > > yourself to the POP server, a flag is set that allows you to use that > > host's SMTP server to relay mail. That flag is cleared after some set > > period. > > > > It is probably a bit more complex than this, but this is what the end users > > see. > > So, if that is the case then I should be able to relaty through them > since that is my source of POP3. So does the relay have to happen in > conjunction with a POP3 retrieval .... Any one know how that is setup? Well, I'm not sure if relay works via newsguy's SMTP server or not, since I only used it to send mail to a newsguy email address that I have. > Maybe the messages from a staight on attempt to relay will provide a > clue. Yep. I agree. Enclosed at the bottom of this email is another typescript showing the following scenario: (1) Connect to `smtp.newsguy.com' via telnet for an SMTP session, and attempt to relay ... this fails. (2) Connect to `pop.newsguy.com' via telnet for a POP3 session, and then immediately log out. (3) Re-connect to `smtp.newsgiy.com' via telnet for an SMTP session, and re-attempt the same relay ... this time, it succeeds. > Couldn't think of a way to get more verbose stuff since telnet is > disabled: On a Unix-like machine you can type `script' from your shell, and then enter interactive commands, such as the telnet commands to the newsguy servers that I issued. When you're done, you type `exit' from your shell, and everything that appeared on your screen since you last typed `script' will be stored in a file called `typescript', in your local directory. Edit out any passwords and any control characters from this file (especially the ^M characters), and this is an exact log of what took place within the telnet sessions. > [ ... ] Here's the typescript log for what I described above: Script started on Sun Dec 17 16:34:01 2000 1> telnet smtp.newsguy.com 25 Trying 209.155.56.71... Connected to smtp.newsguy.com. Escape character is '^]'. 220 newsguy.com ESMTP Sendmail 8.11.0/8.9.1; Sun, 17 Dec 2000 13:31:53 -0800 (PST) ehlo asfast.com 250-newsguy.com Hello IDENT:root@acholado.net [216.182.19.128], pleased to meet you 250-ENHANCEDSTATUSCODES 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 2000000 250-DSN 250-ONEX 250-ETRN 250-XUSR 250 HELP mail from: ljz@asfast.com 250 2.1.0 ljz@asfast.com... Sender ok rcpt to: ljz@nyct.net 550 5.7.1 ljz@nyct.net... Relaying denied - please authenicate by logging into the pop server quit 221 2.0.0 newsguy.com closing connection Connection closed by foreign host. 2> telnet pop.newsguy.com 110 Trying 209.155.56.72... Connected to pop.newsguy.com. Escape character is '^]'. +OK QPOP (version 2.3a) at perry.pathlink.com starting. <22701.977088806@perry.pathlink.com> user XXXXXXXXXX +OK Password required for elhipo. pass YYYYYYYYYY +OK elhipo has 8 messages (11553 octets). quit +OK Pop server at perry.pathlink.com signing off. Connection closed by foreign host. 3> telnet smtp.newsguy.com 25 Trying 209.155.56.71... Connected to smtp.newsguy.com. Escape character is '^]'. 220 newsguy.com ESMTP Sendmail 8.11.0/8.9.1; Sun, 17 Dec 2000 13:33:58 -0800 (PST) ehlo asfast.com 250-newsguy.com Hello IDENT:root@acholado.net [216.182.19.128], pleased to meet you 250-ENHANCEDSTATUSCODES 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 2000000 250-DSN 250-ONEX 250-ETRN 250-XUSR 250 HELP mail from: ljz@asfast.com 250 2.1.0 ljz@asfast.com... Sender ok rcpt to: ljz@tiac.net 250 2.1.5 ljz@tiac.net... Recipient ok data 354 Enter mail, end with "." on a line by itself Subject: This is a test of newsguy relay after a pop access It looks like the test succeeded . 250 2.0.0 eBHLYBM22848 Message accepted for delivery quit 221 2.0.0 newsguy.com closing connection Connection closed by foreign host. 4> exit Script done on Sun Dec 17 16:37:05 2000 -- Lloyd Zusman ljz@asfast.com