TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

fetchmail on connect



I want to have fetchmail start running as a dameon when I connect to the
internet (dialup ppp) and then quit when I disconnect. I have the line
fetchmail -f ~/.fetchmailrc -d 300  in /etc/ppp/ip-up and fetchamil -q in
ip-down, but fetchmail doesn't load. I think this is because the script is
run SUID. Is there a way to have fetchmail run fetchmail as all users with
a ~/.fetchmailrc file? Then I could just call /etc/fetchmailrc as root and
it would get mail for everyone.


Ben Luey
lueyb@carleton.edu
ICQ: 19144397

Political power grows out of trhe barrel of a gun."  -- Mao Tse-tung