From owner-freebsd-questions Thu Mar 7 10:19:34 2002 Delivered-To: freebsd-questions@freebsd.org Received: from slate.dublin.wbtsystems.com (slate.dublin.wbtsystems.com [193.120.231.12]) by hub.freebsd.org (Postfix) with ESMTP id E173637B421 for ; Thu, 7 Mar 2002 10:19:03 -0800 (PST) Received: from spiral (spiral.dublin.wbtsystems.com [193.120.231.190]) (authenticated bits=0) by slate.dublin.wbtsystems.com (8.12.2/8.12.2) with ESMTP id g27IJ0jZ099816; Thu, 7 Mar 2002 18:19:00 GMT From: "Barry Byrne" To: "Andreas Ntaflos" , "Burhan Nazir" Cc: Subject: RE: Starting daemon only for user; gotta be simple? Date: Thu, 7 Mar 2002 18:18:47 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <20020307191109.B94491@Deadcell.ant> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Scanned-By: MIMEDefang 2.6 (www dot roaringpenguin dot com slash mimedefang) 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 Andreas: Don't use fetchmail myself, but if you need to start it from a startup script but run as a different user, use su with the -c option. su USERNAME -c '/path/to/fetchmail -d 60' Cheers, Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Andreas Ntaflos > Sent: 07 March 2002 18:11 > To: Burhan Nazir > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: Starting daemon only for user; gotta be simple? > > > On Thu, Mar 07, 2002 at 05:37:19PM +0000, Burhan Nazir wrote: > > Oh dear, that sounds like way too much work. Try this instead: > > > > fetchmail -d 60 > > > > This will run fetchmail in deamon mode and will poll your > servers (defined in > > .fetchmailrc) every 60 seconds. > > > > Thanks for your reply; I do know about that, but I am looking for a way to > have it started automatically. The set daemon 900 option does > exactly this, > only from .fetchmailrc. Running fetchmail from the command line > without any > flags executes the options specified in .fetchmailrc. > > Why am I doing all this? Because after a reboot or shutdown now I always > forget to run fetchmail and realize it only when I see that no > new mail has > arrived for 2 days. My fault I believe :) > > regards > -- > Andreas "ant" Ntaflos > ntaflos.andreas@gmx.net > Vienna, AUSTRIA > > 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