From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0.0) Gecko/20020530 Description of problem: I run fetchmail on my home server in daemon mode. It helps a lot to have a chkconfig-aware /etc/init.d script to stop/start it. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: N/A Actual Results: N/A Expected Results: N/A Additional info: Mandrake comes with a chkconfig script for fetchmail that happens to work under Red Hat. I also like their idea of installing it as a separate package (fetchmail-daemon, they call it).
I second the motion for fetchmail in /etc/init.d. Secondary package not necessary though, because wouldn't that be really tiny? K.I.S.S.
Yes, I also think that adding a service script for fetchmail is a good idea.
I'm sorry about the late response. Given the intrinsic reliability problems with running fetchmail unattended (if a bounce message can't be sent, the mail is lost without a trace) and the expected limited usage of fetchmail in such a scenario, I don't think adding this feature is worth it, with all the set up necessary to run fetchmail under a non-root user. A different way to get equivalent functionality is to create a local "fetchmail" user and add fetchmail -d $timeout 2>&1 |grep -v 'while a background fetchmail is running' to crontab of the "fetchmail" user.