[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Starting fetchmail on boot (runing as user)



Adam Majer wrote:
> 
> On Tue, Mar 12, 2002 at 07:57:25PM -0500, stan wrote:
> > I'm migrating mail services to individula user machines.
> >
> > I want to use fetchmail to retrieve the mail for each user (runing
> > fetchmail as that user).
> >
> > What;s "The Debian Way" of starting up these user instances of fetchmail?
> 
> I don't know what's the Debian way but I would just slap fetchmail
> into their crontab (see how logcheck does that at startup).

Heips!

But what if he wants to disable crontabs for ordinary  users? One way to
do
it, that pops into my head, is to write an init script, which checks, if
user's home directory contains a .fetchmailrc file and then runs
su - $USERNAME -c fetchmail -d 300

Namarie!
Juhan

--
In the early morning hour, when the pub was closing, my grandpa
emptied his tankard, stood up and said his famous words:
  While he is not dumber than an ox, he's not appreciably smarter
either.

http://juku.kicks-ass.net/



Reply to: