From owner-freebsd-questions@FreeBSD.ORG Wed Sep 7 03:25:52 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D417106566B for ; Wed, 7 Sep 2011 03:25:52 +0000 (UTC) (envelope-from xavierfreebsdquestions@gmail.com) Received: from mail-gx0-f178.google.com (mail-gx0-f178.google.com [209.85.161.178]) by mx1.freebsd.org (Postfix) with ESMTP id E49658FC0A for ; Wed, 7 Sep 2011 03:25:51 +0000 (UTC) Received: by gxk8 with SMTP id 8so5059692gxk.37 for ; Tue, 06 Sep 2011 20:25:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+yX4nxq4YYfFMrg3N00QavaCzkz84LtbK9eDDlm6KA0=; b=pb/BBi/+buJLhwPeWI+o7n5VrOH78KewqaKmr11IEZoRiJ+C6LtYVBWIwlBjVg6Kji z6hHnqF1zARNZ2475DXXJtj4N0GUNc3tKp5FKKBOA5NbQrBgaEdH5a+mMsL0pGMNzW9K 8m13dBRZ7AB40QVyvlyK1at0YKk1unVNa6yDo= MIME-Version: 1.0 Received: by 10.42.168.135 with SMTP id w7mr4627329icy.288.1315365950421; Tue, 06 Sep 2011 20:25:50 -0700 (PDT) Received: by 10.42.223.65 with HTTP; Tue, 6 Sep 2011 20:25:50 -0700 (PDT) In-Reply-To: <20110906141936.GC61079@catflap.slightlystrange.org> References: <20110906141936.GC61079@catflap.slightlystrange.org> Date: Wed, 7 Sep 2011 05:25:50 +0200 Message-ID: From: Xavier FreeBSD questions To: Daniel Bye , freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: fetchmail in "system-wide mode" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Sep 2011 03:25:52 -0000 On Tue, Sep 06, 2011 at 03:19:36PM +0100, Daniel Bye wrote: Hi Daniel, > On Tue, Sep 06, 2011 at 03:10:50PM +0200, Xavier FreeBSD questions wrote: > > Hello, > > > > On the Internet there are some sites where they say to start fetchmail(1) in > > "system-wide" should put these two options in rc.conf(5) : > > > > fetchmail_enable="YES" > > fetchmail_polling_interval="60" > > This has worked for me in the past when I've needed fetchmail(1). > > > > > Although the second is optional and at first has little to do with this > > question because this question is addressed rather to the first option. > > > > I searched in /etc/defaults/rc.conf and rc.conf(5) manual and find no > > reference to these two options. > > This is to be expected. fetchmail(1) is a port, not part of the base system. > > > > > > I have them in my rc.conf(5) but fetchmail(1) does not start automatically. > > > > In /usr/src/UPDATING not found any reference to it. > > Again, what you'd expect. > > > > > Which is the correct way to start fetchmail(1) in "system-wide"? > > Is fetchmail installed on your system? If so, and you still can't get it to > start automatically, try this: > > # script fetchmail_startup sh -x /usr/local/etc/rc.d/fetchmail start > > You'll now have a file called `fetchmail_startup' which will contain a > record of exactly what the fetchmail rc script did as it executed, which may > or may not prove informative. > I paste the fetchmail_startup in: http://pastebin.com/vFqdhwfg For you, the answer of why don't worked for me fetchmail is lines 502 and 503 ? Thanks.