2021-01-02 02:03:34 +01:00
|
|
|
---
|
|
|
|
users:
|
|
|
|
l3d:
|
|
|
|
- l3d@pinkie.l3d.yt
|
|
|
|
- l3d@mobile.l3d.yt
|
|
|
|
- l3d@backup.l3d.yt
|
|
|
|
- l3d@derpy.l3d.yt
|
|
|
|
- l3d@backup-rsa.l3d.yt
|
|
|
|
- l3d@business.wingcon.com
|
2021-01-02 22:19:16 +01:00
|
|
|
mailwebuser:
|
|
|
|
- l3d@pinkie.l3d.yt
|
|
|
|
- l3d@mobile.l3d.yt
|
|
|
|
- l3d@backup.l3d.yt
|
|
|
|
- l3d@derpy.l3d.yt
|
|
|
|
- l3d@backup-rsa.l3d.yt
|
|
|
|
- l3d@business.wingcon.com
|
2021-01-02 02:03:34 +01:00
|
|
|
|
|
|
|
accounts:
|
|
|
|
- l3d
|
2021-01-02 22:19:16 +01:00
|
|
|
- mailwebuser
|
2021-01-02 02:03:34 +01:00
|
|
|
|
2021-01-02 21:24:29 +01:00
|
|
|
# mail domains
|
|
|
|
additional_dns_maildomains: 'mail.l3d.space imap.l3d.space smtp.l3d.space'
|
|
|
|
|
2021-01-10 04:43:05 +01:00
|
|
|
# mailserver
|
|
|
|
mailserver_domain: "{{ _mailserver_domain }}"
|
2021-01-29 19:30:12 +01:00
|
|
|
postfix__inet_interfaces: "127.0.0.1, ::1, {{ hostvars[ inventory_hostname ].ansible_default_ipv4.address }}, {{ hostvars[ inventory_hostname ].ansible_default_ipv6.address }}"
|
2021-01-10 04:43:05 +01:00
|
|
|
|
2021-01-10 03:15:31 +01:00
|
|
|
# mail mysql access
|
|
|
|
mailserver__mysql_password: "{{ _mailserver__mysql_password }}"
|
|
|
|
mailserver__mysql_user: "{{ _mailserver__mysql_user }}"
|
2021-01-11 02:12:20 +01:00
|
|
|
mailserver__mysql_database: "{{ _mailserver__mysql_database }}"
|
2021-01-10 03:15:31 +01:00
|
|
|
mailserver__ssl_cert: "{{ _mailserver__ssl_cert }}"
|
|
|
|
mailserver__ssl_key: "{{ _mailserver__ssl_key }}"
|
2021-01-11 02:12:20 +01:00
|
|
|
postfix__db_user: "{{ _mailserver__mysql_user }}"
|
|
|
|
postfix__db_password: "{{ _mailserver__mysql_password }}"
|
|
|
|
postfix__db_name: "{{ _mailserver__mysql_database }}"
|
|
|
|
|
2021-01-02 22:19:16 +01:00
|
|
|
nginx_sites:
|
|
|
|
- name: 'mail.l3d.space'
|
|
|
|
webroot:
|
|
|
|
user: 'mailwebuser'
|
|
|
|
|
2021-01-02 22:48:07 +01:00
|
|
|
# letsencrypt
|
|
|
|
acme_notification_email: "{{ _acme_notification_email }}"
|
2021-01-02 22:19:16 +01:00
|
|
|
|
2021-01-02 02:03:34 +01:00
|
|
|
# firewall
|
2021-01-02 22:48:07 +01:00
|
|
|
fail2ban_destemail: "{{ _fail2ban_destemail }}"
|
2021-01-02 02:03:34 +01:00
|
|
|
firewall_allowed_tcp_ports:
|
|
|
|
- "22"
|
|
|
|
- "25"
|
|
|
|
- "80"
|
2021-01-25 23:36:27 +01:00
|
|
|
- "143"
|
2021-01-02 02:03:34 +01:00
|
|
|
- "443"
|
2021-01-25 23:36:27 +01:00
|
|
|
- "465"
|
|
|
|
- "587"
|
|
|
|
- "993"
|
|
|
|
- "4190"
|
2021-01-02 22:37:59 +01:00
|
|
|
|
|
|
|
# mysql
|
2021-01-02 22:55:59 +01:00
|
|
|
mysql_bind_address: "{{ _mysql_bind_address }}"
|
|
|
|
mysql_root_password: "{{ _mysql_root_password }}"
|
2021-01-03 01:01:18 +01:00
|
|
|
|
2021-01-10 04:43:05 +01:00
|
|
|
# postfix
|
|
|
|
postfix__myhostname: "{{ mailserver_domain }}"
|
|
|
|
postfix__tls_cert: "{{ mailserver__ssl_cert }}"
|
|
|
|
postfix__tls_key: "{{ mailserver__ssl_key }}"
|