Add mail roles
This commit is contained in:
35
package-postfix_filter/defaults/main.yml
Normal file
35
package-postfix_filter/defaults/main.yml
Normal file
@ -0,0 +1,35 @@
|
||||
---
|
||||
# Default configurations
|
||||
# I populate these from external configs; I indicate what the are as inline comments
|
||||
|
||||
# Postfix
|
||||
|
||||
# A list of relay domains and their target (square-bracked hostname/IP + port); examples follow
|
||||
relay_domains: "{{ blse_relaydomains }}"
|
||||
# - domain: "some.domain.tld"
|
||||
# relay: "[mail.domain.tld]"
|
||||
# - domain: "other.domain.tld"
|
||||
# relay: "[secure.domain.tld]:465"
|
||||
|
||||
# A list of RBLs to check for rejecting incoming mail
|
||||
remote_block_lists:
|
||||
- bl.spamcop.net
|
||||
- zen.spamhaus.org
|
||||
- cbl.abuseat.org
|
||||
|
||||
# Enable TLS (literal yes/no only) and, if yes, the cert and key files
|
||||
tls_enabled: yes
|
||||
tls_cert: "/etc/ssl/{{ ansible_fqdn }}.crt"
|
||||
tls_key: "/etc/ssl/{{ ansible_fqdn }}.key"
|
||||
|
||||
# Virtual address maps
|
||||
virtual_maps:
|
||||
- regex: "/^postmaster@/"
|
||||
map: "root@{{ blsedomains_admindomain }}"
|
||||
|
||||
# SpamAssassin
|
||||
notify_admin: "joshua@boniface.me" # Administrative address to notify
|
||||
notify_method: "smtp:{{ blsecluster_smtphost }}:25"
|
||||
custom_sender_scores:
|
||||
- [qr'^(offers)@'i => 1.0]
|
||||
- [qr'^.*@pizzanova.com'i => 1.0]
|
Reference in New Issue
Block a user