Hi, Haven't heard from anyone on the following (from last Friday) and it's still giving me a bellyache. Can anyone help with this?
Hi, I'm looking through the suse docs and one of them is a script which checks mail via fetchmail on a regular basis.
To make sure that things were generally working and configured right, I set up a file /root/.fetchmailrc and ran it and it worked like a charm.
Now I get to the script. It says this:
case "$1" in start) echo -n "Starting fetchmail-daemon" /usr/bin/fetchmail -d 900 -a -f /etc/fetchmailrc -L /var/log/fetchmail 2>&1 || return=$rc_failed echo -e "$return" ;; stop) echo -n "Shutting down fetchmail-daemon" /usr/bin/fetchmail -quit || return=$rc_failed echo -e "$return" ;; *) echo "Usage: $0 {start|stop}" exit 1 esac exit 0
And then it says this:
The file to which the -f option points must be the .fetchmailrc of the user who has to fetch the mail.
Hmmm. I suppose I'm asking is root the user who has to fetch the mail?
Right now it has me at /root/.fetchmailrc, bu the script which suse provides asks me to "edit /etc/fetchmailrc" (I suppose with the same information about users, passwords and procmail) - but is that being run as ROOT or as USER?
(You all know that the next questions will be about procmail and spastic!!)
TIA, Nick
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com