install_postfix_base.sh,install_postfix_advanced.sh: adjust second time '/etc/rsyslog.d/postfix.conf'.
This commit is contained in:
parent
e976d0e3ef
commit
3eb53b5463
@ -3633,7 +3633,11 @@ 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
|
||||||
|
@ -1313,7 +1313,11 @@ 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
|
||||||
|
Loading…
Reference in New Issue
Block a user