main.yml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. ---
  2. exim_config_dir: /etc/exim4
  3. exim_config_file: "{{ exim_config_dir }}/exim4.conf"
  4. exim_user_name: Debian-exim
  5. exim_group_name: Debian-exim
  6. exim_trusted_user: ruth
  7. exim_mysql_hostname: localhost
  8. exim_mysql_database: email
  9. exim_mysql_user: postman
  10. exim_server_name: ivimey.org
  11. exim_message_size_limit: 64M
  12. exim_intercommand_delay: 1s
  13. exim_error_delay: 20s
  14. exim_mailman_transport: false
  15. exim_procmail_transport: false
  16. exim_imap_deliver: /var/run/dovecot/lmtp
  17. exim_virtual_domains:
  18. chbc:
  19. domains:
  20. - ch-bc.org.uk
  21. - chbc.cherryhinton.org.uk
  22. rewrites:
  23. - from: "*@ch-bc.org.uk"
  24. to: "${lookup{${local_part}}lsearch{/etc/exim4/chbc-rewrites} {$value}fail}"
  25. opts: Ffr
  26. ivimeyorg:
  27. domains:
  28. - ivimey.org
  29. rewrites:
  30. - from: "*@mail.ivimey.org"
  31. to: "${local_part}@${domain}"
  32. opts: q
  33. - from: "*@*.ivimey.org"
  34. to: "${local_part}@ivimey.org"
  35. opts: q
  36. - from: "*@localhost"
  37. to: "${local_part}@ivimey.org"
  38. opts: q
  39. ivimeycom:
  40. domains:
  41. - ivimey.com
  42. rewrites:
  43. - from: "*@*.ivimey.com"
  44. to: "${local_part}@ivimey.com"
  45. opts: q
  46. exim_relay_from_nets:
  47. - 127.0.0.1
  48. - 192.168.32.0/20
  49. exim_relay_to_domains: []
  50. exim_local_domains:
  51. - ivimey.org
  52. - cam.ivimey.org
  53. - ncurry.ivimey.org
  54. - mail.ivimey.org
  55. - ch-bc.org.uk
  56. - chbc.cherryhinton.org.uk
  57. exim_whitelist_hosts:
  58. - "{{ exim_config_dir }}/exim_whitelist_hosts"
  59. exim_blacklist_hosts:
  60. - "{{ exim_config_dir }}/exim_blacklist_hosts"
  61. exim_no_lookup_hosts:
  62. - 85.13.230.4
  63. - 213.171.217.146
  64. exim_no_greylist_hosts: []
  65. exim_whitelist_sender_file: "{{ exim_config_dir }}/whitelist_senders"
  66. exim_blacklist_sender_file: "{{ exim_config_dir }}/blacklist_senders"
  67. exim_bad_mailfrom_hosts: "{{ exim_config_dir }}/bad-mailfrom-hosts"
  68. exim_tls_certificate: /etc/letsencrypt/live/post.ivimey.org/fullchain.pem
  69. exim_tls_privatekey: /etc/letsencrypt/live/post.ivimey.org/privkey.pem
  70. exim_service_state: started
  71. exim_service_enabled: yes
  72. exim_dkim_known_signers:
  73. - gmail.com
  74. - paypal.com
  75. - ebay.com
  76. exim_dkim_canon: relaxed
  77. exim_dkim_selector: 20180629