From ee20cbcadbe9d0f77d3e6d0bcb46ec1b47f5113f Mon Sep 17 00:00:00 2001
From: "James E. Blair" <jeblair@hp.com>
Date: Wed, 17 Oct 2012 10:49:09 -0700
Subject: [PATCH] Don't attempt to deliver to gmail over v6.

Change-Id: I7b5998f50d22e103981b04706060f5127a256123
Reviewed-on: https://review.openstack.org/14506
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
---
 modules/exim/templates/exim4.conf.erb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/exim/templates/exim4.conf.erb b/modules/exim/templates/exim4.conf.erb
index a29b1cfac0..369d8df2c5 100644
--- a/modules/exim/templates/exim4.conf.erb
+++ b/modules/exim/templates/exim4.conf.erb
@@ -317,6 +317,11 @@ MM_WRAP=MM_HOME/mail/mailman
 MM_LISTCHK=MM_HOME/lists/${lc::$local_part}/config.pck
 <% end -%>
 
+# Google is way behind the times on IPv6 and tends to reject mail from
+# new v6 addrs:
+
+dns_ipv4_lookup = *.gmail.com : *.google.com
+
 ######################################################################
 #                       ACL CONFIGURATION                            #
 #         Specifies access control lists for incoming SMTP mail      #