On 2009-06-04 at 17:09 -0600, Greg Masters wrote:
> Phil:
>
> Thanks for your reply. The following router is present in my default
> exim.conf:
>
> # This router routes to remote hosts over SMTP by explicit IP address,
> # given as a "domain literal" in the form [nnn.nnn.nnn.nnn]. The RFCs
> # require this facility, which is why it is enabled by default in Exim.
> # If you want to lock it out, set forbid_domain_literals in the main
> # configuration section above.
>
> #
> # Literal Transports .. ignores verisigns sitefinder service
> #
>
> literal:
> driver = ipliteral
> domains = ! +local_domains
> headers_add = "${perl{mailtrapheaders}}"
> ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8 : 64.94.110.0/24
> transport = remote_smtp
Okay, so since the mails being frozen are destined for the local host,
the problem is that +local_domains does not include the IP address
literals for the local host.
I did wonder where local_domains_include_host_literals was coming into
this, since it's not a current Exim option. I think it might have been
an Exim 3 option, but that's so long ago that I've forgotten the
details.
What you need to do instead is ensure that the local_domains domainlist
includes the IP address literals corresponding to the local host. To do
that, you just include the special item @[] in the domainlist
definition.
If you look at spec.txt and just search for domain_literals then there
aren't many bits to read and the allow_domain_literals documentation
explains all this for you.
Regards,
-Phil