From: Dave Neary (dave.neary at domain palamon.ie)
Date: Thu 21 Jun 2001 - 09:39:21 IST
"Jason A. Corcoran." wrote:
>
> I will only be fetching mail, while at work, 9-7 mon - fri, So This seemed
> like the best root, rather than having fetchmail running while I'm not on the
> net.
In the sendmail configuration scripts that Donncha(sp?) wrote, there's a
little FAQ that has this entry...
<quote>
Q. I need to run fetchmail as root so mail for my family can be
downloaded but
I don't want anyone else knowing my "root" password. Can I run Fetchmail
in the background to poll for mail?
A. Yes, I collect mail for my family and they login later to read it so
I put
the following line in /etc/rc.d/rc.local (On a RedHat system, may vary
on other Unices):
fetchmail -d 180 -M ppp0
This runs Fetchmail in the background, and every 180 seconds (3 minutes)
it
checks if "ppp0", my modem link, is active and if it is it checks for
mail.
Each member of my family can go online by clicking a KDE icon on their
desktop
so if there's any mail for anyone it'll be collected as long as the
modem link
is active for more than 3 minutes.
</quote>
So it looks like you could just run fetchmail -d 180 -M ppp (or whatever
your modem is called - note that this is the ifconfig name, not the
device name) all the time, and your mail will be checked every 3 minutes
while you're connected.
> Thanks
> JAson.
Cheers,
Dave.
-- David Neary, E-Mail dave.neary at domain palamon.ie Palamon Technologies Ltd. Phone +353-1-634-5059
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:10:47 GMT