From: Nicolas Iooss Date: Mon, 12 Sep 2016 18:26:54 +0000 (+0200) Subject: Test a minimal Postfix configuration for now X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=d17d2ce4c61541eb707f268eb6fae1c79aff4bdb;p=vagrant-mail.git Test a minimal Postfix configuration for now --- 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