Accepting request 582073 from server:mail
OBS-URL: https://build.opensuse.org/request/show/582073 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fetchmail?expand=0&rev=72
This commit is contained in:
commit
68b3882ae8
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 2 19:32:52 UTC 2018 - pmonrealgonzalez@suse.com
|
||||
|
||||
- By default, the status messages are redirected to
|
||||
/var/log/fetchmail. The syslog option or no-logging are also
|
||||
available. (bsc#1033081)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 13:43:10 UTC 2017 - rbrown@suse.com
|
||||
|
||||
|
@ -17,11 +17,13 @@ OPTS="-d $FETCHMAIL_POLLING_INTERVAL"
|
||||
[ "`whoami`" = "fetchmail" -a -z "$FETCHMAILHOME" ] && \
|
||||
export FETCHMAILHOME=/var/lib/fetchmail
|
||||
|
||||
if [ "$FETCHMAIL_DEFAULT_LOGFILE" = "syslog" -o "$FETCHMAIL_DEFAULT_LOGFILE" = "" ]; then
|
||||
if [ ! -z "$FETCHMAIL_DEFAULT_LOGFILE" ] ; then
|
||||
if [ "$FETCHMAIL_DEFAULT_LOGFILE" = "syslog" ]; then
|
||||
OPTS="$OPTS --syslog"
|
||||
else
|
||||
OPTS="$OPTS -L $FETCHMAIL_DEFAULT_LOGFILE"
|
||||
fi
|
||||
fi
|
||||
|
||||
exec /usr/bin/fetchmail $OPTS $FETCHMAIL_EXPERT_OPTIONS \
|
||||
-f $FETCHMAIL_RC_PATH
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package fetchmail
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
@ -28,14 +28,14 @@ FETCHMAIL_FETCHALL="yes"
|
||||
FETCHMAIL_SILENT="no"
|
||||
|
||||
## Type: string
|
||||
## Default: "syslog"
|
||||
## Options: "syslog", "/path/to/file"
|
||||
## Default: "/var/log/fetchmail"
|
||||
## Options: "/path/to/file", "syslog", ""
|
||||
#
|
||||
# This option allows to redirect status messages in daemon mode to the
|
||||
# specified log file or syslog(3) system if available. If empty, status
|
||||
# messages are redirected syslog.
|
||||
# specified log file or syslog(3) system if available. If empty, omits
|
||||
# any logging options.
|
||||
#
|
||||
FETCHMAIL_DEFAULT_LOGFILE="syslog"
|
||||
FETCHMAIL_DEFAULT_LOGFILE="/var/log/fetchmail"
|
||||
|
||||
## Type: string
|
||||
## Default: ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user