summaryrefslogtreecommitdiff
path: root/puppet/modules/site_postfix/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-06-17 09:23:47 +0200
committervarac <varacanero@zeromail.org>2016-06-17 09:23:47 +0200
commitc97e6bc17aceee86b561a15c6055c582e6401d8c (patch)
tree3f9557b05e915023b22d8205fa77a09b105bc8d2 /puppet/modules/site_postfix/manifests
parentcb96aa6eaf9dfd0c018d9f0397134c80e6c57b3c (diff)
parent7becc465d726a1dbc1733db5c02c343cdac53d15 (diff)
Merge tag '0.8.1'
Tagging 0.8.1
Diffstat (limited to 'puppet/modules/site_postfix/manifests')
-rw-r--r--puppet/modules/site_postfix/manifests/mx.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp
index c269946b..0b760eb4 100644
--- a/puppet/modules/site_postfix/manifests/mx.pp
+++ b/puppet/modules/site_postfix/manifests/mx.pp
@@ -69,10 +69,10 @@ class site_postfix::mx {
value => '$alias_maps';
# setup clamav and opendkim on smtpd
'smtpd_milters':
- value => 'unix:/run/clamav/milter.ctl,inet:localhost:8891';
+ value => 'unix:/run/clamav/milter.ctl,unix:/run/opendkim/opendkim.sock';
# setup opendkim for smtp (non-smtpd) outgoing mail
'non_smtpd_milters':
- value => 'inet:localhost:8891';
+ value => 'unix:/run/opendkim/opendkim.sock';
'milter_default_action':
value => 'accept';
# Make sure that the right values are set, these could be set to different
@@ -96,7 +96,7 @@ class site_postfix::mx {
# 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',
+ onlyif => '/usr/sbin/postconf -h -F "cleanup/unix/chroot" | egrep -qv ^n',
notify => Service['postfix'],
require => File['/etc/postfix/master.cf']
}