LinuxMall.com Got Linux? CD Offer
Newbie's Linux Manual
Setting-up fetchmail and Pine
by Laurence Hunter
[ Home ] [ Contents ] [ Download*] [ Previous ] [ Next ]
* In Linux enter: unzip nlm.zip
Setting-Up fetchmail

A program called fetchmail is used to retrieve your e-mail from your ISP, here's how to set it up.

- 1 -

Enter:

pico ~/.fetchmailrc

- 2 -

Enter:

poll mail.globalnet.co.uk proto POP3 pass xyz123 fetchall

...replacing mail.globalnet.co.uk with your incoming POP3 account address and xyz123 with your dial-up account password.

Note

You don't have to include pass password if you're worried about others logging-in as root and discovering your dial-up password, but for most people this isn't an issue, since it saves you having to enter your password every time you fetch your mail.

- 3 -

Press Ctrl+O to save the file and Ctrl+X to exit Pico.

- 4 -

So that only you can view and modify your .fetchmailrc file, enter:

chmod 600 ~/.fetchmailrc
How To Collect Your E-mail

- 1 -

Enter:

startx

...to start X.

- 2 -

Select Programs > Networking > Usernet and select the 'ppp0' button to make a dial-up connection.

- 3 -

Bring up a terminal window and enter:

fetchmail -u thebits

...replacing thebits with your dial-up username.

How To Set-up Pine To Read and Send Mail

- 1 -

Enter:

pine
Info

Pine (Program for Internet News and E-mail) was created by the University of Washington (who also created the excellent Pico, used throughout this manual).

- 2 -

Press s to set-up Pine, then press c to configure your mail account.

- 3 -

Using the up and down cursor keys and the a key, enter the following information:

personal-name    = Put your dial-up username here
user-domain      = The part after @ in your e-mail address
smtp-server      = Your SMTP mail address
nntp-server      = Your news server address

Here's what my configuration looks like:

personal-name    = thebits
user-domain      = globalnet.co.uk
smtp-server      = smtpmail.globalnet.co.uk
nntp-server      = news.globalnet.co.uk

With all this set-up, reading and sending e-mails is now a piece of cake.

[ Home ] [ Contents ] [ Download*] [ Previous ] [ Next ]
* In Linux enter: unzip nlm.zip

W W W . L I N U X D O T . O R G

The Newbie's Linux Manual is reproduced on LinuxMall.com by permission. The Newbie's Linux Manual is written and maintained by Laurence Hunter. You can find much more of Laurence's work at his site: www.Linuxdot.org

© 1999 Linuxdot.org | Manual's Copyright Terms