SPF and forwarding to Google Mail



I run a mail server (sendmail) named florenz157.server4you.de
[217.172.183.157].

I have now set it to forward all incoming mail for me
(anonymized as xxx in the header cited at the bottom) to Google
Mail (xxx@xxxxxxxxx). Excerpt from the header of an incoming
mail:

"Authentication-Results: mx.google.com; spf=neutral (google.com:
217.172.183.157 is neither permitted nor denied by best guess
record for domain of yyy@xxxxxxxxxxxxxx)"

As you can see, Gmail does an SPF check, but it does not work
properly. It seems to check whether mail from the compuserve.com
domain, which is the originator of the incoming email, is
allowed to be sent from my mail server, which, of course it
wouldn't be if Compuserve had set up an SPF record.

It seems that the receiving Gmail server does not understand
that this mail has been forwarded, although it could be
recognized by looking at the header.

What should I do? Give up on SPF and hope that Google will
always mercifully accept emails, even if they come from an IP
address that should be blocked by SPF checking?

Instead of forwarding mail to Gmail, I could let Gmail collect
the email through POP3, which would certainly avoid this
problem. But it would create a new one---a long delay.

Hans-Georg


Delivered-To: xxx@xxxxxxxxx
Received: by 10.70.47.13 with SMTP id u13cs114336wxu;
Mon, 18 Feb 2008 15:35:51 -0800 (PST)
Received: by 10.86.84.5 with SMTP id
h5mr6505792fgb.27.1203377750596;
Mon, 18 Feb 2008 15:35:50 -0800 (PST)
Return-Path: <yyy@xxxxxxxxxxxxxx>
Received: from florenz157.server4you.de
(florenz157.server4you.de [217.172.183.157])
by mx.google.com with ESMTP id
o11si14968697fkf.9.2008.02.18.15.35.49;
Mon, 18 Feb 2008 15:35:50 -0800 (PST)
Received-SPF: neutral (google.com: 217.172.183.157 is neither
permitted nor denied by best guess record for domain of
yyy@xxxxxxxxxxxxxx) client-ip=217.172.183.157;
Authentication-Results: mx.google.com; spf=neutral (google.com:
217.172.183.157 is neither permitted nor denied by best guess
record for domain of yyy@xxxxxxxxxxxxxx)
smtp.mail=yyy@xxxxxxxxxxxxxx
Received: from vms173003pub.verizon.net
(vms173003pub.verizon.net [206.46.173.3])
by florenz157.server4you.de (8.12.10/8.12.10/SuSE Linux
0.7) with ESMTP id m1INZUNL032629
for <xxx@xxxxxxxxxx>; Tue, 19 Feb 2008 00:35:46 +0100
Received: from yyyPC ([72.82.202.163]) by
vms173003.mailsrvcs.net
(Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006))
with ESMTPA id <0JWG00AQYK22VCF2@xxxxxxxxxxxxxxxxxxxxxxx> for
xxx@xxxxxxxxxx; Mon, 18 Feb 2008 17:32:27 -0600 (CST)
Date: Mon, 18 Feb 2008 18:35:01 -0500
From: "yyy yyy" <yyy@xxxxxxxxxxxxxx>
Subject: RE: zzz
In-reply-to: <02fe01c8727d$2e18e100$0a00a8c0@HG1>
To: <xxx@xxxxxxxxxx>
--
No mail, please.
.



Relevant Pages

  • Re: SPF and forwarding to Google Mail
    ... I have now set it to forward all incoming mail for me ... Excerpt from the header of an incoming ... As you can see, Gmail does an SPF check, but it does not work ... Hopefully Google and everyone else who has a bit of sense will continue to ...
    (comp.mail.misc)
  • Re: 2 mail servers, 1 domain
    ... You would do this by assigning each mail server at each ... envelope addreses and header addresses. ... actually used by sendmail for delivery. ... delivery of the message to the correct host. ...
    (comp.mail.sendmail)
  • Re: Message rule for Spam
    ... How would I form message rule for the rfc822 to rule out advertisements from ... That line is added by your mail server to show the intended delivery ... RFC 822 refers to the older Internet standard for ... MS Outlook Express can't filter on most header lines. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: why the date changes on 4 emails?
    ... Did you originally import those 4 messages from another mail client? ... Each mail server that a message passes through adds its own ... This is the "Date:" line in the message header. ... Now I discover that 4 emails in the SENT 2004 folder in the XYZ 2004 ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Mail filters - was Re: [survey] why do you still use VAX systems?
    ... header From: ... verb regex_icase ... conjunction ignore ...
    (comp.os.vms)