[GH-ISSUE #1358] logwatch : Backwards-Compatibility #1082

Closed
opened 2026-02-27 11:15:09 +03:00 by kerem · 5 comments
Owner

Originally created by @CooperBarrett on GitHub (Jan 18, 2018).
Original GitHub issue: https://github.com/modoboa/modoboa/issues/1358

Impacted versions

  • installer used: Yes
  • Webserver: Nginx

Hi,
In my logs, I have errors on "Backwards-Compatibility",
Is there any way to rectify that?
I found this in the postfix documentation but I'm afraid to do some bullshit, I'd rather ask first :

Using backwards-compatible default setting chroot=y

The master.cf chroot default value has changed from "y" (yes) to "n" (no). The new default avoids the need for copies of system files under the Postfix queue directory. However, sites with strict security requirements may want to keep the chroot feature enabled after updating Postfix from an older version. The backwards-compatibility safety net is designed allow the administrator to choose if they want to keep the old behavior.

As long as a master.cf chroot field is left at its implicit default value, and the compatibility_level setting is less than 1, Postfix may log the following message while it reads the master.cf file:

postfix/master[27664]: /etc/postfix/master.cf: line 72: using
    backwards-compatible default setting chroot=y

If this service should remain chrooted, then the system administrator should make the backwards-compatible setting "chroot = y" permanent in master.cf. For example, to update the chroot setting for the "smtp inet" service:

# postconf -F smtp/inet/chroot=y
# postfix reload

And here are my logs (logwatch) :

 **Unmatched Entries**
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 17: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 67: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 54: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 49: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 44: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 48: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 60: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 61: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix[21629]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload"
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 66: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 19: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 50: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 68: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 63: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 53: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 58: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 13: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 57: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 45: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 51: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix[21629]: Postfix is running with backwards-compatible default settings
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 52: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 62: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 20: using backwards-compatible default setting chroot=y
        1   Jan 17 00:00:45 monserveur postfix[21629]: See http://www.postfix.org/COMPATIBILITY_README.html for details
        1   Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 14: using backwards-compatible default setting chroot=y

Thank you for your help

Originally created by @CooperBarrett on GitHub (Jan 18, 2018). Original GitHub issue: https://github.com/modoboa/modoboa/issues/1358 # Impacted versions * installer used: Yes * Webserver: Nginx Hi, In my logs, I have errors on "Backwards-Compatibility", Is there any way to rectify that? I found this in the postfix documentation but I'm afraid to do some bullshit, I'd rather ask first : > Using backwards-compatible default setting chroot=y > > The master.cf chroot default value has changed from "y" (yes) to "n" (no). The new default avoids the need for copies of system files under the Postfix queue directory. However, sites with strict security requirements may want to keep the chroot feature enabled after updating Postfix from an older version. The backwards-compatibility safety net is designed allow the administrator to choose if they want to keep the old behavior. > > > As long as a master.cf chroot field is left at its implicit default value, and the compatibility_level setting is less than 1, Postfix may log the following message while it reads the master.cf file: > > postfix/master[27664]: /etc/postfix/master.cf: line 72: using > backwards-compatible default setting chroot=y > > If this service should remain chrooted, then the system administrator should make the backwards-compatible setting "chroot = y" permanent in master.cf. For example, to update the chroot setting for the "smtp inet" service: > > # postconf -F smtp/inet/chroot=y > # postfix reload > **And here are my logs (logwatch)** : ``` **Unmatched Entries** 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 17: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 67: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 54: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 49: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 44: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 48: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 60: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 61: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix[21629]: To disable backwards compatibility use "postconf compatibility_level=2" and "postfix reload" 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 66: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 19: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 50: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 68: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 63: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 53: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 58: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 13: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 57: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 45: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 51: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix[21629]: Postfix is running with backwards-compatible default settings 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 52: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 62: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 20: using backwards-compatible default setting chroot=y 1 Jan 17 00:00:45 monserveur postfix[21629]: See http://www.postfix.org/COMPATIBILITY_README.html for details 1 Jan 17 00:00:45 monserveur postfix/master[1392]: /etc/postfix/master.cf: line 14: using backwards-compatible default setting chroot=y ``` Thank you for your help
kerem 2026-02-27 11:15:09 +03:00
Author
Owner

@ghost commented on GitHub (Jan 18, 2018):

@CooperBarrett Can you post a copy of /etc/postfix/master.cf?

<!-- gh-comment-id:358795680 --> @ghost commented on GitHub (Jan 18, 2018): @CooperBarrett Can you post a copy of /etc/postfix/master.cf?
Author
Owner

@CooperBarrett commented on GitHub (Jan 19, 2018):

thanks for your help, here's my master.cf :

# This file was automatically installed on 2018-01-04T15:13:48.207270
#
# Postfix master process configuration file.  For details on the format
# of the file, see the master(5) manual page (command: "man 5 master" or
# on-line: http://www.postfix.org/master.5.html).
#
# Do not forget to execute "postfix reload" after editing this file.
#
# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       -       -       1       postscreen
smtpd     pass  -       -       -       -       -       smtpd
  -o smtpd_proxy_filter=inet:[127.0.0.1]:10024 
  -o smtpd_proxy_options=speed_adjust
dnsblog   unix  -       -       -       -       0       dnsblog

tlsproxy  unix  -       -       -       -       0       tlsproxy
submission inet n       -       -       -       -       smtpd
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o tls_preempt_cipherlist=yes
  -o smtpd_sasl_auth_enable=yes
  -o smtpd_reject_unlisted_recipient=no
  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  -o smtpd_helo_restrictions=
  -o smtpd_sender_restrictions=reject_sender_login_mismatch
  -o smtpd_recipient_restrictions=
  -o milter_macro_daemon_name=ORIGINATING
  -o smtpd_proxy_filter=inet:[127.0.0.1]:10026
#smtps     inet  n       -       -       -       -       smtpd
#  -o syslog_name=postfix/smtps
#  -o smtpd_tls_wrappermode=yes
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_reject_unlisted_recipient=no
#  -o smtpd_client_restrictions=$mua_client_restrictions
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
#  -o smtpd_recipient_restrictions=
#  -o smtpd_relay_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628       inet  n       -       -       -       -       qmqpd
pickup    unix  n       -       -       60      1       pickup
cleanup   unix  n       -       -       -       0       cleanup
qmgr      unix  n       -       n       300     1       qmgr
#qmgr     unix  n       -       n       300     1       oqmgr
tlsmgr    unix  -       -       -       1000?   1       tlsmgr
rewrite   unix  -       -       -       -       -       trivial-rewrite
bounce    unix  -       -       -       -       0       bounce
defer     unix  -       -       -       -       0       bounce
trace     unix  -       -       -       -       0       bounce
verify    unix  -       -       -       -       1       verify
flush     unix  n       -       -       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
proxywrite unix -       -       n       -       1       proxymap
smtp      unix  -       -       -       -       -       smtp
relay     unix  -       -       -       -       -       smtp
#       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq     unix  n       -       -       -       -       showq
error     unix  -       -       -       -       -       error
retry     unix  -       -       -       -       -       error
discard   unix  -       -       -       -       -       discard
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       -       -       -       lmtp
anvil     unix  -       -       -       -       1       anvil
scache    unix  -       -       -       -       1       scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent.  See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
#
# ====================================================================
#
# Recent Cyrus versions can use the existing "lmtp" master.cf entry.
#
# Specify in cyrus.conf:
#   lmtp    cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4
#
# Specify in main.cf one or more of the following:
#  mailbox_transport = lmtp:inet:localhost
#  virtual_transport = lmtp:inet:localhost
#
# ====================================================================
#
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
#
#cyrus     unix  -       n       n       -       -       pipe
#  user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# ====================================================================
# Old example of delivery via Cyrus.
#
#old-cyrus unix  -       n       n       -       -       pipe
#  flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
#
# ====================================================================
#
# See the Postfix UUCP_README file for configuration details.
#
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
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=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
  ${nexthop} ${user}

# Modoboa autoreply service
#
autoreply unix        -       n       n       -       -       pipe
  flags= user=vmail:vmail argv=/srv/modoboa/env/bin/python /srv/modoboa/instance/manage.py autoreply $sender $mailbox

# Amavis return path
#
127.0.0.1:10025 inet n    -       n       -       -     smtpd 
        -o content_filter= 
        -o smtpd_authorized_xforward_hosts=127.0.0.0/8 
        -o smtpd_delay_reject=no 
        -o smtpd_client_restrictions=permit_mynetworks,reject 
        -o smtpd_helo_restrictions= 
        -o smtpd_sender_restrictions= 
        -o smtpd_recipient_restrictions=permit_mynetworks,reject 
        -o smtpd_data_restrictions=reject_unauth_pipelining 
        -o smtpd_end_of_data_restrictions= 
        -o smtpd_restriction_classes= 
        -o mynetworks=127.0.0.0/8 
        -o smtpd_error_sleep_time=0 
        -o smtpd_soft_error_limit=1001 
        -o smtpd_hard_error_limit=1000 
        -o smtpd_client_connection_count_limit=0 
        -o smtpd_client_connection_rate_limit=0 
        -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks 
        -o local_header_rewrite_clients=
<!-- gh-comment-id:358899824 --> @CooperBarrett commented on GitHub (Jan 19, 2018): thanks for your help, here's my master.cf : ``` # This file was automatically installed on 2018-01-04T15:13:48.207270 # # Postfix master process configuration file. For details on the format # of the file, see the master(5) manual page (command: "man 5 master" or # on-line: http://www.postfix.org/master.5.html). # # Do not forget to execute "postfix reload" after editing this file. # # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - - - 1 postscreen smtpd pass - - - - - smtpd -o smtpd_proxy_filter=inet:[127.0.0.1]:10024 -o smtpd_proxy_options=speed_adjust dnsblog unix - - - - 0 dnsblog tlsproxy unix - - - - 0 tlsproxy submission inet n - - - - smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o tls_preempt_cipherlist=yes -o smtpd_sasl_auth_enable=yes -o smtpd_reject_unlisted_recipient=no -o smtpd_client_restrictions=permit_sasl_authenticated,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions=reject_sender_login_mismatch -o smtpd_recipient_restrictions= -o milter_macro_daemon_name=ORIGINATING -o smtpd_proxy_filter=inet:[127.0.0.1]:10026 #smtps inet n - - - - smtpd # -o syslog_name=postfix/smtps # -o smtpd_tls_wrappermode=yes # -o smtpd_sasl_auth_enable=yes # -o smtpd_reject_unlisted_recipient=no # -o smtpd_client_restrictions=$mua_client_restrictions # -o smtpd_helo_restrictions=$mua_helo_restrictions # -o smtpd_sender_restrictions=$mua_sender_restrictions # -o smtpd_recipient_restrictions= # -o smtpd_relay_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING #628 inet n - - - - qmqpd pickup unix n - - 60 1 pickup cleanup unix n - - - 0 cleanup qmgr unix n - n 300 1 qmgr #qmgr unix n - n 300 1 oqmgr tlsmgr unix - - - 1000? 1 tlsmgr rewrite unix - - - - - trivial-rewrite bounce unix - - - - 0 bounce defer unix - - - - 0 bounce trace unix - - - - 0 bounce verify unix - - - - 1 verify flush unix n - - 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - - - - smtp relay unix - - - - - smtp # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 showq unix n - - - - showq error unix - - - - - error retry unix - - - - - error discard unix - - - - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - - - - lmtp anvil unix - - - - 1 anvil scache unix - - - - 1 scache # # ==================================================================== # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # Many of the following services use the Postfix pipe(8) delivery # agent. See the pipe(8) man page for information about ${recipient} # and other message envelope options. # ==================================================================== # # maildrop. See the Postfix MAILDROP_README file for details. # Also specify in main.cf: maildrop_destination_recipient_limit=1 # maildrop unix - n n - - pipe flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient} # # ==================================================================== # # Recent Cyrus versions can use the existing "lmtp" master.cf entry. # # Specify in cyrus.conf: # lmtp cmd="lmtpd -a" listen="localhost:lmtp" proto=tcp4 # # Specify in main.cf one or more of the following: # mailbox_transport = lmtp:inet:localhost # virtual_transport = lmtp:inet:localhost # # ==================================================================== # # Cyrus 2.1.5 (Amos Gouaux) # Also specify in main.cf: cyrus_destination_recipient_limit=1 # #cyrus unix - n n - - pipe # user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user} # # ==================================================================== # Old example of delivery via Cyrus. # #old-cyrus unix - n n - - pipe # flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user} # # ==================================================================== # # See the Postfix UUCP_README file for configuration details. # uucp unix - n n - - pipe flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) # # Other external delivery methods. # 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=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user} # Modoboa autoreply service # autoreply unix - n n - - pipe flags= user=vmail:vmail argv=/srv/modoboa/env/bin/python /srv/modoboa/instance/manage.py autoreply $sender $mailbox # Amavis return path # 127.0.0.1:10025 inet n - n - - smtpd -o content_filter= -o smtpd_authorized_xforward_hosts=127.0.0.0/8 -o smtpd_delay_reject=no -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o smtpd_data_restrictions=reject_unauth_pipelining -o smtpd_end_of_data_restrictions= -o smtpd_restriction_classes= -o mynetworks=127.0.0.0/8 -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o smtpd_client_connection_count_limit=0 -o smtpd_client_connection_rate_limit=0 -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks -o local_header_rewrite_clients= ```
Author
Owner

@ghost commented on GitHub (Jan 19, 2018):

I'm running postfix 3.2.4 and none of my services are chrooted, the default for postfix >= 3.0 is chroot = no.

It's safe to follow the postfix documentation and update your master.cd using postconf -F smtp/inet/chroot=n

To fix all the services, backup master.cf and run the following in the same directory as master.cf
grep '^[^ \t#]' master.cf | awk '{ print "postconf -F " $1 "/" $2 "/chroot=n" }' | sh

<!-- gh-comment-id:359082056 --> @ghost commented on GitHub (Jan 19, 2018): I'm running postfix 3.2.4 and none of my services are chrooted, the default for postfix >= 3.0 is chroot = no. It's safe to follow the postfix documentation and update your master.cd using `postconf -F smtp/inet/chroot=n` To fix all the services, backup `master.cf` and run the following in the same directory as `master.cf` ```grep '^[^ \t#]' master.cf | awk '{ print "postconf -F " $1 "/" $2 "/chroot=n" }' | sh```
Author
Owner

@CooperBarrett commented on GitHub (Jan 19, 2018):

Thank you for your answer, I will test this, I'll come back to you to solve if everything works!

<!-- gh-comment-id:359084094 --> @CooperBarrett commented on GitHub (Jan 19, 2018): Thank you for your answer, I will test this, I'll come back to you to solve if everything works!
Author
Owner

@CooperBarrett commented on GitHub (Jan 23, 2018):

Problem solved as far as I'm concerned, thank you very much to @fyfe for his help!

<!-- gh-comment-id:359669460 --> @CooperBarrett commented on GitHub (Jan 23, 2018): Problem solved as far as I'm concerned, thank you very much to @fyfe for his help!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/modoboa-modoboa#1082
No description provided.