Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-25-2014, 05:02 AM   #1
LQ Newbie
Registered: Aug 2014
Posts: 18

Rep: Reputation: Disabled
Red face fetchmail - no mailservers set up -- perhaps /root/.fetchmailrc is missing?

Hi Experts,

I am using root to install and test fetchmail. I followed the guidance that I need to create a file "fetchmailrc" and I created in root folder (computer --> root). I can even use "cat fetchmailrc" when I start terminal to view the content.

But when perform "fetchmail -v", it returns:

fetchmail: WARNING: Running as root is discouraged.
This is fetchmail release 6.3.26+NLS.

Copyright (C) 2002, 2003 Eric S. Raymond
Copyright (C) 2004, Matthias Andree, Eric S. Raymond,
Robert M. Funk, Graham Wilson
Copyright (C) 2005 - 2012 Sunil Shetye
Copyright (C) 2005 - 2013 Matthias Andree
Fetchmail comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. For details, please see the file COPYING in the source or documentation directory.

Fallback MDA: (none)
Linux <mydevice> 3.10.0-123.8.1.el7.x86_64 #1 SMP Mon Sep 22 19:05:58 UTC 2014 x86_64 x85_64 x86_74 GNU/Linux
Taking options from command line
No mailservers set up -- perhaps /root/.fetchmailrc is missing?

(P.S. my fetchmailrc contains:-

set daemon 600
set no bouncemail
set no spambounce
set logfile #HOME/.fetchmailrc.log

protocol POP3
service 995
user "mygmaillogin"
pass "mygmailpwd"
is "localusername" here

(Note: ssl is working fine)

What's wrong now?
Old 09-25-2014, 05:31 AM   #2
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 11,903

Rep: Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611Reputation: 1611
(P.S. my fetchmailrc contains:-
You must rename fetchmailrc to .fetchmailrc (mind the leading dot) because fetchmail looks for the (hidden) file .fetchmailrc in user's homedir

Old 09-25-2014, 05:34 AM   #3
LQ Newbie
Registered: Aug 2014
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thanks. No error coming after renamed.

However still have other issue, let me check first before posting to ask.


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
Running fetchmail as root dinakumar12 Linux - Server 4 04-28-2011 12:59 PM
how to set diff fetchmail settings for different users? deepugopi Linux - Server 0 10-24-2007 08:47 AM
I can't get fetchmail to work and don't have a fetchmailrc file! ChrisScott Linux - Newbie 6 11-19-2006 07:02 AM
Set up Fetchmail for use with MrPostman? shotokan Linux - Software 1 07-25-2006 09:41 PM
fetchmailrc problem headshot Linux - Newbie 2 08-03-2003 06:45 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration