message = ${sg{$acl_m_pgr}{^\\w+\\s*}{}}
<%- end -%>
- accept local_parts = +postmasterish
- domains = +virtual_domains : +bsmtp_domains
-
deny hosts = ${if exists{/etc/exim4/host_blacklist}{/etc/exim4/host_blacklist}{}}
message = I'm terribly sorry, but it seems you have been blacklisted
log_message = blacklisted IP
senders = ${if exists{/etc/exim4/blacklist}{/etc/exim4/blacklist}{}}
message = We have blacklisted <$sender_address>. Please stop mailing us
+ accept local_parts = +postmasterish
+ domains = +virtual_domains : +bsmtp_domains
+
<%- if scope.lookupvar('site::nodeinfo')['smarthost'].empty? -%>
deny message = host $sender_host_address is listed in $dnslist_domain; see $dnslist_text
dnslists = ${if match_domain{$domain}{+virtual_domains}\