This repository has been archived by the owner on Apr 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
/
user.yml
47 lines (40 loc) · 1.68 KB
/
user.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
###############################################################################
# Set your variables here.
# For a complete reference look at the `vars/defaults.yml` file.
###############################################################################
# common
domain: example.com
main_user_name: TODO # your primary day-to-day username for ssh/email/etc
admin_email: "{{ main_user_name }}@{{ domain }}"
timezone: America/Los_Angeles
# database: Only needed if you aren't using sqlite, otherwise, ignore/delete it
db_admin_username: postgres
db_admin_password: TODO
mail_db_password: TODO
# mailserver
mail_virtual_domains:
- "{{ domain }}"
mail_virtual_users:
- account: "{{ admin_email }}"
password_hash: TODO # see the README for how to generate these values
- account: store-and-forward@example.com
password_hash: TODO # see the README for how to generate these values
mail_virtual_aliases:
- root@example.com: "{{ admin_email }}"
- postmaster@example.com: "{{ admin_email }}"
- webmaster@example.com: "{{ admin_email }}"
# example of store-and-forward
- store-and-forward@example.com: store-and-forward@example.com
- store-and-forward@example.com: empress@empress.local
# example of forwarding
- fwd@example.com: example@gmail.com
mail_db: sqlite # in the future, this should support sqlite, mysql/mariadb, postgres
# migrate from an existing IMAP server
# if you don't want to migrate from an old IMAP server, delete mail_migration
mail_migration:
random@motionwiki.com:
# We may want to do an IP address here instead so we can quickly and safely
# switch the DNS without messing things up or losing email.
imap_host: mail.motionwiki.com
password: TODO