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

Re: [REPHRASED] fetchmail



...
> If I run fetchmail from init.d as user fetchmail, how can I set up
> things so that users can still configure fetchmail using their
> ~/.fetchmailrc?
...

well, you could write a init.d script that does the following:

for i in `find /home -name .fetchmailrc 2>/dev/null|cut -d/ -f3`; do
	/bin/su $i -c /usr/bin/fetchmail-d 300; done
done

it should work I think, though it is untested..


yours
Albert Dengg



Reply to: