My server sends e-mail, but does not receive e-mail

Posted February 25, 2020 2.3k views

My server sends e-mail, but does not receive e-mail, it was working normally until days ago, I use Exim4 with Sendgrid.

I’ve already validated everything, and apparently it’s ok. I saw something about blocking, can someone help me?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
3 answers

Hey, I solved the problem and I’m going to share it here.

It was an MX record that was duplicated and with wrong information, causing the email server to get lost.

I removed the MX and after 20 hours + - started receiving emails again. I thank to help in any way, thank you very much.

Hello, @90lteixeira

If you are not receiving email from any sender to any of the mailboxes hosted on your droplet/server you can start by checking the MX records for your domain/s. This is a starting point in the troubleshooting process and if everything is alright you can continue with your investigation. If you can find some missing/incorrect MX records you need to adjust them and wait for the DNS to propagate, this can take up to 48 hours in order to fully update, however it usually happens a lot faster.

Since you’re using Exim the next step in the troubleshooting process should be to examine the exim main log and see if there are some logged errors. You’ve mentioned that you saw some references for blocked messages or similar so what you can do is to share this information with us so we can check it and see if there is something which is causing this or if it’s something temporary or irrelevant to the main problem.

You can grep for a specific domain name or address/mailbox in the exim log using the following command:

grep "domain/mailbox" /var/log/exim_mainlog

Keep in mind that the location of the exim main log can be different according to your setup. You can also check Exim’s official documentation for:

Let us know how it goes.


  • The MX records are correct.
    I also didn’t find anything in the Exim log, nothing about blocking my IP server? I saw it on some topic here at DigitalOcean, but I don’t have the link.

    I’m not happy, I’m not receiving any email from a client. It started a few days ago, before it worked normally

    • Hello, @90lteixeira

      Could you please confirm if you’re not receiving emails from anyone or it’s just that you’re not receiving the emails from a single sender, e.g your client? If the issue is with receiving the emails from your client the problem can be and will be most likely on their end (the remote server) and will have nothing to do with your droplet or server.


Hello, @90lteixeira

Can you find any references for the emails that are coming to your server, e.g if you send an email from to any of your email accounts can you see any logs for the email coming from

If you’ve sent some test email from any email provider like Gmail, Hotmail or from any custom domain have you received any bounce back emails?

Keep in mind that issues with the mail delivery can happen due to many reasons, stuck/non responsive service, out of disk space and etc. What you can do is to make sure your server is not running out of disk space or inodes and also to restart Exim and see the exim panic log as well. The location of this should be:

/var/log/exim_paniclog or /var/log/exim/paniclog

Let me know how it goes.