LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-18-2006, 06:29 PM   #1
ChrisScott
Member
 
Registered: Nov 2006
Location: St Albans, England
Distribution: Fedora c3/5, Suse pro 10/openSuse 10.2, RHES, Zenwalk.....
Posts: 97

Rep: Reputation: 15
Question I can't get fetchmail to work and don't have a fetchmailrc file!


I'm using a low RAM laptop so I want to use the mail program in BASH to check my emails as GNOME runs very slowly. I am using the Fedora core 5 distrobution.

I tried:

fetchmail pop.ntlworld.com

this seams to be along the right lines but it uses my local username prompting:

enter password for chris@pop.ntlworld.com

whereas I want my ntl username:

<ntlusername>@pop.ntlworld.com

I get the impression that I need to change something in ~/fetchmailrc but the file doesn't exist!

How can I sort this or if I'm barking up the wrong tree what should I be doing? Any help would be appreciated.
 
Old 11-18-2006, 07:25 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Instead of looking for ~/fetchmailrc, you should be looking for a hidden file: ~/.fetchmailrc. Note the dot in the name, .fetchmailrc.

In Konqueror, click on View - Show hiddef files. From a console, ls -a ~ will show hidden files.
 
Old 11-19-2006, 04:27 AM   #3
ChrisScott
Member
 
Registered: Nov 2006
Location: St Albans, England
Distribution: Fedora c3/5, Suse pro 10/openSuse 10.2, RHES, Zenwalk.....
Posts: 97

Original Poster
Rep: Reputation: 15
There's a .fetchmail.pid but no .fetchmailrc

Thanks I should have thought of that but there is still no .fetchmailrc file. I used ls -a and found a file called .fetchmail.pid but that only contains the number 2810. I also tried

locate .fetchmailrc

as the su and still got no results!

Can I create the file myself?
 
Old 11-19-2006, 04:30 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You can create the file yourself, I did. Look at the man page for fetchmail and it should tell you about what kinds of things go in it.
 
Old 11-19-2006, 05:32 AM   #5
ChrisScott
Member
 
Registered: Nov 2006
Location: St Albans, England
Distribution: Fedora c3/5, Suse pro 10/openSuse 10.2, RHES, Zenwalk.....
Posts: 97

Original Poster
Rep: Reputation: 15
Smile Yeah, all sorted now

Thanks guys everything is working fine now and I get my mail lightning fast... I'm a happy bunny.

If anyone else hap the same problem here's what I did:

create the file ~/.fetchmailrc in your preffered editor with the line

poll pop.whatever.com protocol pop3 username "whatever"

save it then change the permission as follows

cd ~
chmod 600 .fetchmailrc

#that is read & write for user only

you can also add

password "whatever"

to the end of ~/.fetchmailrc but I prefer to be prompted for my password.
 
Old 11-19-2006, 05:38 AM   #6
ChrisScott
Member
 
Registered: Nov 2006
Location: St Albans, England
Distribution: Fedora c3/5, Suse pro 10/openSuse 10.2, RHES, Zenwalk.....
Posts: 97

Original Poster
Rep: Reputation: 15
Smile Yeah, all sorted now

sorry posted the same message by mistake

Last edited by ChrisScott; 11-19-2006 at 06:05 AM.
 
Old 11-19-2006, 06:02 AM   #7
ChrisScott
Member
 
Registered: Nov 2006
Location: St Albans, England
Distribution: Fedora c3/5, Suse pro 10/openSuse 10.2, RHES, Zenwalk.....
Posts: 97

Original Poster
Rep: Reputation: 15
Smile Yeah, all sorted now

again don't know why but the same message posted - ignore!

Last edited by ChrisScott; 11-19-2006 at 06:06 AM.
 
  


Reply



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
can't get fetchmail to work Falafel Linux - Software 4 06-12-2006 02:59 PM
How can i encrypt the password in .fetchmailrc?? Wimpie22 Linux - Networking 2 05-25-2004 08:52 PM
fetchmailrc configuration to receive email for 2 domains chillout Linux - Software 0 03-23-2004 03:41 AM
fetchmailrc problem headshot Linux - Newbie 2 08-03-2003 05:45 AM
How do I: convert my fetchmail email file to separate email files? ancientt Linux - Software 1 02-03-2003 02:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:01 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration