Multiple fixes
This commit is contained in:
parent
d166ccf12b
commit
08be02723b
10 changed files with 132 additions and 27 deletions
|
|
@ -1,11 +1,13 @@
|
|||
# install a complete mail system with
|
||||
# ansible playbook
|
||||
#
|
||||
# Install a complete mail system with
|
||||
#
|
||||
# - postfix
|
||||
# - dovecot
|
||||
# - clamav (with unofficial signatures)
|
||||
# - rspamd (integrating clamav)
|
||||
#
|
||||
# not included here: list server, roundcube
|
||||
# not included here: list server, roundcube, account and alias management
|
||||
#
|
||||
# Please edit the host's config (inventory/host_vars/${hostname}):
|
||||
# Add a new dictionary 'mailserver':
|
||||
|
|
@ -33,28 +35,36 @@
|
|||
#
|
||||
# Take care thate the verp_marker only contains [a-z0-9]+ (NO UPPER CASE LETTERS!).
|
||||
#
|
||||
# (Use ansible-vault encrypt_string zo encrypt the password.)
|
||||
# (Use ansible-vault encrypt_string to encrypt the password.)
|
||||
#
|
||||
# TODOs after running this playbook:
|
||||
#
|
||||
# Configure mail DNS:
|
||||
# Open the firewall:
|
||||
#
|
||||
# - open or DNAT the TCP ports 25, 143, 587, 4190 to the host (incoming)
|
||||
# - allow outgoing traffic
|
||||
#
|
||||
# Configure mail DNS for your host:
|
||||
#
|
||||
# - MX
|
||||
# - PTR (IPv4 and IPv6)
|
||||
#
|
||||
# SPF, DMARC and DKIM DNS records should be created when adding a domain:
|
||||
# Add SPF, DMARC and DKIM DNS records whenever you add a mail domain:
|
||||
#
|
||||
# - SPF (IN TXT "v=spf1 mx" or more)
|
||||
# - DMARC (_dmarc IN TXT "v=DMARC1; p=reject; rua=mailto:admin@mymaindomain.org; adkim=s; aspf=s;")
|
||||
# - SPF ('IN TXT "v=spf1 mx"' or more)
|
||||
# - DMARC ('_dmarc IN TXT "v=DMARC1; p=reject; rua=mailto:admin@mymaindomain.org; adkim=s; aspf=s;"')
|
||||
# - DKIM (rspamadm dkim_keygen -d mymaindomain.org -s 20190911 -b 4096;
|
||||
# get the DNS entry and save the private key
|
||||
#
|
||||
# Please open the firewall: open or DNAT tcp ports 25, 143, 587, 4190 to the host (incoming)
|
||||
# get the DNS entry and also save the private key)
|
||||
#
|
||||
# Replace the ssl certificates with signed ones.
|
||||
#
|
||||
# Users and domains can be added to the PostgreSQL tables;
|
||||
# code for that is not part of this playbook.
|
||||
# Mind that if you create a catchall alias, you must also
|
||||
# add an alias for each account to the aliases, or you can
|
||||
# prepend the following to the SELECT in /etc/postfix/aliases.cf
|
||||
# SELECT u.username || '@' || d.name FROM users u JOIN domains d ON u.domain_id=d.id WHERE d.relay_transport is null AND u.username || '@' || d.name = '%s'
|
||||
# UNION
|
||||
|
||||
- name: install mail_system
|
||||
user: root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue