From owner-freebsd-questions Sun Mar 10 8:43:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.radzinschi.com (pcp284510pcs.owngsm01.md.comcast.net [68.54.240.17]) by hub.freebsd.org (Postfix) with ESMTP id 03B0137B402 for ; Sun, 10 Mar 2002 08:43:40 -0800 (PST) Received: from localhost (marco@localhost.radzinschi.com [127.0.0.1]) by mail.radzinschi.com (8.11.6/8.11.6) with ESMTP id g2AGhV540535; Sun, 10 Mar 2002 11:43:32 -0500 (EST) (envelope-from marco@radzinschi.com) Date: Sun, 10 Mar 2002 11:43:31 -0500 (EST) From: Marco Radzinschi To: Joe & Fhe Barbish Cc: FBSDQ Subject: Re: Starting fetchmail at boot up In-Reply-To: Message-ID: <20020310114051.H40522-100000@mail.radzinschi.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello: Use /usr/local/bin/fetchmail -d 60 -f /root/.fetchmailrc Also, do a chmod 0600 /root/.fetchmailrc From the man page, -f , --fetchmailrc Specify a non-default name for the .fetchmailrc run control file. The pathname argument must be either "-" (a single dash, meaning to read the configura- tion from standard input) or a filename. Unless the --version option is also on, a named file argu- ment must have permissions no more open than 0600 (u=rw,g=,o=) or else be /dev/null. Marco Radzinschi E-Mail: marco@radzinschi.com AOL IM: CrackedBoy On Sun, 10 Mar 2002, Joe & Fhe Barbish wrote: > How can I get fetchmail to automatically start up at boot time.? > > I have a script at /usr/local/etc/rc.d/fetchmail.sh that has > this command /usr/local/bin/fetchmail -d 60 > > After the system is up I can run this script and fetchmail starts. > > At boot time I see a console message that says this script is > being executed, but it results in a message being displayed saying > 'No mail servers have been specified'. > > This sounds like at boot time it can not find the /root/.fetchmailrc file. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message