From f1ef586370fda462cb2022f401b2fb7f7e88232e Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 6 Mar 2018 12:07:38 +0800 Subject: vars: add mail.userdb and use it in postfix virtual templates --- host_vars/vultr | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'host_vars/vultr') 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 -- cgit v1.2.2