From 980d093d0f41efd3bf7f443580b5e65da09a84c2 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Mon, 31 Mar 2008 15:00:34 +0000 Subject: State that --logfile must pre-exist to be effective, after hint from N. J. Mann on fetchmail-users. svn path=/branches/BRANCH_6-3/; revision=5171 --- NEWS | 4 +++- fetchmail.man | 10 ++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index d31750af..82bcbd51 100644 --- a/NEWS +++ b/NEWS @@ -121,7 +121,9 @@ fetchmail 6.3.9 (not yet released): that. * Several manual page rcfile examples now include "ssl". * The manual page hints that option arguments beginning with numbers can be - enclosed in parentheses. + enclosed in quotes. +* The manual page now mentions that the --logfile must already exist before + fetchmail is run. # TRANSLATION UPDATES: * Polish (Jakub Bogusz) diff --git a/fetchmail.man b/fetchmail.man index 3b1ac1f9..1665bcc4 100644 --- a/fetchmail.man +++ b/fetchmail.man @@ -1202,7 +1202,12 @@ The or .B \-\-logfile option (keyword: set logfile) is only effective when fetchmail is -detached. This option allows you to redirect status messages +detached. Note that the logfile must exist BEFORE fetchmail is run, you +can use the +.BR touch (1) +command with the filename as its sole argument to create it. +.br +This option allows you to redirect status messages into a specified logfile (follow the option with the logfile name). The logfile is opened for append, so previous messages aren't deleted. This is primarily useful for debugging configurations. Note that fetchmail @@ -2086,7 +2091,8 @@ authentication. These defaults may be overridden by later options. There are some global option statements: 'set logfile' followed by a string sets the same global specified by \-\-logfile. A command-line \-\-logfile option will override this. Note that \-\-logfile is -only effective if fetchmail detaches itself from the terminal. Also, +only effective if fetchmail detaches itself from the terminal and the +logfile already exists before fetchmail is run. Also, \&'set daemon' sets the poll interval as \-\-daemon does. This can be overridden by a command-line \-\-daemon option; in particular \-\-daemon\~0 can be used to force foreground operation. The 'set postmaster' -- cgit v1.2.3