Subject: smtp authentication

From: Thomas Carlson <[email-masked]>
Date: Fri, 19 Nov 2004 06:59:21 -0500

I am trying to use Pine and SSH to remotely access an e-mail account 
that requires smtp authentication, both the username and password.  I 
have read your direction to use the /user= flag in the smtp-server 
field but haven't figured out what do you do about the password.  My 
e-mail server is a Macintosh running OS 10.2 and the program, Mail, 
works just fine with this account.  Is there some way to specify that 
Pine just use the smtp server specified in Mail?

Thanks for your help.

Thomas Carlson

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: Eduardo Chappa <[email-masked]>
Date: Fri, 19 Nov 2004 10:10:45 -0800 (PST)

*** Thomas Carlson ([email-masked]) wrote in the pine-info list...:

:) I am trying to use Pine and SSH to remotely access an e-mail account 
:) that requires smtp authentication, both the username and password.  I 
:) have read your direction to use the /user= flag in the smtp-server 
:) field but haven't figured out what do you do about the password.

You can not specify a password "in the clear" (meaning by writing it in a 
configuration option). There is password file support in Pine, which will 
allow you to save your password in a file of your choice, but this support 
must be enabled when you compile Pine. If you can build Pine on your own, 
then you can get directions on adding password file support from:

http://www.math.washington.edu/~chappa/pine/pine-info/build/#passfile

-- 
Eduardo
Patches/Help: http://www.math.washington.edu/~chappa/pine/
XML/RSS feed: http://www.math.washington.edu/~chappa/pine/pine.xml

---

From: Thomas Carlson <[email-masked]>
Date: Sat, 20 Nov 2004 09:04:21 -0500

> http://www.math.washington.edu/~chappa/pine/pine-info/build/#passfile

I am using Pine, version 4.58 on my OS 10.2(UNIX) Mac.  I read the link 
that you provided to say that no patch is needed to specify a password 
file and I wouldn't have to rebuild the application.  Is that correct?

I'm not very good at UNIX command line stuff.  Could someone tell me 
what I need to actually enter into Terminal to define my password so 
that it will come up automatically when the SMTP server requests it?

Again, Thanks

Tom

---

From: Eduardo Chappa <[email-masked]>
Date: Sat, 20 Nov 2004 10:37:39 -0800 (PST)

:) On 19-Nov-04, at 1:10 PM, Eduardo Chappa wrote:
:) 
:) > You can not specify a password "in the clear" (meaning by writing it 
:) > in a configuration option). There is password file support in Pine, 
:) > which will allow you to save your password in a file of your choice, 
:) > but this support must be enabled when you compile Pine. If you can 
:) > build Pine on your own, then you can get directions on adding 
:) > password file support from:
:) > 
:) > http://www.math.washington.edu/~chappa/pine/pine-info/build/#passfile
:) 
:) I am using Pine, version 4.58 on my OS 10.2(UNIX) Mac.  I read the link 
:) that you provided to say that no patch is needed to specify a password 
:) file and I wouldn't have to rebuild the application.  Is that correct?

No the text tries to say that you have to rebuild Pine. You will not need 
to patch Pine, but the work of editing the Pine source code (specifically 
the file pine.h) must be done by you.

Although it is a nice convenience to have password file support the only 
inconvenience that you should be caused by not having it is that you will 
have to enter the password when Pine needs it, only once per session.

---

From: Thomas Carlson <[email-masked]>
Date: Sun, 21 Nov 2004 12:19:09 -0500

Well, actually, I didn't have to do any of that rebuilding stuff.  I 
got Pine to work by adding "localhost" as an smtp-server value.  
Starting sendmail with Bernard Teo's great shareware program, Sendmail 
Enabler, made the smtp server specified in Mail work just fine with 
Pine.  Now I can send and receive email from Pine, no problem.

Thanks for trying to help though, Eduardo.

Tom

---

From: Matt Ackeret <[email-masked]>
Date: Mon, 22 Nov 2004 12:59:07 -0800 (PST)

On Sat, 20 Nov 2004, Thomas Carlson wrote:
> I am using Pine, version 4.58 on my OS 10.2(UNIX) Mac.

This reminds me.. I've always thought it would be cool to try to get
pine to save a password to the keychain and read from the keychain on OSX.

It's fairly low on my "projects I'll probably never even start, let alone
finish" list though.

Also, I think there's a partial problem -- it probably wouldn't work if you
are ssh-ed into another OSX machine (because I believe the keychain requires
you to have a connection to the window server, which means logged in locally)..
But the failure case in that situation would just be to ask you to type in
your password.

(Having account *and* password info on the keychain would be even easier, but
probably would be a much bigger job.)

If anybody wants to whip up a patch to attempt this, I'll definitely test it
out for you.

-- 
top-posting: It's just a bad idea.  Please don't respond to a message and
change the subject to start a new topic -- it messes up threaded email viewing.