Tommy Berglund via Postfix-users: > I am using Postfix 3.7.11 on Debian 12 > > How can I disable chroot in Postfix?
Change the chroot column to 'n'. 1 - Make a backup copy of master.cf 2 - Execute the command: postconf -F '*/*/chroot=n' There should be no warnings 3 - Verify with "postconf -Mf" 4 - Execute the command: postfix reload Wietse Verify with postconf -F '*/*/chroot' > Is it just changing the 5th column in master.cf from y to n or is there > more to do, before restarting postfix? > > postconf -M > smtp inet n - y - 1 postscreen > smtpd pass - - y - - smtpd > dnsblog unix - - y - 0 dnsblog > tlsproxy unix - - y - 0 tlsproxy > submission inet n - y - - smtpd -o > syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o > smtpd_sasl_auth_enable=yes -o smtpd_sasl_type=dovecot -o > smtpd_tls_auth_only=yes -o smtpd_reject_unlisted_recipient=no -o > smtpd_recipient_restrictions= -o > smtpd_relay_restrictions=permit_sasl_authenticated,reject -o > milter_macro_daemon_name=ORIGINATING > pickup unix n - y 60 1 pickup > cleanup unix n - y - 0 cleanup > qmgr unix n - n 300 1 qmgr > tlsmgr unix - - y 1000? 1 tlsmgr > rewrite unix - - y - - trivial- > rewrite > bounce unix - - y - 0 bounce > defer unix - - y - 0 bounce > trace unix - - y - 0 bounce > verify unix - - y - 1 verify > flush unix n - y 1000? 0 flush > proxymap unix - - n - - proxymap > proxywrite unix - - n - 1 proxymap > smtp unix - - y - - smtp > relay unix - - y - - smtp -o > syslog_name=postfix/$service_name > showq unix n - y - - showq > error unix - - y - - error > retry unix - - y - - error > discard unix - - y - - discard > local unix - n n - - local > virtual unix - n n - - virtual > lmtp unix - - y - - lmtp > anvil unix - - y - 1 anvil > scache unix - - y - 1 scache > postlog unix-dgram n - n - 1 postlogd > maildrop unix - n n - - pipe > flags=DRXhu user=vmail argv=/usr/bin/maildrop -d ${recipient} > uucp unix - n n - - pipe > flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail > ($recipient) > ifmail unix - n n - - pipe flags=F > user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) > bsmtp unix - n n - - pipe flags=Fq. > user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient > scalemail-backend unix - n n - 2 pipe flags=R > user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} > ${user} ${extension} > mailman unix - n n - - pipe flags=FRX > user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} > ${user} > > //tommy > _______________________________________________ > Postfix-users mailing list -- postfix-users@postfix.org > To unsubscribe send an email to postfix-users-le...@postfix.org > _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org