I do not receive emails

Good morning

Yesterday I did an installation for a customer, I moved his main website and moved the emails with imapsync.

Everything seemed to work fine, but…

I can send emails without problem
I can receive emails from the web without problem.
I can receive emails from the same domain without problem.

But I can’t receive emails from external accounts.

Anybody with an idea that can fix this?

Thank you very much in advance

Hi @miguelthepoog,

Check the log to know the reason your server is rejecting the mails (if they are really reaching your mail server).

Replace [email protected] by the email account you are trying to receive the mails from external accounts.

exigrep '=>.*[email protected]' /var/log/exim4/mainlog*

exigrep '=>.[email protected]’ /var/log/exim4/mainlog
2024-07-30 00:54:43 1sYb8U-007JnQ-LT <= [email protected] H=localhost (webmail.deditosbarefoot.com) [127.0.0.1] P=esmtpa A=dovecot_login:[email protected] S=594 [email protected]
2024-07-30 00:54:43 1sYb8U-007JnQ-LT => info [email protected] R=localuser T=local_delivery
2024-07-30 00:54:43 1sYb8U-007JnQ-LT Completed

You didn’t create the MX record for domain deditosbarefoot.com so no other mail servers will know how to send mails to it.

1 Like

I have created this registry from the installation, but I don’t know if it is correct.

MX

0

14400

mail.deditosbarefoot.com.

You must create it on Cloudflare, it is your current DNS server.

Also, port 25 is not open on your server. I don’t know whether it is because of a firewall rule in Hestia or in your hosting provider.

2 Likes

Thank you very much I have solved the Cloudflare mx registration, I have checked the port 25 and it is ok, so I have opened a ticket to the ISP so they tell me if they block the port from their firewall.

1 Like

Muchisimas gracias @sahsanu

The IPS has told us that they will open port 25, so we just have to wait for them to do it (according to them to avoid SPAM).

On the other hand, is it possible to obfuscate port 25 to avoid those SPAM attempts?

Thanks in advance

De nada :wink:

It’s already open.

You can’t obfuscate the port but you can use spamassassin, fail2ban and block lists to fight them :wink:

1 Like

great, again thank you very much

1 Like

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