fetchmail in "system-wide mode"

Daniel Bye freebsd-questions at slightlystrange.org
Tue Sep 6 14:55:28 UTC 2011

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.


Daniel Bye
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110906/2d1a990f/attachment.pgp

More information about the freebsd-questions mailing list