Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Sep 2011 15:19:36 +0100
From:      Daniel Bye <freebsd-questions@slightlystrange.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: fetchmail in "system-wide mode"
Message-ID:  <20110906141936.GC61079@catflap.slightlystrange.org>
In-Reply-To: <CALe6D=uBmrEWBVfP-X4W-wyB7Z5CS-NwiWkRStC1dfLxCjTtTw@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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.

Dan

-- 
Daniel Bye
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

iEYEARECAAYFAk5mK/gACgkQixf5fBYiFmqB4QCfZSlb392OnRzacbvW1nE2pkQn
P6YAoNVSBGxFY2SXF0buNIq5oUVb2DmT
=bpbA
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110906141936.GC61079>