exim router - header and spf verification help...


Mar 2, 2008
hey everyone -

having an issue that is related to an exim router and spf checks. my server works closely with another domain and has a router in it to deliver mail for one domain (trmacs.com) directly to gmails servers - bypassing the spam filter etc. the weird thing is that when doing this gmail fails SPF verification as it thinks the mail is coming directly from the ip address the client is at instead of my server who is delivering the message and is listed in SPF. attached here are the sample headers of the failed SPF and the router config etc. what am i missing? if i deliver without the router it works perfectly.

Delivered-To: [email protected]
Received: by with SMTP id g20csp37073igq;
        Fri, 23 May 2014 07:34:51 -0700 (PDT)
X-Received: by with SMTP id u41mr6669213qga.69.1400855690751;
        Fri, 23 May 2014 07:34:50 -0700 (PDT)
Return-Path: <[email protected]>
Received: from vps2.boylehost.com (vps2.boylehost.com. [])
        by mx.google.com with ESMTPS id y46si3663520qgy.90.2014.
        for <[email protected]>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 23 May 2014 07:34:50 -0700 (PDT)
Received-SPF: fail (google.com: domain of [email protected] does not designate as permitted sender) client-ip=;
Authentication-Results: mx.google.com;
       spf=hardfail (google.com: domain of [email protected] does not designate as permitted sender) [email protected]
Received: from 173-9-80-213-newengland.hfc.comcastbusiness.net ([]:45868 helo=[])
	by vps2.boylehost.com with esmtpsa (TLSv1:AES128-SHA:128)
	(Exim 4.82)
	(envelope-from <[email protected]>)
	id 1WnqYc-0007VB-3C
	for [email protected]; Fri, 23 May 2014 10:34:50 -0400
From: colleen <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Subject: test3
Message-Id: <[email protected]>
Date: Fri, 23 May 2014 10:34:48 -0400
To: [email protected]
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\))
X-Mailer: Apple Mail (2.1878.2)

and router:

     driver = manualroute
     transport = remote_smtp
     route_list = trmacs.com ASPMX.L.GOOGLE.COM


Staff member
Apr 11, 2011
Hello :)

Have you tested to determine if the same issue persists with other mail servers, or is it isolated to Google? Have you considered designating the client's IP address as a permitted sender in the SPF record?

Thank you.