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>
References:  <CALe6D=uBmrEWBVfP-X4W-wyB7Z5CS-NwiWkRStC1dfLxCjTtTw@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

--DIOMP1UsTsWJauNi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Sep 06, 2011 at 03:10:50PM +0200, Xavier FreeBSD questions wrote:
> Hello,
>=20
> 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) :
>=20
> fetchmail_enable=3D"YES"
> fetchmail_polling_interval=3D"60"

This has worked for me in the past when I've needed fetchmail(1).

>=20
> 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.
>=20
> 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.


>=20
> I have them in my rc.conf(5) but fetchmail(1) does not start automaticall=
y.
>=20
> In /usr/src/UPDATING not found any reference to it.

Again, what you'd expect.

>=20
> 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

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

--DIOMP1UsTsWJauNi
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (FreeBSD)

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

--DIOMP1UsTsWJauNi--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20110906141936.GC61079>