A month on the command line, Day 15: e-mail progress

| | Comments (2) |

Again, and for the fifth or so time, IT SHOULDN'T BE THIS HARD.

I've had some success with my IMAP mail from freelinuxemail.com. Mutt and msmtp are handling things very well. I'd love to beef up my .muttrc file to sort things (maybe I need procmail) and I'd like to figure out how to create additional folders on the IMAP server, but for now just getting e-mail and being able to send it is good enough.

As I said in a comment on the last A Month at the Command Line post, I tried pine again.

Well, first I tried to piggyback a POP account on my current mutt/msmtp setup, but that wasn't working at all. So I tried to configure pine as a POP mail client. After I tried the settings in about a half-dozen Web tutorials, I was able to download all my POP mail (which unfortunately meant that those e-mails are no longer on the POP server and are no longer accessible by the company's Web-mail interface ... and no, there doesn't seem to be IMAP capability).

I've got to tell you, in this day and age of always-on Internet, IMAP is the way to go -- you can read and write e-mail from a variety of locations and computers and not have mail stored on one (unless you want to save them locally, that is). It makes for a lot more flexibility.

But back to pine. I used fetchmail to get the mail into the box and put it wherever mail is supposed to go (into my Linux user account) so mutt can find it. I'm not rock solid on the particulars, but it works. Sending the mail -- that's where I have a problem. In mutt, I needed msmtp (or esmtp) to send mail. Pine doesn't seem to need an external program to send mail, but I just can't get the server to accept my login and password. There might be authentication, SSL or TLS that I need to address. I've got to look into it again and then figure out how to do it in pine.

But I'd rather not use pine at all and do everything through mutt ...

2 Comments

Jason said:

I don't know what you mean by saying that there doesn't appear to be IMAP
capability.

The authors of Pine at the University of Washington invented IMAP. Pine is designed from the ground up to use IMAP.

The syntax for accessing an IMAP folder in Pine is slightly awkward in my opinion, and I can't remember it as I haven't used Pine much for a long time, but it's all documented in the Pine online help.

There is also a useful tool called OfflineIMAP which will synchronize IMAP folders with folders on your local system, so that changes are immediately carried over from one folder collection (local or remote) to the other.

If you're running Debian or Ubuntu, try

aptitude show offlineimap

for a quick description.

That's my bad. I'll admit that I didn't test pine as extensively as needed. Once I got mutt working, I pretty much left pine alone, although I didn't remove it from the system and will return to it at some point.

I also saw that the UW people are working on a new mail system, Alpine, that is going to be an open-source offering under the Apache license, so I'm pretty happy about that.

While I finally did get mutt working with IMAP and POP (details forthcoming in a new blog entry), some of the configuration files out there for both mutt and pine are staggering in their complexity, and my hat is off -- way off -- to those who built them. I really, really like command-line e-mail, even though Thunderbird makes things much, much easier. But once you get your CLI e-mail system working, it's a real productivity boost because mail can be read, replied to and archived or deleted so incredibly quickly.

fastmail.fm/freelinuxemail.com supports pine (and not mutt), but I couldn't get it working in pine by following their configuration instructions. If that had worked, I'd be using pine right now ...

I do like pine, and it was great for reading my POP mail (except that I couldn't figure out how to keep the mail on the server). I used fetchmail to get the mail, and that worked great, too. But I couldn't get pine and my smtp server to cooperate -- I might try again with a different server and give pine another shot, but since I do have mutt working, I will probably stick with it for awhile.

Leave a comment

Tech Talk column

Steven Rosenberg's weekly Tech Talk column, which appears Saturdays in the Los Angeles Daily News, is now available on the Daily News Technology page.

About this blog

New ways to sign in to comment: I just added the ability for prospective commenters on this blog to sign in using their AOL, Yahoo! and Wordpress.com accounts (for the past 200 posts anyway ... more than that will take an extensive, middle-of-the-night rebuild). That's in addition to the other sign-in choices, which include starting a Movable Type account on this blog, Typekey, OpenID, Live Journal and Vox. If you have trouble getting your Movable Type account verified, or any of the other sign-in options are not working properly, please e-mail me. With these added ways of signing in, there's more reason than ever for you to make a comment (or several!).




Steven Rosenberg aims to learn what he does not know. He writes about it here.



About this Entry

This page contains a single entry by Steven Rosenberg published on May 17, 2007 4:35 PM.

A month on the command line, Day 13: Elinks and mutt -- they seem to know each other was the previous entry in this blog.

A month on the command line, Day 15: I get POP into mutt!!! is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Recent Comments

Steven Rosenberg on A month on the command line, Day 15: e-mail progress: That's my bad. I'll admit that I didn't test pine as extensively as ne ...

Jason on A month on the command line, Day 15: e-mail progress: I don't know what you mean by saying that there doesn't appear to be I ...

Powered by Movable Type 4.25

LXer

Links

Daily News technology
LXer
Distrowatch
Linus' Blog
David Pogue
BoingBoing
Linux Today
TuxRadar
Linux.com
Linux Planet
The Open Road
Linux Outlaws podcast
Dan Lynch
Fabian Scherschel
The VAR Guy
Larry the Free Software Guy
Chess Griffin
Linux Reality podcast
Desktop Linux
Practical Technology
Linux Devices
ZDNet
ZDNet U.K.
iTWire
CNet News
TechCrunch
The Register
Ars Technica
Reg Developer
Computerworld
Computerworld blogs
Steven J. Vaughan-Nichols at Computerworld
Debian
Planet Debian
Debian Forums
Debian News
debianHELP
debiantutorials.org
The Debian User
Wolfgang Lonien
Debian-News.net
Debian Administration
Debian Admin
Debian Weather
Ubuntu
Xubuntu
Kubuntu
Edubuntu
Gobuntu
Planet Ubuntu
Ubuntu Forums
Ubuntu Geek
Works With U
Dustin Kirkland
Ubuntu UK Podcast
Popey
gNewSense
CrunchBang Linux
OpenBSD
OpenBSD Journal
OpenBSD Ports
OpenBSD 101
Planet.OpenBSD.nu
jggimi's OpenBSD live CD
DaemonForums
BSDanywhere
Marc Balmer
Denny's OpenBSD blog
Polarwave's OpenBSD Tips and Tricks
Binary Updates for OpenBSD
Puppy Linux
Damn Small Linux
Tiny Core Linux
PCLinuxOS
Mandriva
Red Hat
Red Hat News
Red Hat Blogs
Red Hat: Truth Happens
Red Hat Magazine
CentOS
Planet CentOS
Fedora
Slackware
Slackbuilds
Robby's Slackware Packages
Slackblogs
dropline GNOME for Slackware
GNOME Slackbuild
GWARE - GNOME for Slackware
Wolvix
Zenwalk Linux
Vector Linux
Slax
Splack Linux — Slackware for Sparc
Nonux
How to Forge
marc.info BSD and Linux mailing list archive
FreeBSD
FreeBSD, the Unknown Giant
A Year in the Life of a BSD Guru
NetBSD
PC-BSD
DesktopBSD
DragonFlyBSD
DragonFlyBSD Digest
DesktopBSD
BSD Talk podcast
OpenSolaris
MilaX
BeleniX
DeLi Linux
Linux Loop
Electronista
Engadget
Gizmodo

Advertisement

Other blogs

Johnson Update in Inside USC with Scott Wolf
Has Bynum outgrown Kareem? in Inside the Lakers
Can the Angels just get to the end of this thing without an injury? in Farther Off the Wall
Neuheisel On: in Inside UCLA with Jon Gold
U.S. Roster for Final Two WCQ Announced in 100 Percent Soccer