100_exim4-config_domain_literal 648 B

123456789101112131415161718
  1. ### router/100_exim4-config_domain_literal
  2. #################################
  3. # This router handles e-mail addresses in "domain literal" form like
  4. # <user@[10.11.12.13]>. The RFCs require this facility, but it is disabled
  5. # in the default config since it is seldomly used and frequently abused.
  6. # Domain literal support also needs to be enabled in the main config,
  7. # which is automatically done if you use the enable macro
  8. # MAIN_ALLOW_DOMAIN_LITERALS.
  9. .ifdef MAIN_ALLOW_DOMAIN_LITERALS
  10. domain_literal:
  11. debug_print = "R: domain_literal for $local_part@$domain"
  12. driver = ipliteral
  13. domains = ! +local_domains
  14. transport = remote_smtp
  15. .endif