Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-26-2005, 05:29 PM   #1
Registered: Dec 2004
Location: Sydney, AU
Distribution: CentOS 5.x, Backtrack
Posts: 72

Rep: Reputation: 16
Retrieving email using the command line/console

I am having trouble accessing my mail from my university server at home. I thought I could just scp in to the my university account and then poll the pop3 server from there but i'm not sure on the commands to poll the server and then pipe the results to the command line.

Any help much appreciated.
Old 01-26-2005, 09:41 PM   #2
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
In my case, I use ssh to go to the mail server. Once logged in, I can run pine to read my mail. Not sure if your mail server supports ssh or pine though. An easy, friendly way to do it is to vist: mail2web works with most mail servers.
Old 01-26-2005, 09:58 PM   #3
Senior Member
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
You can use fetchmail to do this. Here is a quick run through:

1. Create a .fetchmailrc in your home directory on your home computer containing the following line:
poll protocol pop3 username "wimnat" password "mysecret"
2. chmod 400 .fetchmailrc
3. Retrieve messages by running fetchmail -ak
4. Now read your mail using your favorite MUA, e.g. nail


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 On
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
send email from command line djionel82 Programming 6 11-29-2005 12:12 AM
Can I change the console command line? coopns Linux - Newbie 3 06-16-2004 07:20 PM
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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:57 AM.

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