exim: Add initial configuration.
[matthijs/servers/drsnuggles.git] / etc / exim4 / conf.d / router / 100_exim4-config_domain_literal
1
2 ### router/100_exim4-config_domain_literal
3 #################################
4
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.
11
12 .ifdef MAIN_ALLOW_DOMAIN_LITERALS
13 domain_literal:
14   debug_print = "R: domain_literal for $local_part@$domain"
15   driver = ipliteral
16   domains = ! +local_domains
17   transport = remote_smtp
18 .endif