Mail takes a long time to arrive

Hello, good day.
I have the following problem with emails:
The emails that are sent to me take a long time to arrive in the inbox, there are no visible errors.

Is there something that can be done or that needs to be done so that the emails arrive in less time?

Is there any way to test and search or find out why this happens?
Can you help me please.

Greetings from Valparaiso - Chile

Hi @ClaudioSpcSpa,

Are we talking about seconds, minutes, hours…?

First check exim logs, show the output of one of those emails (replace [email protected] by the actual sender or recipient):

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

About half an hour or so.

About half an hour or so
They don’t have Anti-virus and Spam Filter activated. Does that have anything to do with it?

This shows exim, (only the latest records)

2024-09-25 12:51:17 1stUIP-008ldO-2T <= [email protected] H=mx0a-00823401.pphosted.com [148.163.148.104] P=esmtps X=TLS1.2:ECDHE_SECP256R1__RSA_SHA512__AES_128_GCM:128 CV=no S=47210 DKIM=lenovo.com id=1402994004.110463.1727279474900.JavaMail.root@ofp-email-service-5d945f9987-vj685
2024-09-25 12:51:17 1stUIP-008ldO-2T => contacto <[email protected]> R=localuser T=local_delivery
2024-09-25 12:51:17 1stUIP-008ldO-2T Completed

Once the mail arrives to exim it is delivered on the same second 2024-09-25 12:51:17

The first thing you should do is to add the mx record to huellasbarf.cl because right now it doesn’t have one.

Also, it has configured 5 name servers but two of them seems are not the right ones, maybe they used a dash instead of a dot on ns1 and ns2:

huellasbarf.cl.         3600    IN      NS      ns3.linode.com.
huellasbarf.cl.         3600    IN      NS      ns4.linode.com.
huellasbarf.cl.         3600    IN      NS      ns5.linode.com.
huellasbarf.cl.         3600    IN      NS      ns1-linode.com.
huellasbarf.cl.         3600    IN      NS      ns2-linode.com.
couldn't get address for 'ns1-linode.com': not found
couldn't get address for 'ns2-linode.com': not found

Thanks, I’ve already fixed NS1 and NS2 which had a dash instead of a dot.

How do I add the MX? I have to do that in Linode, right?

Yes, on Linode because it is the current dns provider. You must create an MX record pointing to mail.huellasbarf.cl

Have you added that, attached image

Subdomain must not be mail must be your base domain huellasbarf.cl I don’t know how it is represented on Linode but usually it is an @ or just blank.

Sorry:
@mail, mail@ or @mail.huellasbarf.cl

None of them, only @ or blank

This is how it is:
asiesta

It should be like this or blank:
asiquedo

If I put @ comes out:
You have entered an invalid hostname

If I put empty: attached image

In the end it was like this

Great.

Did you try to send a new mail to that domain?

How do I activate Anti-virus and Spam Filter?

Edit the mail domain and select the options

You don’t have any option to activate

That means you didn’t install Hestia with support for spamassassin and clamav.

In another user if they are activated

Show the output of these commands:

curl -sSL https://7j.gg/hcpver | bash -s --
v-list-sys-config json | jq | grep ANTI

Software Version


OS Debian 12.7
Hestia 1.8.12
Hestia-nginx 1.25.2
Hestia-php 8.2.11
FileGator 7.10.1
Nginx 1.27.1
Apache2 2.4.62
PHP8.3 8.3.11
PHP8.2 8.2.23
PHP7.4 7.4.33
PHP7.3 7.3.33
PHP7.2 7.2.34
PHP7.1 7.1.33
PHP7.0 7.0.33
PHP5.6 5.6.40
Awstats 7.8
Exim4 4.96
Dovecot 2.3.19.1
Roundcube 1.6.5
Vsftpd 3.0.3
Bind9 9.18.28
Mariadb 10.11.9
phpMyAdmin 5.2.1
Fail2ban 1.0.2

“ANTIVIRUS_SYSTEM”: “”,
“ANTISPAM_SYSTEM”: “”,

Neither Spamassassin nor Clamav are installed, Hestia also doesn’t show them enabled so that user… I don’t know if you restored a backup or what happened but you can’t activate them because are not installed.