[Pkg-exim4-users] exim4, gmail and 550-5.7.1

Marc Haber mh+pkg-exim4-users at zugschlus.de
Tue Dec 15 10:12:21 UTC 2015

On Mon, Dec 14, 2015 at 04:22:00PM -0600, Robert Steinmetz AIA wrote:
> I solved it with the postfix server by setting up a list of domains
> to be to ipv4 only. That works well and is easy to add more domains
> as I discover them

The correct way to fix this would be to tell your ISP to fix their
IPv6, not by turning it off.

> I did find this web page:
> https://github.com/Exim/exim/wiki/How-to-force-IPv4-connections-for-specific-domains-if-IPv6-is-enabled
> But I'm not sure how to implement it. I can certainly add a Router
> and Transport to the appropriate directory, but where should the
> domain list go under conf.d?

Domainlists are a rather common element of exim configuration, so
chances are high that there is already a domainlist in the default
configuration. This proves to be true:

[3/500]mh at swivel:~$ grep -lr domainlist /etc/exim4/conf.d/
[4/501]mh at swivel:~$ 

and neatly answers your question that a domainlist needs to be in the
"main" part of configuration.

I would recommend putting domainlist, transport and router in their
own files. The only directory where order matters is routers, so you
can arbitrarily choose your file names in main and transports. It is
important that your router is earlier than our remote_smtp router so
that it can take precedence.

Feel free to open a wishlist bug against exim4-config, I think it
might be helpful to offer this mechanismn in the package, offering a
file containing a list of target domains that are delivered via IPv4


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

More information about the Pkg-exim4-users mailing list