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

Re: How the average guy gets mail...



Andre Berger wrote:

> My point was not to bother about users's mail as root at all. Users's
> mail is fetched on dial-up if...
> 
> > >         if [ -f /home/$i/.fetchmailrc ] && \
> > >            [ -f /home/$i/email-addresses ]; then
> > >
> > > >                       su -c "fetchmail -d 900" $user
> >
> > Which pretty much does the same thing as my code.  Question: What is the
> > ~/email-addresses file for?
> 
> Only if that file ~/email-addresses also exists, the users's mail is
> fetched on dail-up (The name I chose is stupid, why did I keep it around?!).

I see, this way fetchmail won't be run for _every_ user.  If a user
wants fetchmail he just touches this file.  Good idea, actually.

Cheers,
Viktor
-- 
Viktor Rosenfeld
WWW: http://www.informatik.hu-berlin.de/~rosenfel/



Reply to: