fetchmail-friends
[Top] [All Lists]

Re: how to configure fetchmail to multidrop mail into individual mailbox?

2001-02-08 02:26:55
From: "Clarence" <clarencelim(_at_)email(_dot_)com>
----- Original Message -----
From: Rob MacGregor <rob_macgregor(_at_)hotmail(_dot_)com>
To: <clarencelim(_at_)email(_dot_)com>; 
<fetchmail-friends(_at_)lists(_dot_)ccil(_dot_)org>
Sent: Tuesday, February 06, 2001 4:53 PM
Subject: Re: how to configure fetchmail to multidrop mail into individual
mailbox?



i am using run level 3, i have setup the symbolic link, what is the "S90"
in
the link filename S90fetchmail means? I notice that I have S80qmail too.

Oooh, you're *that* new to *nix :-)  The S means that the script is run on
startup (when entering that run level), a K would mean the script was run
on
shutdown (when leaving that run level).  The number indicates the order in
which things are run.  Lower level scripts are run first.  This means that
fetchmail (S90) starts after qmail (S80).
Thanks for the info, I don't get this info on the web, any link that you can
recommend to me?
Yaya, I am very new newbies :-)

when I reboot my redhat, i was prompt for password for root(_at_)start which 
I
was never encounter before.
after giving the password, a few error shown by S90fetchmail. Have I done
the correct thing?

Umm, it sounds like you're running "fetchmail start", try looking at the
scripts in /etc/rc.d/init.d already for how they should be written.  If
you
can wait 8 or so hours I can email you my working config at home.
on the /etc/rc.d/init.d/fetchmail that I have created,
#!/bin/sh
exec /usr/bin/fetchmail -d 300

OR

#!/bin/sh
exec /usr/bin/fetchmail


when I executed both , it works fine, but when I reboot the system without
logon, fetchmail give error that "no mailserver is specified" for the first
one and prompt me for password for the second one. I am puzzle.

I am suspecting that it is not looking into the .fetchmailrc file which I
put in /root.
What should I do?


The script should be calling fetchmail with the --daemon argument when the
script is given the start option.  When it's given the stop option it
should
kill all the running fetchmail processes.

Next I log in as ROOT and I use "ps -A |more", I didn't see any process
by
fetchmail, why?

When you fix the above you'll see them.

Rob

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.