Gmail, SPF, and Broken Email Forwarding?
alek writes "I recently stopped getting Email from a friend ... which turns out to be related to his use of SPF records and my forwarding to gmail. This 'lost Email problem' may get worse with
Google implementing Domain Keys." Alek is looking for a non-complicated solution to this non-trivial problem; read on below for more details.
"Background: Like many people, I have me@mydomain.com as my public facing Email address. When Email comes into my server, I forward it to me@gmail.com. But since my friend has published SPF (Sender Policy Framework) records that say only his server is allowed to send Emails for friend@frienddomain.com, gmail apparently rejects (silently buries actually!) the Email since it is forwarding through my server. Please note that this is exactly what SPF is designed to prevent — spammers from sending Emails with your address — but it breaks forwarding and has other problems.
What's *really* strange is that if I look at the raw sendmail logs on my server, the Email from friend@frienddomain.com comes in, and is forwarded to gmail ... with an "OK" as the response — i.e. the gmail MTA doesn't reject the message as it ideally should. However, the Email then disappears — it's not even in my gmail spam filter ... so there is no trace of it at all. If my friend sends directly to me@gmail.com, it shows up ... since his domain sends directly and the SPF test is passed. Note that on my gmail account, I associate me@mydomain.com with my me@gmail.com account ... so perhaps there should be a recipient test applied before SPF is tested on the sender ... although this arguably defeats the purpose of SPF.
The logical solution is to configure sendmail on my server to do Sender Rewriting — anyone have an easy FAQ to do this? But many people/domains aren't doing this ... and my Email forwarding to gmail is quite common, so I'm surprised that this issue hasn't gotten more attention. Is there another solution?"
What's *really* strange is that if I look at the raw sendmail logs on my server, the Email from friend@frienddomain.com comes in, and is forwarded to gmail ... with an "OK" as the response — i.e. the gmail MTA doesn't reject the message as it ideally should. However, the Email then disappears — it's not even in my gmail spam filter ... so there is no trace of it at all. If my friend sends directly to me@gmail.com, it shows up ... since his domain sends directly and the SPF test is passed. Note that on my gmail account, I associate me@mydomain.com with my me@gmail.com account ... so perhaps there should be a recipient test applied before SPF is tested on the sender ... although this arguably defeats the purpose of SPF.
The logical solution is to configure sendmail on my server to do Sender Rewriting — anyone have an easy FAQ to do this? But many people/domains aren't doing this ... and my Email forwarding to gmail is quite common, so I'm surprised that this issue hasn't gotten more attention. Is there another solution?"
I prefer SPF 60. It allows me to keep the pasty white, computer nerd complexion that drives the women wild.
See my journal for slashdot ID's by year. Mine created in 2005. http://slashdot.org/journal/289875/slashdot-ids-by-year
Did you score a 200 on your SAT? Did you even take the SAT? Since your reading comprehension skills are apparently on par with first graders and congressmen, allow me to clarify.
1) The story submitter used 'mydomain.com' as an example domain in his original post.
2) The OP of this thread said 'Don't do that', use 'example.com' instead of 'mydomain.com'.
3) You pointed out (1)
4) You are being rightfully flamed for being such an ignoramus.
swoosh
~~~~~~~~~~~~~~~~point~~~~>
0
=|=
/ \
you
OMG you didn't use example.com as your domain. You're risking the nerdwrath of that dude above.
Hotmail has been doing the same for years... And it is bad bad bad. There is a reason for those RFC's you know. I've had several complaints from people that I was loosing their mail. Checked the server logs and the mails were sent to Hotmail and it replied with a nice message received and accepted. Yet it dropped them afterwards even though it was 100% Ham. Fantastic. I get complaint about their mistakes, it takes me time and effort, and best of all, you can't contact them about it.
It only takes one man to change the Wisdom of the Crowd to Tyranny of the Masses.
wow, you posted AC and then posted again. Cool.
Haha, incredible.
MyLongNickName, I present you Select/Copy/Paste. You can do that with almost all the new Operating Systems :)
You are welcome.
Ubuntu is an African word meaning 'I can't configure Debian'
I think you're looking for whoosh.
Actually, Charlie tells them what they've won. Vanna plays the part of "Jerry Springer's insightful monologue" at the end, except less controversial, less insightful, and it's actually a dialogue with Pat.
-Rob
Biblical fiscal responsibility
there was a reason I did not want a gmail account
Couldn't find any friends to give you an invite, eh?
Cheer up... you don't need them any more.
Regards,
Joe Example
I present you Select/Copy/Paste. You can do that with almost all the new Operating Systems
not on my iPhone you insensitive clod.
I once worked with a programmer who made the same mistake, only he chose a much worse non-existent domain. See, he was Russian, spoke very little English and didn't realize that there was an organization that was probably using the domain kkk.com and that kkk@kkk.com was probably a valid email address.
Needless to say, our mail server administrator was none-too-pleased to learn that we had just sent out thousands of copies of our newsletter to the Klan.
You could just use frienddomain.example.com and mydomain.example.com though.