From owner-freebsd-questions@FreeBSD.ORG Thu May 31 00:15:05 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5256F16A41F for ; Thu, 31 May 2007 00:15:05 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.234]) by mx1.freebsd.org (Postfix) with ESMTP id 05B7413C44B for ; Thu, 31 May 2007 00:15:04 +0000 (UTC) (envelope-from gerard@seibercom.net) Received: by wx-out-0506.google.com with SMTP id h28so1666709wxd for ; Wed, 30 May 2007 17:15:04 -0700 (PDT) Received: by 10.70.31.18 with SMTP id e18mr1800699wxe.1180570504418; Wed, 30 May 2007 17:15:04 -0700 (PDT) Received: from ?192.168.0.4? ( [67.189.184.224]) by mx.google.com with ESMTP id i39sm10163395wxd.2007.05.30.17.15.03; Wed, 30 May 2007 17:15:03 -0700 (PDT) Date: Wed, 30 May 2007 20:16:15 -0400 To: User Questions Organization: Seibercom.net In-Reply-To: References: X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR nSNPNr*/^~StawWU9KDJ-CT0k$f#@t2^K&BS_f|?ZV/.7Q Message-Id: <20070530201000.690D.GERARD-SEIBERT@seibercom.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.31 [en] From: Gerard Subject: Re: enable fetchmail system-wide mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: User Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 May 2007 00:15:05 -0000 On Wednesday May 30, 2007 at 06:51:26 (PM) Bob wrote: > I want to run fetchmail enabled for system wide mode. > The command line cmd fetchmail -q issued from user root gets meaningless > error msg. > Reviewing /usr/local/etc/rc.d/fetchmail has comments talking about system > wide mode running under user fetchmail. > How does the system admin control fetchmail when user fetchmail needs > password to logon and no where is password given during install. > > Also /usr/local/etc/fetchmailrc which is suppose to be the config file is > empty. Even fetchmailrc.sample is empty. > > The port pkg-message file is absent so there is no information describing > how to configure fetchmail in system-wide mode or individual user mode. > These are unique run modes to freebsd and are not covered in the fetchmail > manual. The port pkg-message file should be created with instructions about > how to configure it. > > Before in 4.11 through 5.4 I started fetchmail using > /usr/local/etc/rc.d/fetchmail.sh and /root/,fetchmailrc and had root admin > control of fetchmail. How do I achieve admin control now that fetchmail has > been converted to use rc.conf fetchmail_enable="YES" to start at boot time? Did you try 'man fetchmail'? That should give you the required configuration information. As you wrote, having the proper notation in the '/etc/rc.conf' file will start 'fetchmail' upon boot-up, assuming that there does exist a properly configured 'fetchmailrc' file. You might also want to investigate the '/usr/local/etc/rc.d/fetchmail' file. I had to slightly modify it to work the way I wanted on my system. I would suggest that you do that 'AFTER' you have gotten it to relatively the way you want it to. -- Gerard "I feel sorry for people who don't drink. When they wake up in the morning, that's as good as they're going to feel all day. " Frank Sinatra