aboutsummaryrefslogtreecommitdiff
path: root/straper/db/public/logging/rsyslog.d/postfix.conf
diff options
context:
space:
mode:
Diffstat (limited to 'straper/db/public/logging/rsyslog.d/postfix.conf')
-rw-r--r--straper/db/public/logging/rsyslog.d/postfix.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/straper/db/public/logging/rsyslog.d/postfix.conf b/straper/db/public/logging/rsyslog.d/postfix.conf
new file mode 100644
index 0000000..7b5d9b0
--- /dev/null
+++ b/straper/db/public/logging/rsyslog.d/postfix.conf
@@ -0,0 +1,4 @@
+# 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