OK, first a little background information: Up until recently I have been running the fetchmail service along with postfix. Since I am just running a one user workstation this seems to be a little overkill. Thus I am trying to run fetchmail without using postfix. I have chowned /etc/fetchmailrc to my normal user and then chmodded it to 700. My fetchmailrc is set to run fetchmail as a daemon. If I am logged in as my normal user and type in the command: fetchmail -f "/etc/fetchmailrc" -m "/usr/bin/procmail -f - " it works great. However I would like to automate this during startup. I know that the initscripts are run as root so I tried the following command: su cspencer -c fetchmail -f "/etc/fetchmailrc" -m "/usr/bin/procmail -f - ". Unfortunately I run into a permissions problem. So what is the best way to script this so that the fetchmail daemon starts at boot time and is executed by my normal user? -Chris -- There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence. --Jeremy S. Anderson
