From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33721 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: smtp authentication (sendmail relay) Date: 17 Dec 2000 08:53:18 -0800 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 1035169773 26576 80.91.224.250 (21 Oct 2002 03:09:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:09:33 +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 1A660D049D for ; Sun, 17 Dec 2000 11:54:02 -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 KAB27454; Sun, 17 Dec 2000 10:54:01 -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 10:53:18 -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 KAA03522 for ; Sun, 17 Dec 2000 10:53:05 -0600 (CST) Original-Received: from freedom.LABridge.com (home.LABridge.com [206.117.169.5]) by mailhost.sclp.com (Postfix) with ESMTP id 51B85D049D for ; Sun, 17 Dec 2000 11:53:26 -0500 (EST) Original-Received: from reader.labridge.com (DSL02-160.LABridge.com [206.117.4.160]) by freedom.LABridge.com (8.8.8/8.8.8) with ESMTP id IAA14390; Sun, 17 Dec 2000 08:56:56 -0800 Original-Received: (from reader@localhost) by reader.labridge.com (8.9.3/8.9.3) id IAA30958; Sun, 17 Dec 2000 08:53:18 -0800 X-Authentication-Warning: reader.labridge.com: reader set sender to reader@newsguy.com using -f Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "17 Dec 2000 10:06:35 +0100" Original-Lines: 145 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33721 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33721 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro_johann) writes: > On Sun, 17 Dec 2000, Harry Putnam wrote: > > > I have a second smtp.server that I can use. The smtp side of > > newsguy.com. I use that pop server routinely. But suddenly find > > I > > don't know how to authenticate my relay to an smtp.server that is > > not part of the isp I'm dialed up with. I know how to set > > /etc/sendmail.cf to relay to that server but not how to > > authenticate > > my outgoing relay to that machine. > > I don't know that ISP, but it is possible for them to use your IP > address for authentication. To get the right IP address, you have > to > use their server for dialin, of course. Hoping it won't be considered too off-topic to discuss the nitty gritty details of mail sending and retrieval here: First let me say, that it appears the easiest temporary way may be to just let gnus do the pop and smtp transactions. I haven't actually done that before but it is fairly well documented here and on gnu.emacs.gnus. So shouldn't have too much trouble with that. 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. Let me explain my situation a little better, making use of the nifty `picture mode' and listing the tools involved: My machine .. running local sendmail for send and fetchmail/sendmail/procmail for retrieval. _______ | | | Me | |______| / \ / \ / \ / \ ISP|ISPsmtp Newsguy|POP3 So.. I connect to a local ISP, use there SMTP server to relay my outgoing mail via my local sendmail. No special authentication is required, apparently done transparently, from the ISP authentication (login). (sendmail.cf set to this smtp.server as the machine to relay to) (That is temporarily broken) I collect mail from newsguys' POP3 server using fetchmail, in the simplest possible format, which includes authentication: cat .fetchmailrc poll pop.newsguy.com proto pop3 nodns user reader password xxxxxxxx Fetchmail drops it in /var/spool/mail where gnus snarfs it. To direct sendmail to deliver to a different smpt server, is no harder than editing the single line in sendmail.cf: DSsmtp:smtp.MYLOCAL.ISP to read DSsmtp:smtp.newsguy.com And restarting sendmail. But when doing this, the connection is rejected by newsguy since no authentication is provided. The hub of my question is how to provide that authentication and not have to make other changes in my current setup. I want to be able to simply overwrite sendmail, restart it and.... bingo. Now relying thru server smtp.XXX.XXX One would expect that Newsguy.com would have this kind of info readily available but apparently there techs only deal with `windows' clients. > > Another common scheme is smtp-after-pop. Here, the idea is that > you > connect to the POP server, and if that's successful, then for 5 > minutes (or whatever) you're (your IP address is) allowed to use > the > SMTP server. This sounds like a possible option... > > 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? jas@slipsten.extundo.com writes: > On Sun, 17 Dec 2000, Harry Putnam wrote: > > > I have a second smtp.server that I can use. The smtp side of > > newsguy.com. [...] > > Perhaps you could use modern smtpmail.el which support SMTP > authentication (RFC 2554), rather than a local sendmail? If so, > customize > the `smtpmail' group. Another posssible way .. thanks. > > Hopefully Emacs will contain smtpmail.el with AUTH support in the > future. XEmacs mail-lib in CVS contains it now. "Robin S. Socha" writes: > * Harry Putnam writes: > > > Finding myself in an unusaual temporary situation where for > > technical > > reasons I cannot relay my outgoing mail through my normal ISP > > smtp > > machine. > > You are now reader@socha.net, PWD R34d3r > 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.... : )