From: Matthias A. <mat...@gm...> - 2020-09-22 21:44:57
|
Am 21.09.20 um 11:55 schrieb Peter Pentchev: > > That's what I refered to in my first e-mail. Apparently, the current > version of the service file from the FreeBSD port of fetchmail does not > depend on there being a "daemon" option in the fetchmail configuration > file and says "we need to make sure that fetchmail runs in daemon mode, > so we need to pass it a -d option ourselves, we cannot depend on the > sysadmin having put that option in the fetchmail configuration file; > but, well, the -d option requires an argument, so we must specify > the polling interval ourselves now, so we take it from a > fetchmail_polling_interval setting in /etc/rc.conf and, if one has not > been specified there, we default to 900". I haven't been following the entire discussion and won't catch up for the next few days, so let me just pick this out. For FreeBSD, there is extensive documentation at the top of the rcfile, usually found in /usr/local/etc/rc.d/fetchmail, which see, and unless overriden by one of the rc.conf* locations normally sourced, fetchmail_polling_interval will fall back to 900 (s). If that's undesired, set to 0 but then you may want to set up a cron job or similar, or only poll manually. So bottom line, fetchmail_polling_interval=300 in /etc/rc.conf or thereabouts (to see the locations: man 5 rc.conf) can modify the interval, 0 turns it off. The .../rc.d/fetchmail file is still useful to read because the documentation and defaults are nicely readable. HTH for now. |