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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Click below to sign up and get $200 of credit to try our products over 60 days!
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
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.
Can you find any references for the emails that are coming to your server, e.g if you send an email from firstname.lastname@example.org to any of your email accounts can you see any logs for the email coming from email@example.com?
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:
Let me know how it goes.
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:
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: https://www.exim.org/exim-html-current/doc/html/spec_html/ch-log_files.html
Let us know how it goes.