From owner-freebsd-questions Sat Jul 27 8:33: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 082BC37B400 for ; Sat, 27 Jul 2002 08:32:59 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id E6C1D43E31 for ; Sat, 27 Jul 2002 08:32:57 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk ([IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.5/8.12.5) with ESMTP id g6RFWudG001014; Sat, 27 Jul 2002 16:32:56 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.5/8.12.5/Submit) id g6RFWoTX001013; Sat, 27 Jul 2002 16:32:50 +0100 (BST) Date: Sat, 27 Jul 2002 16:32:50 +0100 From: Matthew Seaman To: Paulo Roberto Cc: freebsd-questions@FreeBSD.ORG Subject: Re: starting fetchmail from ppp.linkup on FreeBSD 4.6 Message-ID: <20020727153250.GA856@happy-idiot-talk.infracaninophi> References: <20020727140710.22213.qmail@web14905.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020727140710.22213.qmail@web14905.mail.yahoo.com> User-Agent: Mutt/1.5.1i 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 On Sat, Jul 27, 2002 at 07:07:10AM -0700, Paulo Roberto wrote: > I am having some trouble trying to run fetchmail in daemon mode, being > started from /etc/ppp/ppp.linkup in FreeBSD 4.6. > At the /var/log/ppp.log I get: > ppp[56]: tun0: Command: papchap: ! sh /usr/local/bin/fetchmail -v -f > /root/.fetchmailrc >> /tmp/FETCHMAIL.LOG > But no mail is retrieved (yup, I sent myself dozens of emails to test > it) and even no output is directed to my test file. > Does fetchmail needs any special parameter to be run at ppp.linkup? Well, fetchmail is clearly being run. fetchmail will use syslog for most of it's logging needs, so look in /var/log/maillog for traces of what it's doing. Looks like you've got some sort of error in your .fetchmailrc. Unfortunately, not being clairvoyant, we can't divine the contents of the file and that makes it a tad difficult to come up with any constructive suggestions. You'll have to post the file for us to see. Cheers, Matthew PS. Do you really mean to run fetchmail in daemon mode? The fetchmail man page says: In daemon mode, fetchmail puts itself in background and runs forever, querying each specified host and then sleep- ing for the given polling interval. which would probably mean your system trying to dial-up every few minutes. -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Tel: +44 1628 476614 Marlow Fax: +44 0870 0522645 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message