aboutsummaryrefslogtreecommitdiffstats
path: root/host_vars
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-03-06 12:07:38 +0800
committerAaron LI <aly@aaronly.me>2018-03-14 11:35:08 +0800
commitf1ef586370fda462cb2022f401b2fb7f7e88232e (patch)
tree6dc37f1923c11c60c41b59de4a455a995ffd04e3 /host_vars
parent028b2969000e4e83d21c1f75f6c29eb209c39532 (diff)
downloadansible-dfly-vps-f1ef586370fda462cb2022f401b2fb7f7e88232e.tar.bz2
vars: add mail.userdb and use it in postfix virtual templates
Diffstat (limited to 'host_vars')
-rw-r--r--host_vars/vultr25
1 files changed, 25 insertions, 0 deletions
diff --git a/host_vars/vultr b/host_vars/vultr
index f60d2a7..f6220ef 100644
--- a/host_vars/vultr
+++ b/host_vars/vultr
@@ -58,6 +58,31 @@ mail:
domains:
- liwt.net # primary
- aaronly.me
+ # user database, for both Postfix (receiving mails and transport to
+ # Dovecot) and Dovecot (auth users and deliver mails to disk)
+ userdb:
+ - name: root
+ aliases:
+ - postmaster
+ - hostmaster
+ - webmaster
+ - abuse
+ - name: aly
+ # for app/device-specific passwords
+ devices:
+ - laptop
+ - office
+ - phone
+ - tablet
+ - name: lulu
+ - name: wt
+ aliases:
+ - weitian
+ devices:
+ - laptop
+ - office
+ - phone
+ - tablet
# Virtual user for local mail delivery (e.g., by Dovecot)
vuser:
name: vmail # user & group name