I want to use Cloudflare, and it requires that I use their nameservers.

The problem is that I'm using some features from Namecheap like email forwarding, which will be disabled (if I didn't get it wrong) if I don't use Namecheap's nameservers.

Any ideas?

  • I feel you... I have exactly the same problem, neither talking to namecheap nor cloudflare provided me with a decent alternative... I had asked the same question here: serverfault.com/questions/448419/… I have 100+ domains and for many of them I just need a forwarding to a central email address (which is hosted on google apps) however google apps also has a limit on the number of aliases you can have (around 20-50 if i'm not wrong) so can't go that way really... Commented Nov 18, 2012 at 16:22
  • I've been talking to namecheap recently. Subscribe to our free trial of Open Exchange they said. You will have email forwarding they said... xD. I subscribed but I couldn't find it, so now I'm waiting for a response on whether I can have a catch-all email at least, someone from support thought it was possible. I hope they add that (or email forwarding) to the interface, or it will be a pain. Commented Nov 18, 2012 at 17:32
  • That is exactly what they said, but i have 100+ domains so that's not an option for me...What you could also do if you have a small number of domains is use google apps for business but bear in mind they have a 50 domain limit (or similar) on aliases Commented Nov 19, 2012 at 8:40
  • In the same boat here. What I ended up doing is using hostgator email forwarding on their shard hosting packages with this setup. Costs me around $7/month but saves a ton of headache
    – Ghostrider
    Commented Aug 14, 2013 at 5:19
  • As Kim Stacks mentioned, here's a solution that works: lowendtalk.com/discussion/19043/…
    – Asaf
    Commented Dec 4, 2014 at 18:02

4 Answers 4


I have tried this solution


So far, it seems to work for me even though my domain is still not yet verified. (Still in the early 24-48 hours to verify the MX records etc)

Basically the solution is to use mailgun and setup the email forwarding using their Routes services.

So far, I can receive and send. Will update in another 24 hours time once my domain is verified in mailgun.

UPDATE after 48 hours it works

UPDATE after many many days later I realize I should have reproduced the article here in case it dies.

All credit goes to the article.

Step 1: Signup for a free account in mailgun.com

Step 2: Log into your account in Mailgun and add a domain from the top menubar. Once your domain is added, you will see that mailgun gives you a few MX records and TXT records to be added for your domain, for both successful email forwarding and verification of the domain.

Step 3: Now go to your domain's DNS panel and add those MX records and TXT records provided by Mailgun.

Step 4: This is the final step. Log into your Mailgun account and go to Routes section from the top menu. Now add as many routes as you want. For example, if your domain is example.com and you want all the mails sent to [email protected] to be forwarded to [email protected] then create a route like this screenshot and you are done:

enter image description here

  • This works. Thanks for the answer and thank you mailgun! I have setup a catch all for my email address so any email send to my domain is routed to my personal email account Commented Jun 7, 2016 at 0:08
  • I followed your advice (which someone also wrote here chrisanthropic.com/blog/2014/…), and I've completed all the steps in my CloudFlare account, and when I press the Check DNS Records Now button on Mailgun.com, everything passes (gets a green check box) except the "Add DNS Records For Receiving (Optional)" section, where the 2 MX records have an orange warning icon that says "We couldn't find this record when we checked your DNS records. This is only required if you want to use our inbound routes feature." Should this immediately work?
    – Ryan
    Commented Jun 9, 2016 at 0:20
  • 2
    Note that this is no longer free - see also the discussion here: news.ycombinator.com/item?id=22197445
    – AndyO
    Commented Feb 4, 2020 at 12:50
  • @AndyO Thanks for the discussion and indeed MailGun is charging quite a bit for receiving emails (as of today they will charge $35 per month). I have been using MailGun for the past two years and it is rather sad that I have to look for an alternative now.
    – alfred
    Commented Feb 4, 2020 at 14:39
  • @alfred Good luck. After looking at the alternatives, I've decided to simply use my gmail address for business purposes. May not look as professional but at least it's reliable and there is no false positive spam bouncing.
    – AndyO
    Commented Feb 5, 2020 at 11:51
  1. Register a free account at mailgun.org
  2. add a mailgun MX record to your Cloudflare DNS
  3. set up a forwarding rule at mailgun
  4. Enjoy.
  • Yup. This is exactly what I did. Commented Jun 2, 2015 at 22:10
  • In case I own a Linux based public cloud server, is in the same possible using Postfix? I mean, to point MX records to my server, which in turn forwards to another email address.
    – W.M.
    Commented Jan 4, 2017 at 12:24
  • Unfortunately, Mailgun no longer offers free "receiving" email (June 2020). You can get a free-ish flexible account for sending up to 5K messages, but receiving is out. Really unfortunate for those of us who have several domains we want to receive very few emails to... Commented Jun 20, 2020 at 20:10

You can just use https://forwardemail.net. I made it completely open-source, free, encrypted, and private. There's a section on "How it works" on the website, along with a FAQ and list of features. You can even "Send Mail As" using Gmail.

  • 1
    Works as a charm. Thank you sir!
    – Michael_S_
    Commented Mar 27, 2020 at 15:13
  • You're welcome @Michael_S_
    – user84805
    Commented Apr 19, 2020 at 5:05
  • Moved domain from Godaddy to Namecheap and found out the problem. Thanks to forwardemail.net, it is fixed now.
    – Keyul
    Commented Jul 30, 2021 at 5:08

You can also sign up with Zoho Mail, which is free. It's a full mail service provider like Google Apps and includes a mail forwarding service as well.

However, if all you need is forwarding, I find its a bit delayed. You'll also want to disable their aggressive spam filter, which prevents some mail from being forwarded. Mailgun is a better option for just forwarding.


Not the answer you're looking for? Browse other questions tagged or ask your own question.