ansible role for debian buster setting up a mailserver with postfix, rspamd, dovecot and clamav and based on PostgreSQL; journal-postfix is a log parser for postfix; Attention: user and domain administration (in PostgreSQL) is not covered here
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

35 lines
1.2 KiB

  1. # Deploy journal-postfix
  2. # This will install a service that writes mail delivery information
  3. # obtained from systemd-journal (unit postfix@-.service) to a
  4. # PostgreSQL database.
  5. #
  6. # You can configure the database connection parameters (and optionally
  7. # a verp_marker) as host vars like this:
  8. #
  9. # mailserver:
  10. # postgresql:
  11. # host: 127.0.0.1
  12. # port: 5432
  13. # dbname: mailserver
  14. # username: mailserver
  15. # password: !vault |
  16. # $ANSIBLE_VAULT;1.1;AES256
  17. # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  18. # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  19. # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  20. # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  21. # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  22. # postfix:
  23. # verp_marker: rstxyz
  24. #
  25. # If you do not, then you must edit /etc/journal-postfix/main.yml
  26. # on the destination hosts and run systemctl start journal-postfix
  27. # manually.
  28. - name: install journal-postfix
  29. user: root
  30. hosts: mail
  31. roles:
  32. - journal-postfix