From d17d2ce4c61541eb707f268eb6fae1c79aff4bdb Mon Sep 17 00:00:00 2001 From: Nicolas Iooss Date: Mon, 12 Sep 2016 20:26:54 +0200 Subject: [PATCH] Test a minimal Postfix configuration for now --- test-vagrant-salt/salt/testvm/postfix/init.sls | 26 ++++++++++++++++++++++++++ test-vagrant-salt/saltpillar/postfix.sls | 7 ++++--- 2 files changed, 30 insertions(+), 3 deletions(-) diff --git a/test-vagrant-salt/salt/testvm/postfix/init.sls b/test-vagrant-salt/salt/testvm/postfix/init.sls index c1180a9..54954de 100644 --- a/test-vagrant-salt/salt/testvm/postfix/init.sls +++ b/test-vagrant-salt/salt/testvm/postfix/init.sls @@ -53,3 +53,29 @@ postfix-daemon: - template: jinja - watch_in: - service: postfix-daemon + +/var/spool/postfix-nosrs: + file.directory: + - user: postfix + - group: root + - mode: 700 + - makedirs: True + +/var/spool/postfix-nosrs/active: + file.directory: + - user: postfix + - group: root + - mode: 700 + +/var/spool/postfix-nosrs/deferred: + file.directory: + - user: postfix + - group: root + - mode: 700 + +/var/spool/postfix-nosrs/incoming: + file.directory: + - user: postfix + - group: root + - mode: 700 + - makedirs: True diff --git a/test-vagrant-salt/saltpillar/postfix.sls b/test-vagrant-salt/saltpillar/postfix.sls index a0575f2..16f19cd 100644 --- a/test-vagrant-salt/saltpillar/postfix.sls +++ b/test-vagrant-salt/saltpillar/postfix.sls @@ -11,6 +11,7 @@ postfix: bogo.polytechnique.org localhost.polytechnique.org mx_name: mx1.polytechnique.org - has_imap: True - has_mailman: True - has_smtps: True + # Disable for now + has_imap: False + has_mailman: False + has_smtps: False -- 2.1.4