[fetchmail]Fetchmail will not finf mail server, help

Rob MacGregor Rob MacGregor <rob.macgregor@gmail.com>
Mon, 6 Dec 2004 06:56:31 +0000


On Sun, 5 Dec 2004 19:15:21 -0500, Rob Walker <rob@convergent-tech.ca> wrote:
>  
> I am new to Linux and Fetchmail.  I have Suse 9.1 installed and could sure
> use some help getting Fetchmail going.  I also have Procmail installed too. 
> 
> In my home folder I have a file called .fetchmailrc that looks like
> this:
> poll pop6.sympatico.ca protocol POP3 user b1fusi29 password ******** mda
> "/usr/bin/procmail -d robwalker"
> 
> When I am logged in as robwalker I execute the following:
> fetchmail -v --keep -a >> /var/log/fetchmail 2>&1
> I get the message 'permission denied'

That's probably from trying to write to /var/log/fetchmail.  Try just
"fetchmail -v --keep -a".
 
> When I am logged on as root I go to the robwalker home folder and
> execute the same command I get returned to the console prompt
>
> When I check the log file at /var/log/fetchmail is says:
> 'Fetchmail: no mail servers have been specified'
> 
> It is almost as if Fetchmail is not reading fetchmailrc

Because it's looking in $HOME.  Root's $HOME is not the same as
robwalker's $HOME.
 
-- 
                 Please keep list traffic on the list.
Rob MacGregor
      Whoever fights monsters should see to it that in the process he 
        doesn't become a monster.                  Friedrich Nietzsche