Introduction to Pine

The Pine package contains the Pine Mail User Agent and several server daemons for various mail protocols, in addition to some nice file and directory editing/browsing programs.

Package Information

Additional Downloads

Pine Dependencies




OpenLDAP-2.3.39 and MIT Kerberos V5-1.6

User Notes:

Installation of Pine

Install Pine by running the following commands:

patch -Np1 -i ../pine-4.64-utf8-1.patch &&
sed -i "s@/usr/local/lib/pine@/etc/pine@g" \
    $(grep -lr /usr/local/lib/pine *) &&
./build DEBUG=-O MAILSPOOL=/var/mail \
    SSLDIR=/usr SSLCERTS=/etc/ssl/certs slx

This package does not come with a test suite.

Now, as the root user:

install -v -m644 doc/*.1 /usr/share/man/man1 &&
install -v -p -m644 doc/tech-notes/*.html /usr/share/doc/pine4.64 &&
install -v -m755 \
bin/{pine,imapd,ipop2d,ipop3d,mailutil,mtest,pico,pilot,rpdump,rpload} \

Command Explanations

patch -Np1 -i ../pine-4.64-utf8-1.patch: This patch enables Pine UTF-8 and charset conversion.

sed -i "s@/usr/ ... /lib/pine *): This sed will make Pine use /etc for configuration files. It also alters the documentation to reflect that.

The build procedure for Pine is somewhat unusual, in that options usually passed as ./configure options or housed in $CFLAGS must all be passed on the command line to the ./build script.

./build slx: Pine offers quite a few target platforms, slx specifies Linux using -lcrypt to get the crypt function. See the doc/pine-ports file for more information and other authentication options.

DEBUG=-O: This flag compiles an optimized version of pine and pico that produces no debug files.

MAILSPOOL=/var/mail: Location of mail spool files, /var/mail.

SSLDIR=/usr SSLCERTS=/etc/ssl/certs: Location of OpenSSL files.

Configuring Pine

Config Files


Configuration Information

The pine executable needs no global configuration to use. Users set Pine options in ~/.pinerc using an internal configuration menu.


Installed Programs: imapd, ipop2d, ipop3d, mtest, pico, pilot, pine, rpdump, and rpload
Installed Libraries: None
Installed Directories: /usr/share/doc/pine4.64

Short Descriptions


is the IMAP server daemon.


is an IMAP to POP2 conversion server.


is an IMAP to POP3 conversion server.


is a minimal IMAP mail user agent, used for debugging.


is a stand-alone editor, similar to the Pine internal message composer.


is a file and directory navigator and browser.


is the Pine mail user agent.


is used to copy data from remote Pine configuration files or address books into a local file.


is the Pine remote data utility, used to convert local Pine configuration files or address books into remote configurations or address books.

Last updated on 2007-04-04 14:42:53 -0500