From 72b7f385530ddb9f122f5feb9d46573d465890c0 Mon Sep 17 00:00:00 2001 From: mwiegand Date: Mon, 14 Jun 2021 23:35:30 +0200 Subject: [PATCH] wip --- bundles/dovecot/items.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/bundles/dovecot/items.py b/bundles/dovecot/items.py index 2bb30c8..b7b598d 100644 --- a/bundles/dovecot/items.py +++ b/bundles/dovecot/items.py @@ -2,8 +2,24 @@ assert node.has_bundle('mailserver') directories = { '/etc/dovecot/ssl': {}, + '/var/vmail': { + 'owner': 'vmail', + 'group': 'vmail', + } } +# groups['vmail'] = { +# 'gid': 5000, +# } +# +# users['vmail'] = { +# 'uid': 5000, +# 'home': '/var/vmail', +# 'needs': [ +# 'group:vmail', +# ] +# } + files = { '/etc/dovecot/dovecot.conf': { 'content_type': 'mako',