Gnus development mailing list
 help / color / mirror / Atom feed
From: Harry Putnam <reader@newsguy.com>
Cc: ding@gnus.org
Subject: Re: smtp authentication (sendmail relay)
Date: 17 Dec 2000 08:53:18 -0800	[thread overview]
Message-ID: <m2n1dv2dmp.fsf@gnus-5.8.8-cvs.now.playing> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "17 Dec 2000 10:06:35 +0100"

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" <robin@socha.net> writes:

 > * Harry Putnam <reader@newsguy.com> 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....  : )



  reply	other threads:[~2000-12-17 16:53 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-17  8:29 Harry Putnam
2000-12-17  9:06 ` Kai Großjohann
2000-12-17 16:53   ` Harry Putnam [this message]
2000-12-17 19:44     ` Kai Großjohann
2000-12-19  0:13       ` Harry Putnam
2000-12-19  1:51         ` Glenn Shiffer
2000-12-19  2:41           ` Harry Putnam
2000-12-17 10:51 ` jas
2000-12-17 16:34 ` Stainless Steel Rat
2000-12-17 18:41   ` Simon Josefsson
2000-12-17 21:01     ` Harry Putnam
2000-12-17 21:14       ` Kai Großjohann
2000-12-17 22:45         ` Colin Walters
2000-12-17 23:06           ` Lloyd Zusman
2000-12-17 21:24       ` Lloyd Zusman
2000-12-17 22:15         ` Harry Putnam
2000-12-17 22:26           ` Lloyd Zusman
2000-12-17 23:31             ` Harry Putnam
2000-12-17 23:41               ` Lloyd Zusman
2000-12-17 23:02           ` Lloyd Zusman
2000-12-18  7:49           ` Steinar Bang
2000-12-17 21:29   ` Harry Putnam
2000-12-17 21:45     ` Lloyd Zusman
2000-12-17 23:03       ` Harry Putnam
2000-12-17 23:20         ` Lloyd Zusman
2000-12-17 23:27         ` Russ Allbery

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2n1dv2dmp.fsf@gnus-5.8.8-cvs.now.playing \
    --to=reader@newsguy.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).