- Posts: 3856
- Thank you received: 515
- Forum
- Fox Contact Form
- Documentation
- Troubleshooting
- No error messages, but the email doesn't arrive
No error messages, but the email doesn't arrive
- Demis [Fox-Labs]
-
Topic Author
- Offline
Less
More
25 May 2011 23:59 - 05 Nov 2015 14:34 #1
by Demis [Fox-Labs]
No error messages, but the email doesn't arrive was created by Demis [Fox-Labs]
Symptoms
After submit the contact form, on screen notification informs you that the email was sent, but it never reaches your mailbox.
It is rejected and returned to the sender, or goes right into the spam folder.
Requirements
This document assumes you are familiar with
Solution
SPF problems are related to the anti-spam policy of the provider who handle the mailbox where you aspect to receive the submissions, but it's caused by a bad DNS configuration in the domain to which your server belongs, and note that this domain is not necessarily your domain name. Often it is your provider's domain name indeed.
You have to analyse the headers and the route of outgoing emails, and set the SPF DNS records accordingly.
A few examples follows, just to give to the outsiders, an idea of how SPF works.
Example of a failing delivery
Example of a succesfully delivery
After submit the contact form, on screen notification informs you that the email was sent, but it never reaches your mailbox.
It is rejected and returned to the sender, or goes right into the spam folder.
Requirements
This document assumes you are familiar with
Since these are technical changes that could impact on your entire domain, and details of these changes vary by system, we strongly recommend they be made with the help of a qualified system administrator, who will be perfectly able to identify the actions to be taken.
Solution
SPF problems are related to the anti-spam policy of the provider who handle the mailbox where you aspect to receive the submissions, but it's caused by a bad DNS configuration in the domain to which your server belongs, and note that this domain is not necessarily your domain name. Often it is your provider's domain name indeed.
You have to analyse the headers and the route of outgoing emails, and set the SPF DNS records accordingly.
A few examples follows, just to give to the outsiders, an idea of how SPF works.
Example of a failing delivery
- Joomla and Fox Contact are installed at the URL "http://yoursite.com".
- The domain "yoursite.com" is hosted by "yourprovider.com", an Internet Service Provider, on a machine called "hostname", with ip address "1.2.3.4".
- Fox Contact is configured to send email notifications to youraddress@gmail.com
- You submit a contact form.
- The email is automatically marked with:
- Return-Path: <yourftpusername@hostname.yourprovider.com>
- Sender: <yourftpusername@hostname.yourprovider.com>
- The email then arrives to the GMail server.
- GMail server reads the SPF records by the DNS. Note that it doesn't read SPF records for "yourdomain.com", but for "yourprovider.com", because of Return-Path and Sender headers. SPF records say that only IP address 1.1.1.1 is designated to send email from "yourprovider.com", but the email arrived from ip "1.2.3.4", so it is rejected and returned to the sender.
- The sender is yourftpusername@hostname.yourprovider.com. Probably this mailbox doesn't exist, so the email will be permanently lost.
Example of a succesfully delivery
- Joomla and Fox Contact are installed at the URL "http://yoursite.com".
- The domain "yoursite.com" is hosted by "yourprovider.com", on a machine called "hostname", with ip address "81.31.144.124".
- Fox Contact is configured to send email notifications to youraddress@gmail.com
- You submit a contact form.
- The email is automatically marked with:
- Return-Path: <yourftpusername@hostname.yourprovider.com>
- Sender: <yourftpusername@hostname.yourprovider.com>
- The email then arrives to the GMail server.
- GMail server reads the SPF records for "yourprovider.com", then it accepts the email and it adds the following headers:
- Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of yourftpusername@hostname.yourprovider.com designates 81.31.144.124 as permitted sender)
Please Log in or Create an account to join the conversation.
- Armindo
-
26 May 2011 00:52 #2
by Armindo
Replied by Armindo on topic No error messages, but the email doesn't arrive
Fox contact form very nice extension. I use joomla 1.6 Unfortunately I can't receive the email from sender.
I use Global setting - Mailer - PHP Mail
Need your help.
I use Global setting - Mailer - PHP Mail
Need your help.
Please Log in or Create an account to join the conversation.
- Demis [Fox-Labs]
-
Topic Author
- Offline
Less
More
- Posts: 3856
- Thank you received: 515
26 May 2011 00:54 - 21 Apr 2012 22:51 #3
by Demis [Fox-Labs]
Replied by Demis [Fox-Labs] on topic No error messages, but the email doesn't arrive
Armindo,
your website radioliberdadedili.com is hosted by rumahweb.com on the machine rebellion.rumahweb.com with IP address 50.22.122.2.
The email generated is marked with:
Return-Path: <radio126@rebellion.rumahweb.com>
The email recipient is m#####@radioliberdadedili.com
Let's see who handle the mailboxes for radioliberdadedili.com...
radioliberdadedili.com mail is handled by 0 radioliberdadedili.com.
radioliberdadedili.com mail is handled by 0 ASPMX.L.GOOGLE.com.
Now let's check SPF records for rumahweb.com :
only 173.192.123.180 and 173.192.107.82 IP address are acceptable, but your mail was originated from 50.22.122.2, so your ASPMX.L.GOOGLE.com server will reject it.
Your provider has a bad DNS configuration.
your website radioliberdadedili.com is hosted by rumahweb.com on the machine rebellion.rumahweb.com with IP address 50.22.122.2.
The email generated is marked with:
Return-Path: <radio126@rebellion.rumahweb.com>
The email recipient is m#####@radioliberdadedili.com
Let's see who handle the mailboxes for radioliberdadedili.com...
radioliberdadedili.com mail is handled by 0 radioliberdadedili.com.
radioliberdadedili.com mail is handled by 0 ASPMX.L.GOOGLE.com.
Now let's check SPF records for rumahweb.com :
only 173.192.123.180 and 173.192.107.82 IP address are acceptable, but your mail was originated from 50.22.122.2, so your ASPMX.L.GOOGLE.com server will reject it.
Your provider has a bad DNS configuration.
Please Log in or Create an account to join the conversation.
- Eric Kiser
-
01 Sep 2011 02:30 #4
by Eric Kiser
Replied by Eric Kiser on topic No error messages, but the email doesn't arrive
Hi,
ok obviously I am using your beautiful and awesome fox form, but I do have the same problem like the others, good thing I found this thread. Anyhow what email provider would you suggest that would solve the problem?
I really love your contact form so using another is not an option. Help me please :)
ok obviously I am using your beautiful and awesome fox form, but I do have the same problem like the others, good thing I found this thread. Anyhow what email provider would you suggest that would solve the problem?
I really love your contact form so using another is not an option. Help me please :)
Please Log in or Create an account to join the conversation.
- Demis [Fox-Labs]
-
Topic Author
- Offline
Less
More
- Posts: 3856
- Thank you received: 515
01 Sep 2011 21:57 #5
by Demis [Fox-Labs]
Replied by Demis [Fox-Labs] on topic No error messages, but the email doesn't arrive
Please post your Joomla Mail settings and the email address you want to use to receive messages.
Please Log in or Create an account to join the conversation.
- Palteza
-
- Offline
Less
More
- Posts: 1
- Thank you received: 0
22 Oct 2011 22:10 - 22 Oct 2011 23:03 #6
by Palteza
Replied by Palteza on topic No error messages, but the email doesn't arrive
Hi Fox,
First thing, thanks for you great component :)
I bet this section suits me since I have the message which says that the mail is well send (the the phpmail function works, right?), but i receive nothing!
I first tried with a gmail box (then i discovered this topic), then with a @laposte.net, with a @club-internet.fr ... but each time it's failing.
Cut you give me an example of a mailing system you're sure it not uses SPF checks?
Edit : i've got the same problem with Kunena (forum) component. No mails are send to the personns who create an account.
I wonder if there is not an other problem?
First thing, thanks for you great component :)
I bet this section suits me since I have the message which says that the mail is well send (the the phpmail function works, right?), but i receive nothing!
I first tried with a gmail box (then i discovered this topic), then with a @laposte.net, with a @club-internet.fr ... but each time it's failing.
Cut you give me an example of a mailing system you're sure it not uses SPF checks?
Edit : i've got the same problem with Kunena (forum) component. No mails are send to the personns who create an account.
I wonder if there is not an other problem?
Please Log in or Create an account to join the conversation.