LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices

Reply
 
Search this Thread
Old 08-30-2003, 10:08 PM   #1
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
command-line email success


I don't have the latest and greatest computer hardware. It does great 99% of the time no matter how many programs I have running. That is, until I run a web browser and an email program at the same time.

So, I decided how nice it would be to set up pine to read and send email. I didn't have a clue about how to do it. I searched on google and different linux sites and found nothing. Even asked here on LQ with no responses.

Well, I was browsing through and drooling at my favorite store Barnes and Noble. I decided to take a look at Red Hat Linux 9 in 24 Hours. I saw an entry on fetchmail which I had never heard of before. WOW, it said all you had to do is put 2 simple lines in a .fetchmailrc file to recieve mail and make a few changes to options in pine's configuration options (email address and smtp server). I got home and tried it. Wallah, I'm now using command-line email.

Success at last
 
Old 08-31-2003, 03:33 AM   #2
rmartine
Member
 
Registered: Dec 2002
Location: San Luis Obispo, CA
Distribution: Fedora Core 3
Posts: 618

Rep: Reputation: 30
And those two little lines were????

I gave up on using mail from the cli since I couldn't find the answer either.

Share the knowledge please...
 
Old 08-31-2003, 02:52 PM   #3
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Original Poster
Rep: Reputation: 45
Actually it was one line. I mistakingly thought it was a script.

poll [incoming mail server] protocol [your protocol mine is pop3] username [your username] password [your password]

chmod 700 .fetchmailrc

Then go into Pine and press "s" for setup, then "c" to configure and for "user-domain" put in your email address and "smtp-server" put in your isp's smtp server.

That's it
 
Old 08-31-2003, 10:11 PM   #4
darksky
Member
 
Registered: May 2003
Location: USA
Distribution: FreeBSD and Slackware 10
Posts: 50

Rep: Reputation: 15
Very cool! I remember using Pine on the Unix boxes back in college (about 15 years ago.

I've been wanting to get Mutt working........you sparked my interest.
 
Old 08-31-2003, 11:57 PM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Original Poster
Rep: Reputation: 45
I'm going to start playing with Mutt. Let me know how it goes. I may need some pointers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
command-line email sending ixion Linux - Software 9 08-01-2008 06:46 AM
need a command line email program paperdiesel Linux - Software 10 09-05-2006 06:32 AM
send email from command line djionel82 Programming 6 11-29-2005 12:12 AM
command line email with attachments??? crickett Linux - Software 1 06-24-2003 08:47 PM
command-line email client ixion Linux - General 4 02-11-2003 02:28 PM


All times are GMT -5. The time now is 10:44 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration