1. Install fetchmail
2. Configure fetchmail by opening .fetchmailrc
$ nano .fetchmailrc
and adding this:
*************************************************
poll mail.yourisp.com proto pop3 user login_name password your_passwd
user login_name with pass your_passwd is login_name here
****************************************************
All you have to do is replace mail.yourisp.com with the name of the mail server of your ISP, your_passwd with your password, and login_name with your login name.
Example:
poll pacbell.net proto pop3 user joeblow password xxxxx
user joeblow with pass xxxxx is joeblow here
An important thing to note. For Pine and this procedure to work correctly, your login name must correspond with the login name you use on your ISP. That is your local login name must match the one you use on your server, and your e-mail address.
Next, ensure that .fetchmailrc has the correct permissions (user read/write only).
$ chmod 600 .fetchmailrc
Fetchmail can be started in two ways, in standard mode (where it'll fetch messages from the server and
terminate), or in daemon mode (where it will stay active, and check/download mail every X seconds).
To use daemon mode, type fetchmail -a -d(Seconds between Polls). -a ensures it downloads all mail.
To use the standard mode, just type fetchmail -a. (this is my favorite):
$ fetchmail -a
3. Install Pine, go to the U of Washington site
http://www.washington.edu/pine/getpine/linux.html
and download the .deb, then from terminal:
# dpkg -i pine <press the TAB key to auto-complete name>
If it gives you any dependencies problem:
# apt-get -f install (that should take care of it)
you can keybind it in your wm, ( aterm -e pine)
open pine as user from the console or thru keybindings. Do some reading on the Pine site.
$ jpico .pinerc
will give you an empty file, these are my options, you can change them by opening Pine and doing S (Setup) and then C (Configure) to configure your Pine.
## .pinerc
personal-name=Joe Blow
user-domain=pacbell.net
smtp-server=pacbell.net
nntp-server=news.gmane.org
inbox-path=inbox
enable-alternate-editor-cmd,
enable-alternate-editor-implicitly,
quell-dead-letter-on-cancel,
quell-flowed-text,
enable-msg-view-addresses,
enable-msg-view-attachments,
enable-msg-view-urls,
no-prefer-plain-text,
enable-msg-view-web-hostnames,
quell-charset-warning,
enable-arrow-navigation,
enable-full-header-cmd,
enable-tab-completion,
send-without-confirm,
vertical-folder-list,
enable-dot-folders,
continue-tab-without-confirm,
expunge-without-confirm-everywhere,
quit-without-confirm,
compose-sets-newsgroup-without-confirm,
enable-multiple-newsrcs,
hide-nntp-path,
news-offers-catchup-on-close,
news-post-without-validation,
quell-extra-post-prompt,
enable-dot-files,
single-column-folder-list,
check-newmail-when-quitting,
select-without-confirm,
quell-content-id
default-composer-hdrs=
From:,
To:,
Cc:,
Bcc:,
Attchmnt:,
Subject:
customized-hdrs=From: Joe Blow <
jblow@pacbell.net>
sort-key=Subject
threading-display-style=mutt
character-set=ISO-8859-1
editor=jpico -rmargin 72 -tab 3 -french -spaces
composer-wrap-column=72
image-viewer=xzgv
ntp-range=100
url-viewers="/usr/bin/mozilla-firefox _URL_"
newmail-window-width=72
set locale="en_US"
****************************************************
Launch Pine, when it opens, type 'i' see your list of mail, type 'n' Enter.
For newsgroups, type 'l' choose your ng, etc, play with it.