Compare commits
No commits in common. "3eb53b54635f88f84864097f58bd10ab58a94c61" and "da37fc193862f58d1603e16f60254b590d91e2ed" have entirely different histories.
3eb53b5463
...
da37fc1938
@ -3633,19 +3633,15 @@ fi
|
|||||||
## - Omitt logging into system.log
|
## - Omitt logging into system.log
|
||||||
## -
|
## -
|
||||||
echononl " Create \"/etc/rsyslog.d/postfix.conf\""
|
echononl " Create \"/etc/rsyslog.d/postfix.conf\""
|
||||||
cat << EOF > /etc/rsyslog.d/postfix.conf
|
cat << EOF >> /etc/rsyslog.d/postfix.conf
|
||||||
# Create an additional socket in postfix's chroot in order not to break
|
|
||||||
# mail logging when rsyslog is restarted. If the directory is missing,
|
|
||||||
# rsyslog will silently skip creating the socket.
|
|
||||||
\$AddUnixListenSocket /var/spool/postfix/dev/log
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Logging for the mail system. Split it up so that
|
# Logging for the mail system. Split it up so that
|
||||||
# it is easy to write scripts to parse these files.
|
# it is easy to write scripts to parse these files.
|
||||||
#
|
#
|
||||||
#mail.info -/var/log/mail.info
|
mail.info -/var/log/mail.info
|
||||||
#mail.warn -/var/log/mail.warn
|
mail.warn -/var/log/mail.warn
|
||||||
#mail.err /var/log/mail.err
|
mail.err /var/log/mail.err
|
||||||
|
|
||||||
mail.* -/var/log/mail.log
|
mail.* -/var/log/mail.log
|
||||||
& stop
|
& stop
|
||||||
|
@ -1313,19 +1313,15 @@ fi
|
|||||||
## - Omitt logging into system.log
|
## - Omitt logging into system.log
|
||||||
## -
|
## -
|
||||||
echononl " Create \"/etc/rsyslog.d/postfix.conf\""
|
echononl " Create \"/etc/rsyslog.d/postfix.conf\""
|
||||||
cat << EOF > /etc/rsyslog.d/postfix.conf
|
cat << EOF >> /etc/rsyslog.d/postfix.conf
|
||||||
# Create an additional socket in postfix's chroot in order not to break
|
|
||||||
# mail logging when rsyslog is restarted. If the directory is missing,
|
|
||||||
# rsyslog will silently skip creating the socket.
|
|
||||||
\$AddUnixListenSocket /var/spool/postfix/dev/log
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Logging for the mail system. Split it up so that
|
# Logging for the mail system. Split it up so that
|
||||||
# it is easy to write scripts to parse these files.
|
# it is easy to write scripts to parse these files.
|
||||||
#
|
#
|
||||||
#mail.info -/var/log/mail.info
|
mail.info -/var/log/mail.info
|
||||||
#mail.warn -/var/log/mail.warn
|
mail.warn -/var/log/mail.warn
|
||||||
#mail.err /var/log/mail.err
|
mail.err /var/log/mail.err
|
||||||
|
|
||||||
mail.* -/var/log/mail.log
|
mail.* -/var/log/mail.log
|
||||||
& stop
|
& stop
|
||||||
|
Loading…
Reference in New Issue
Block a user