aboutsummaryrefslogtreecommitdiffstats
path: root/roles/mailserver/templates/etc_rspamd_local.d_dmarc.conf.j2
blob: a850af98705ce9ecfdcf3bee6e048408d4c11992 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Enables storing reporting information to redis
reporting = true;

# Actions to enforce based on DMARC disposition
actions = {
  quarantine = "add_header";
  reject = "reject";
}

# From Rspamd 1.6 experimental support for generation of DMARC reports is provided.
# send_reports MUST be true
send_reports = true;

# report_settings MUST be present
report_settings {
  # The following elements MUST be present
  # organisation name to use for reports
  org_name = "{{ organization }}";
  
  # organisation domain
  domain = "{{ domain }}";

  # sender address to use for reports
  email = "postmaster@{{ domain }}";

  # The following elements MAY be present
  # SMTP host to send reports to ("127.0.0.1" if unset)
  # smtp = "127.0.0.1";
	
  # TCP port to use for SMTP (25 if unset)
  # smtp_port = 25;
	
  # HELO to use for SMTP ("rspamd" if unset)
  # helo = "rspamd";
	
  # Number of retries on temporary errors (2 if unset)
  # retries = 2;
	
  # Send DMARC reports here instead of domain owners
  # override_address = "postmaster@example.net";
	
  # Send DMARC reports here in addition to domain owners
  additional_address = "postmaster@{{ domain }}";
	
  # Number of records to request with HSCAN
  # hscan_count = 200
}