Hi, On Monday 06 May 2002 16:18, Anders Johansson wrote:
What do you get if you do "ls -l /etc/fetchmailrc" ?
The file has to be rw------- if fetchmail is to accept it.
Yup. Did that. It Is rw------- . Here's the file /etc/fetchmailrc with mail server details fudged - NOTE: my mail server requires the user name as user@domain.com) poll mail.foo.com protocol POP3 user user@foo.com password seCRET mda "/usr/bin/procmail -d nick" Here's the file /etc/init.d/fetchmail #! /bin/sh #opyright (c) 1996-2000 SuSE GmbH Nuremberg, Germany. All rights reserved. # # Authors: Klaus Franken # Björn Jacke # # /etc/init.d/fetchmail # # please edit /etc/fetchmailrc and make a chmod 600 /etc/fetchmailrc # ### BEGIN INIT INFO # Provides: fetchmail # Required-Start: $network # Required-Stop: # Default-Start: 3 5 # Default-Stop: # Description: run fetchmail in daemon mode ### END INIT INFO . /etc/rc.config return=$rc_done case "$1" in start) echo -n "Starting fetchmail-daemon" /usr/bin/fetchmail -d 300 -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 The daemon is running (I see it shutdown on reboot) Is the 300 in /usr/bin/fetchmail -d 300 -a -f /etc/fetchmailrc the time in seconds between pollling of the mail server? Ihope? TIA, Nick