Skip to content
Snippets Groups Projects
Commit bac2f60e authored by Micah's avatar Micah
Browse files

In order for postfix to access the opendkim milter socket, we need to

remove the chroot option for the cleanup service. (#8020)

See e97a9d38 for opendkim
implementation.

Change-Id: I2742650965e61273fb804ebe9ce3f9bd38796582
parent 2164f660
Branches citest_jessie
No related tags found
No related merge requests found
......@@ -92,6 +92,13 @@ class site_postfix::mx {
value => 'enforce';
}
# Make sure that the cleanup serivce is not chrooted, otherwise it cannot
# access the opendkim milter socket (#8020)
exec { 'unset_cleanup_chroot':
command => '/usr/sbin/postconf -F "cleanup/unix/chroot=n"'
onlyif => '/usr/sbin/postconf -h -F "cleanup/unix/chroot" | egrep -q ^n'
}
include ::site_postfix::mx::smtpd_checks
include ::site_postfix::mx::checks
include ::site_postfix::mx::smtp_tls
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment