Re: [Exim] literal domains in Exim 4 / local_domains_include…

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: David Burton
CC: exim-users
Subject: Re: [Exim] literal domains in Exim 4 / local_domains_include_host_literals / "domain literals not allowed"
What I've done with my Exim configuration (after persuasion from Greg that
it's the Right Thing) is to allow postmaster@[our.ip.addresses] and no
other local parts. The relevant parts of the configuration are:

# ...
domainlist our_domains = @ : @[] : +local_domains : +relay_domains
# ...
allow_domain_literals
# ...
# note that qualify_domain is set to the service name not the machine
# name. this is important so that the router below doesn't cause a loop.
# ...
begin acl
# ...
smtp_rcpt:
  # first acl item
  accept recipients = postmaster@+our_domains
  # ...
# ...
begin routers
# first router apart from some irrelevant magic
postmaster:
  driver      = redirect
  domains     = @ : @[]
  local_parts = postmaster
  data        = postmaster@${qualify_domain}
# ...


--
Tony Finch <dot@???> http://dotat.at/