Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 1
    I thought fetchmail used LOG_MAIL as the facility. The default RHEL8 configuration would send those messages to /var/log/maillog. And I think set logfile may override set syslog. For the log file you need to ensure it already exists and is writeable by the user running fetchmail. Commented Oct 25, 2022 at 16:17
  • From the man page: set logfile -L Name of a file to append error and status messages to. Only effective in daemon mode and if fetch‐mail detaches. If effective, overrides set syslog. Note that the logfile **must exist before** fetchmail is run, you can use the touch(1) command with the filename as its sole argument to create it. Commented Oct 25, 2022 at 17:29