From f43e699b91ac75cd6a2520b6e108e22b00e0c4fd Mon Sep 17 00:00:00 2001 From: Daniel Winzen Date: Mon, 18 Jun 2018 20:24:00 +0200 Subject: [PATCH] chroot postfix --- etc/default/saslauthd | 2 +- etc/postfix/master.cf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/default/saslauthd b/etc/default/saslauthd index 944a4a4..17e6940 100644 --- a/etc/default/saslauthd +++ b/etc/default/saslauthd @@ -59,4 +59,4 @@ THREADS=5 # then your Postfix is running in a chroot. # If it has the line "smtp inet n - n - - smtpd" then your Postfix is NOT # running in a chroot. -OPTIONS="-c -m /var/run/saslauthd" +OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd" diff --git a/etc/postfix/master.cf b/etc/postfix/master.cf index dfecbcf..dd01a3a 100644 --- a/etc/postfix/master.cf +++ b/etc/postfix/master.cf @@ -9,7 +9,7 @@ # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (no) (never) (100) # ========================================================================== -smtp inet n - n - - smtpd +smtp inet n - y - - smtpd #smtp inet n - y - 1 postscreen #smtpd pass - - y - - smtpd #dnsblog unix - - y - 0 dnsblog