Use your Namecheap domain with Ayamail

Bought your domain at Namecheap? You can keep it there and still receive mail in Ayamail. The work happens on one tab, Advanced DNS, and the one choice that matters is in a drop-down called Mail Settings.

Written by Ayamail editorial team · Updated 30 October 2026

Short answer

Short answer: in Namecheap open Domain List, click Manage next to your domain and go to Advanced DNS. Under Mail Settings pick Custom MX and enter mx1.ayamail.net with priority 10. Then add the TXT records Ayamail shows you under Host Records and click Save all changes.

Check this first: which DNS does your domain use?

Namecheap only uses the records on the Advanced DNS tab when the domain runs on Namecheap BasicDNS, PremiumDNS or FreeDNS. You can see this on the Domain tab under Nameservers. If it says Custom DNS and lists nameservers from Cloudflare, a web host or another company, the records you type at Namecheap are ignored. In that case add the Ayamail records wherever those nameservers are managed, and leave Namecheap alone.

Also open Host Records and look for a CNAME record on the bare domain (host @). Namecheap warns that a CNAME on @ wins over every other record for that name, MX included. Many website builders ask you to create exactly that. Replace it with the A record or URL redirect your web host recommends before you go on, or mail will not arrive.

Step by step at Namecheap

  1. Add the domain in Ayamail

    Sign in to Ayamail, open Domains and add your domain. Ayamail creates the list of records for it, including a personal ownership code. Keep that page open in another tab.

  2. Open Advanced DNS

    Sign in at Namecheap, choose Domain List in the left sidebar and click Manage next to the domain. Switch to the Advanced DNS tab at the top.

  3. Switch Mail Settings to Custom MX

    Scroll down to Mail Settings. The drop-down may say No Email Service, Email Forwarding, MXE record, Private Email or Gmail. Choose Custom MX. Namecheap then removes the MX records it managed for the old choice and shows empty MX rows.

  4. Enter the Ayamail mail server

    In the MX row, set Host to @, Value to mx1.ayamail.net and Priority to 10. Delete any other MX rows, for example ones pointing to Namecheap's forwarding servers or to an old provider.

  5. Add the TXT records under Host Records

    Click Add New Record, pick TXT Record and fill in Host and Value. Use @ for the SPF record, _ayamail for the ownership code, _dmarc for DMARC and dkim._domainkey for the DKIM key. Type only the part before your domain name; Namecheap adds the rest.

  6. Save and verify

    Click Save all changes. Namecheap says new records normally work after about 30 minutes. Go back to Domains in Ayamail and run the check. Each record turns green when it is found.

The records Ayamail asks for

Your own domain gets its own ownership code and DKIM key, so copy those two values from the Domains page in Ayamail. The rest is the same for everyone.

Your own domain (MX record)
SettingValue
Mail server (MX)mx1.ayamail.net
Priority10
SettingValue
TXT on @ (SPF)v=spf1 mx a:mx1.ayamail.net ~all
TXT on _ayamail (ownership)ayamail-verify=… from your Domains page
TXT on _dmarcv=DMARC1; p=quarantine; … full value in Ayamail
TXT on dkim._domainkeyv=DKIM1; k=rsa; p=… from Ayamail
CNAME autoconfig, autodiscover, mail (optional)mx1.ayamail.net

If an SPF record already exists on @, edit it instead of adding a second one. A domain may only have one.

Email Forwarding, Private Email and Custom MX: what you give up

Namecheap's free Email Forwarding works by pointing your MX records at Namecheap's own servers, which then pass mail on. Choosing Custom MX switches that off for the whole domain. If you used forwarding addresses such as hello@ or shop@, recreate them as aliases in Ayamail before you switch, so nothing bounces in between.

Private Email is Namecheap's paid mailbox service. If you have it, copy the old mail across first. In Ayamail you can import from another IMAP account, so the messages end up in your new inbox. Cancel Private Email only when the import has finished and new mail is arriving at Ayamail.

The Gmail option in the same menu sets Google's MX records. If you leave Google Workspace for Ayamail, Custom MX replaces those too, and Google stops receiving mail for the domain.

If it does not work

Ayamail cannot find any of the records

What to do: Check the Nameservers setting on the Domain tab. If it is not Namecheap BasicDNS (or PremiumDNS/FreeDNS), Namecheap is not answering for your domain and the records must be added at the DNS host instead.

The MX record is found, but mail still lands at the old place

What to do: Look for leftover MX rows from Email Forwarding or Private Email and delete them. With two sets, other servers may pick the old one.

The ownership or DKIM check fails

What to do: Open the record in Host Records and check the Host field. It should say _ayamail or dkim._domainkey on its own, not followed by your domain name.

Mail stopped after you set up a website

What to do: A website builder may have added a CNAME on @. Replace it with the A records your web host gives you; the MX record can then work again.

Questions and answers

Do I have to move my domain away from Namecheap?
No. The domain stays registered at Namecheap. You only change where its mail goes. If you later want Ayamail to manage the domain as well, a transfer is possible on a paid plan.
Can I keep Namecheap's Email Forwarding for some addresses?
Not at the same time. Forwarding depends on Namecheap's MX records, and Custom MX replaces them. Create the same addresses as aliases in Ayamail instead.
How long until mail arrives in Ayamail?
Namecheap says new records normally take effect in about 30 minutes. Servers that remembered the old MX record may need a few hours more.
Which priority should the MX record have?
Use the priority shown in the table above. With only one MX record the number matters little, but it must be the only MX record for the domain.
  • 123 Reg

    Move the mail for a .co.uk or .uk domain at 123 Reg to Ayamail: where the DNS screen is, the full stop MX values need and which old records to delete.

  • Gandi

    Connect a Gandi domain to Ayamail: swap the default Gandi Mail MX pair on the DNS Records tab, add the TXT records and bring your old mail with you.

  • Domain with email

    Search, buy or transfer a domain in Ayamail and get working mail on it without touching DNS. Mail records are set up for you, and you can leave any time.

  • Email aliases

    Create extra addresses that land in one inbox, reply from any alias and switch one off when spam starts. Works on ayamail.net and your own domain.