From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33726 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: smtp authentication (sendmail relay) Date: 17 Dec 2000 20:44:27 +0100 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 1035169777 26597 80.91.224.250 (21 Oct 2002 03:09:37 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:09:37 +0000 (UTC) Cc: ding@gnus.org 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 8E966D049D for ; Sun, 17 Dec 2000 14:45:13 -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 NAB28623; Sun, 17 Dec 2000 13:45:13 -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 13:44:28 -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 NAA05590 for ; Sun, 17 Dec 2000 13:44:14 -0600 (CST) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by mailhost.sclp.com (Postfix) with ESMTP id 543B8D049D for ; Sun, 17 Dec 2000 14:44:40 -0500 (EST) Original-Received: from marcy.cs.uni-dortmund.de (marcy.cs.uni-dortmund.de [129.217.20.159]) by waldorf.cs.uni-dortmund.de with ESMTP id UAA24874; Sun, 17 Dec 2000 20:44:28 +0100 (MET) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.20.160]) by marcy.cs.uni-dortmund.de id UAA12237; Sun, 17 Dec 2000 20:44:27 +0100 (MET) Original-Received: (from grossjoh@localhost) by lucy.cs.uni-dortmund.de (8.9.3/8.9.3/Debian 8.9.3-21) id UAA11988; Sun, 17 Dec 2000 20:44:27 +0100 Original-To: Harry Putnam X-Face: /B3twq_DELA4]7alR?%xv(/f1N;bi:NN=UlA=(1a"pKte&5/Y/9*z&8q[P}+}YgJX_9*}k_ 0E|EJBC~yEok<#VOw:9GQWq1-;PCR-hd;3|Vk]~"|EM{Q5ir5nr!HzZ,W4\k5G|QWHw45gQ*tWydTR , Original-Lines: 76 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.0.94 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33726 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33726 On 17 Dec 2000, Harry Putnam wrote: > However as is ofter the case, I'm looking for a more optimal > solution, that could be used by simply overwriting sendmail.cf and > restarting sendmail. To find out what the newsguy.com smtp server wants, it might be easiest to talk to it directly: telnet smtp.newsguy.com 25 Make liberal use of the HELP command... Without authentication, the typical command sequence is this: /---- | HELO lucy.cs.uni-dortmund.de | MAIL FROM: | RCPT TO: | DATA | From: Kai Grossjohann | To: Harry Putnam | Subject: test | | testing the test | . \---- HELO tells the other smtp server who my machine is. MAIL FROM and RCPT TO (including the colon and the angle brackets) give the envelope sender and recipient, DATA indicates that the mail itself follows (terminated by a line which contains only a dot). The message itself also contains From and To, but these are the headers, not the envelope. If the envelope says the message goes to John, and the header says Paul, then the message will go to John. You might wish to compare with what you see. > > I think there are also schemes for doing authentication within > > SMTP, but I think they are rarely used. They are also > > non-standard, I think. > > Is this last `within' scheme what I am describing above? Could be. This depends on whether the SMTP server asks you for authentication. > "Robin S. Socha" writes: > > You are now reader@socha.net, PWD [...] > > To login, use reader@socha.net, to relay over this machine, get > > POP3 > > first (smtp after pop). https://socha.net:666/webmail/ is also > > there, > > altough the account settings are slightly broken ;-) > > Thanks Robin.. same as above solution `smtp after pop'. > > Due to your characteristic breivity... Its not clear if there would > be a way to do what I've described above on that smtp server. > Please set -v to the next higher level.... : ) You need to tell Gnus to get mail from machine socha.net, logging in with given login and password. (It's not clear to me whether the login name should be "reader" or "reader@socha.net".) And then you put socha.net as smarthost into sendmail.cf, and for a couple of minutes after getting mail, you can do "sendmail -q" and the mail will be relayed. For the above scheme, it's not important that you actually HAVE mail at that machine. It's sufficient for you to CONTACT the machine, then the SMTP-after-POP will work. kai -- A large number of young women don't trust men with beards. (BFBS Radio)