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

Inizio della pagina
Delete this message
Reply to this message
Autore: Tony Finch
Data:  
To: David Burton
CC: exim-users
Oggetto: 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/