IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

HOWTOs

Search Howtos :Match :
Previous Contents

3. Electronic Mail on your Linux Box

One of the most important aspects of the Internet, is it's fasinating capaiblity to transfer mail to and from countries, or more locally perhaps. Linux is extreemly strong in easy mail packages for the console. The one we're going to document today is called Pine (Program for Internet Mail and News), made by the University of Washington, and to download the mail, a program called Fetchmail, made by Eric S. Raymond. Both should be included in your Linux distribution.

Fetchmail is a program that downloads your e-mail from your server using POP, transfers the mail onto your computer and then deletes it off the server, much like programs like Eudora or Microsoft Internet Mail/Exchange do. To configure and automate fetchmail, you use a file in your home directory called .fetchmailrc. Simply open up  /.fetchmailrc (Remember: your doing this bit as yourself, not as root) with your favourite editor and observe the command lin eoptions below:

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.

An important thing to note. For Pine and this procedure to work correctly, your login name must corrospond 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) and your laughing. 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.

Next, you need to setup Pine. Open up Pine, by typing pine at your prompt, choose Setup - Configuration. Setup your userdomain as the domain in your e-mail address, for example jack at linux.org, would be linux.org. Next, setup smtp-server as your POP mail server (the same you used in the fetchmail setup). So we enter www.linux.org. If you want news, setup your nntp server to your ISP's news server.

So there you have it folks, everything should be working now. To connect up to your ISP, just run  /ppp-connect as root. Then, to get your e-mail run fetchmail -a as yourself. To browse your e-mail and news, use Pine. Install a text-based browser such as Lynx to browse the web if you like.

Send any comments questions and suggestions to mstrates at croftj.net


Next Previous Contents
Search Howtos :Match :
PostgreSQL 8.4.3
Sophisticated Object-Relational DBMS
Transmission 1.92
Lightweight, yet powerful BitTorrent client
ImageMagick 6.6.0-5
ImageMagick image processing studio
Evolution 2.29.92.1
GNOME mailer, calendar, contact manager and communications tool
PgAdmin III 1.10.2
Powerfull administration and development tools for PostgreSQL
NASM 2.08.01
NASM is an 80x86 assembler designed for portability
GEdit 2.29.9
Small but powerful text editor
Monkey HTTP Daemon 0.10.0-rc2
Monkey is a small and fast web server for linux
Efax-gtk 3.2.0
GUI front end for the efax fax program
Brasero 2.29.92
Application to burn CD/DVD
Free IT Magazines, White Papers, eBooks, and more !
Oracle Magazine

Contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more.

Vulnerability Management for Dummies

Get all the Facts and See How to Implement a Successful Vulnerability Management Program.

Website Magazine

Has tapped premier talent in the Internet industry for our content and each and every issue will contain practical advice and insights for website owners.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info