2
# This router routes to remote hosts over SMTP by explicit IP address,
3
# when an email address is given in "domain literal" form, for example,
4
# <user@[192.168.35.64]>. The RFCs require this facility. However, it is
5
# little-known these days, and has been exploited by evil people seeking
6
# to abuse SMTP relays. Consequently it is commented out in the default
7
# configuration. If you uncomment this router, you also need to uncomment
8
# allow_domain_literals above, so that Exim can recognize the syntax of
9
# domain literal addresses.
12
# debug_print = "R: domain_literal for $local_part@$domain"
14
# domains = ! +local_domains
15
# transport = remote_smtp
2
### router/100_exim4-config_domain_literal
3
#################################
5
# This router handles e-mail addresses in "domain literal" form like
6
# <user@[10.11.12.13]>. The RFCs require this facility, but it is disabled
7
# in the default config since it is seldomly used and frequently abused.
8
# Domain literal support also needs to be enabled in the main config,
9
# which is automatically done if you use the enable macro
10
# MAIN_ALLOW_DOMAIN_LITERALS.
12
.ifdef MAIN_ALLOW_DOMAIN_LITERALS
14
debug_print = "R: domain_literal for $local_part@$domain"
16
domains = ! +local_domains
17
transport = remote_smtp