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

Pine dependencies



Installation of Pine

Install Pine by running the following commands:

patch -Np1 -i ../pine-4.60-fhs-3.patch &&
./build DEBUG=-O MAILSPOOL=/var/mail \
    SSLDIR=/usr SSLCERTS=/etc/ssl/certs slx &&
cp doc/*.1 /usr/share/man/man1 &&    
cd bin &&
install -m755 pine imapd ipop2d ipop3d mailutil mtest pico \
    pilot rpdump rpload /usr/bin

Command explanations

patch -Np1 -i ../pine-4.60-fhs.patch: This patch will make Pine use /etc for configuration files.

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.

cd bin &&
install -m755 pine imapd ipop2d ipop3d mailutil mtest pico \
    pilot rpdump rpload /usr/bin

This installs the Pine programs.

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.


The Pine package contains pine, pico, pilot, imapd, ipop2d, ipop3d, mtest, rpload and rpdump.



pine is the Pine mail user agent.


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


pilot is a file and directory navigator and browser.


imapd is the IMAP server daemon.


ipop2d is an IMAP to POP2 conversion server.


ipop3d is an IMAP to POP3 conversion server.


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


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


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

Last updated on 2005-02-11 15:17:38 -0700