No pine on CentOS?

This is a trick I call "Pine Cent". CentOS doesn't come with Pine installed, so if you want a text based mailer, you're stuck with "mail".

So here's what I do on all my CentOS servers:

(in bash):

# alias pine=mutt

(in tcsh):

> alias pine mutt

It's kinda a joke, because well mutt is a very nice text mode email client. Being an old user of unix from way back, something in my brain is hardwired to type "pine" when I want to read email.

Note, the learning curve is a bit steep if you are accustomed to pine, but mutt is just as powerful, if not more so. If you're a mutt "power user" I'd love to see some things you've done with it.

I'm not surprised that Pine

Anonymous's picture

I'm not surprised that Pine is no longer included with Cent OS. Pine has been dead (discontinued) since 2005. The University of Washington (same guys who made Pine) are now distributing a program called Alpine, which is like Pine 2. Not sure if that comes with Cent OS, but it's more likely to be there than Pine.

mutt on CentOS

Meaulnes's picture

> If you're a mutt «power user» I'd love to see some things you've done with it.

I use mutt to send myself files from our server to my office with:
mutt me@office.tld -s "here is myfile" -a myfile

For convenience, I entered the following alias/function into my bash profile (the ^[ are ESC in vi):

sendhome () { HomeAddress="me@office.tld" ; \
        echo -n "       sending ^[[4m$1^[[0m ..." ; \
        echo $1 | mutt "$HomeAddress" -s "$1" -a $1 ; \
        echo "file sent to ^[[36m"$HomeAddress"^[[0m." \

Unfortunately, we have a new server running CentOS but without mutt. Can I just issue «yum install mutt» without screwing something up?


Meaulnes Legler
Zürich, Switzerland

White Paper
Linux Management with Red Hat Satellite: Measuring Business Impact and ROI

Linux has become a key foundation for supporting today's rapidly growing IT environments. Linux is being used to deploy business applications and databases, trading on its reputation as a low-cost operating environment. For many IT organizations, Linux is a mainstay for deploying Web servers and has evolved from handling basic file, print, and utility workloads to running mission-critical applications and databases, physically, virtually, and in the cloud. As Linux grows in importance in terms of value to the business, managing Linux environments to high standards of service quality — availability, security, and performance — becomes an essential requirement for business success.

Learn More

Sponsored by Red Hat

White Paper
Private PaaS for the Agile Enterprise

If you already use virtualized infrastructure, you are well on your way to leveraging the power of the cloud. Virtualization offers the promise of limitless resources, but how do you manage that scalability when your DevOps team doesn’t scale? In today’s hypercompetitive markets, fast results can make a difference between leading the pack vs. obsolescence. Organizations need more benefits from cloud computing than just raw resources. They need agility, flexibility, convenience, ROI, and control.

Stackato private Platform-as-a-Service technology from ActiveState extends your private cloud infrastructure by creating a private PaaS to provide on-demand availability, flexibility, control, and ultimately, faster time-to-market for your enterprise.

Learn More

Sponsored by ActiveState