Home > Uncategorized > Update: Multiple SMTP Accounts from the Console

Update: Multiple SMTP Accounts from the Console

Friday 10 April 2009 Leave a comment Go to comments

This is a follow up for a previous post.

Before I committed myself to any particular MTA for the job, I continued the search for information. I stumbled across this HOWTO on Alpine Configuration which addressed my needs. It means things have changed a great deal from the old Pine application, more than I had realized. It means Alpine is designed to provide the full range of mail client functions, even if some of them are a little hard to find.

(Update: The HOWTO mentioned above has disappeared from the Net. I can only offer a quick-n-dirty version for those willing to edit their configuration file by hand: go here.)

Those instructions worked for my AT&T account, the biggest boondoggle of them all.

The only kicker was the need for repeatedly typing in the passwords for each account, once each session. I’m not interested in the security issues, since I allow no one to touch this laptop but me. Further, if other email clients can save and obscure passwords, how are they less vulnerable than Alpine? The answer was to recompile the version available for CentOS 5 from RPMForge. So I hunted down a mirror with the SRPM, and changed the SPEC file by adding one line:

--with-passfile=.alpine-passfile

just below the line which starts with ‘%configure \‘. Oh, and the rpmbuild -bb command failed to reveal I needed the tcl-devel package, and threw out an error because it couldn’t find tcl.h. Finally, to make sure this rebuilt version installed over the previous one as an upgrade, I changed the build number by making the line ‘Release: 1.rf‘ read ‘Release: 1.2.rf‘.

I ran ‘touch .alpine-passfile‘. Upon installing and running Alpine again, when I selected one of my roles for checking email, upon entering my password, it offered to save it for future use. That’s what I was looking for previously. Taking a quick look, it was indeed a hashed file.

About these ads
Categories: Uncategorized
  1. Friday 19 April 2013 at 3:08 pm | #1

    Thanks for this, I too am a fan of (re-)alpine and was just wondering how to do exactly this. BTW: Are you aware of archive.org? Check this out: http://web.archive.org/web/20090715171051/http://www.mediusrete.org/progs/calpine.html

  2. Friday 19 April 2013 at 4:42 pm | #2

    Thanks for the link. I checked a couple of times after updating this article and it never showed up on the Archive. Glad to see it’s there now.

  1. Sunday 8 January 2012 at 2:01 pm | #1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 238 other followers

%d bloggers like this: