# Problem with mail set up

**URL:** <https://forum.infinityfree.com/t/problem-with-mail-set-up/72931>\
**Category:** Hosting Support\
**Created:** [February 27, 2023, 11:20am UTC](https://forum.infinityfree.com/t/problem-with-mail-set-up/72931 "2023-02-27T11:20:29Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon14360022](https://forum.infinityfree.com/letter_avatar/anon14360022/32/6_449c533f586939b6e5f246632a46421f.png) [@anon14360022](https://forum.infinityfree.com/u/anon14360022)\
**Post date:** [February 27, 2023, 11:20am UTC](https://forum.infinityfree.com/t/problem-with-mail-set-up/72931/1 "2023-02-27T11:20:29Z")

</div>

# epiz\_33645363

[jcdos.co.uk](http://jcdos.co.uk)

The above domain is hoted at LCN and I have set up a mail forward to an email account I have hosted at verygoodemail.

I have set up the parameters within MX Enrty and SPF Records of Cpanel, but emails are bouncing.

The bounce:

185.27.134.244 does not like recipient.  
Remote host said: 554 5.7.1 : Relay access denied  
Giving up on 185.27.134.244.

The MX record for [jcdos.co.uk](http://jcdos.co.uk), resolves to 185.27.134.244

It implies your are attempting to relay/smart-host through that server, which perhaps is caused by a configuration error

What have I set up incorrectly please?

---

<div class="post-metadata">

**Author:** ![anon14360022](https://forum.infinityfree.com/letter_avatar/anon14360022/32/6_449c533f586939b6e5f246632a46421f.png) [@anon14360022](https://forum.infinityfree.com/u/anon14360022)\
**Post date:** [February 27, 2023, 11:27am UTC](https://forum.infinityfree.com/t/problem-with-mail-set-up/72931/2 "2023-02-27T11:27:30Z")

</div>

![Screenshot 2023-02-27 11.07.33](https://forum-cdn.infinityfree.net/original/3X/1/4/145e16fa3920129aa913bdb3ac8a3589cc444e80.png)

---

<div class="post-metadata">

**Author:** ![anon14360022](https://forum.infinityfree.com/letter_avatar/anon14360022/32/6_449c533f586939b6e5f246632a46421f.png) [@anon14360022](https://forum.infinityfree.com/u/anon14360022)\
**Post date:** [February 27, 2023, 11:28am UTC](https://forum.infinityfree.com/t/problem-with-mail-set-up/72931/3 "2023-02-27T11:28:43Z")

</div>

![Screenshot 2023-02-27 11.07.55](https://forum-cdn.infinityfree.net/original/3X/8/e/8ec7ffa310aa29578f3d377a7f1ad344e4a818e1.png)

---

<div class="post-metadata">

**Author:** ![anon14360022](https://forum.infinityfree.com/letter_avatar/anon14360022/32/6_449c533f586939b6e5f246632a46421f.png) [@anon14360022](https://forum.infinityfree.com/u/anon14360022)\
**Post date:** [February 27, 2023, 1:20pm UTC](https://forum.infinityfree.com/t/problem-with-mail-set-up/72931/4 "2023-02-27T13:20:47Z")

</div>

I have now been told that the network range or host/server IPs of the remote provider have to be in the SPF Record as well. How do I include this and where do I find the IP range?

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [February 27, 2023, 2:10pm UTC](https://forum.infinityfree.com/t/problem-with-mail-set-up/72931/5 "2023-02-27T14:10:23Z")

</div>

Read this thread?

> [@Google Domain with Infityfree and gmail](https://forum.infinityfree.com/t/google-domain-with-infityfree-and-gmail/72893):
>
> Username ( [epiz\_33669623](https://app.infinityfree.net/accounts/epiz_33669623)) or [Website URL](https://prodrig.com/)Error Message: Hi everyone, I hope you could help me here. I have a google domain and I dicided to step up my account in Infinityfree yesterday, and I believe I configured the account correclty. The website is live and seems to work fine, I have my domain pointing to Infityfree servers, my ssl is active, and I configured my MX recoreds with googles ones. But I’m having issues to receive emails. I able to send it, but not receiving. Here, I s…

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [February 27, 2023, 7:17pm UTC](https://forum.infinityfree.com/t/problem-with-mail-set-up/72931/6 "2023-02-27T19:17:25Z")

</div>

All is looking fine from here. The MX record for [jcdos.co.uk](http://jcdos.co.uk) is pointing to [a.mx.verygoodemail.com](http://a.mx.verygoodemail.com), which is using four different IP addresses starting with `85.119.249.22*`.

I believe the IP 185.27.134.244 is our own old mail server. So either when you tried to send that email, you hadn’t set up your MX records correctly, or DNS caching was getting in the way.

Can you please try again now?

* * *

The SPF record is shown as published. If you don’t know the right SPF record to use, please check it with your email provider, as they should be able to tell you what value to use.

---

<div class="post-metadata">

**Author:** ![anon14360022](https://forum.infinityfree.com/letter_avatar/anon14360022/32/6_449c533f586939b6e5f246632a46421f.png) [@anon14360022](https://forum.infinityfree.com/u/anon14360022)\
**Post date:** [February 27, 2023, 9:32pm UTC](https://forum.infinityfree.com/t/problem-with-mail-set-up/72931/7 "2023-02-27T21:32:02Z")

</div>

Emails are still bouncing.

Email provider SPF is correct but they say that the SPF should include your network IP address and range, to avoid email being dealt with as spam. What is it and how do I include it?

---

<div class="post-metadata">

**Author:** ![KangJL](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/kangjl/32/12130_2.png) [@KangJL](https://forum.infinityfree.com/u/KangJL)\
**Post date:** [February 28, 2023, 2:27am UTC](https://forum.infinityfree.com/t/problem-with-mail-set-up/72931/8 "2023-02-28T02:27:08Z")

</div>

You should find out from your email provider.  
Free hosting does not provide email services

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [February 28, 2023, 10:44am UTC](https://forum.infinityfree.com/t/problem-with-mail-set-up/72931/9 "2023-02-28T10:44:59Z")

</div>

> [@anon14360022](#):
>
> Email provider SPF is correct but they say that the SPF should include your network IP address and range, to avoid email being dealt with as spam. What is it and how do I include it?

What this is is that it’s an incorrect assumption from your email provider, which you can ignore.

If you want to be able to send email from your web hosting provider and from your email provider, then you’ll need to add the IP addresses of the mail servers from both providers to your SPF record. But we don’t provide email services, so you don’t need to whitelist any IP addresses from us, as you won’t be able to send emails at all.

Also, SPF is only for sending mail, not for receiving it. So if you’re still having trouble receiving mail, you can’t fix it through the SPF records.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [March 7, 2023, 10:45am UTC](https://forum.infinityfree.com/t/problem-with-mail-set-up/72931/10 "2023-03-07T10:45:50Z")

</div>

Closed on March 7, 2023, 10:45am UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
