Noah
February 15, 2025, 11:33am
1
I have a fresh install of Hestia right out of the box on Ubuntu 24.04 with Hostinger and all incoming mail is being frozen and not delivered… at first it was due to the infamous spamhaus problem but I have removed all DNSBL checks and now everything in the logs just says “relay not allowed” every time I try…
any ideas? My outgoing mail works just fine.
sahsanu
February 15, 2025, 12:20pm
2
How are you testing it? From an external account from another mail provider and sending to one email account hosted in your server? We need the relevant entries from /var/log/exim4/mainlog
Noah
February 15, 2025, 12:36pm
3
I deleted some of it while testing but heres my most recent.
Most recent error seems to be the “lowest mx record”
mainlog: 2025-02-15 07:41:12 1tj87E-000000013T1-30wx <= bounces+11303928-e16e-facebook=pa - Pastebin.com
rejectlog: 2025-02-15 07:14:25 H=keeper-us-east-1d.mxtoolbox.com [18.209.86.113] sender ver - Pastebin.com
I have tried at least 3 different external accounts, one from gmail, one from protonmail, and one from a disposable email service. As well as an “email deliverability” test from mxtoolbox
sahsanu
February 15, 2025, 2:00pm
4
From your server, show the output of:
dig mx potionsandsnitches.org
Take the host from the output of above command and:
dig host_from_previous_command
Noah
February 15, 2025, 3:13pm
5
dig mx (domain) returns mail.(domain)
dig mail.(domain) returns my server IP
Sorry i keep getting restriction errors about posting links/images because I am a new user.
sahsanu
February 15, 2025, 3:29pm
6
Instead of links and screenshotd, copy and paste the outputs, once pasted, select the output and click on button </>
Show the output of these commands:
getent ahosts potionsandsnitches.org
getent ahosts mail.potionsandsnitches.org
dpkg -l | grep -E '^ii\s*exim4'
grep -Ev '^$|^#' /etc/exim4/update-exim4.conf.conf
grep 'local_domains =' /etc/exim4/exim4.conf.template
ls -l /etc/exim4/domains/
1 Like
Noah
February 15, 2025, 7:48pm
7
root@server:~# getent ahosts potionsandsnitches.org
getent ahosts mail.potionsandsnitches.org
dpkg -l | grep -E '^ii\s*exim4'
grep -Ev '^$|^#' /etc/exim4/update-exim4.conf.conf
grep 'local_domains =' /etc/exim4/exim4.conf.template
ls -l /etc/exim4/domains/
89.116.170.236 STREAM potionsandsnitches.org
89.116.170.236 DGRAM
89.116.170.236 RAW
89.116.170.236 STREAM mail.potionsandsnitches.org
89.116.170.236 DGRAM
89.116.170.236 RAW
ii exim4 4.97-4ubuntu4.2 all metapackage to ease Exim MTA (v4) installation
ii exim4-base 4.97-4ubuntu4.2 amd64 support files for all Exim MTA (v4) packages
ii exim4-config 4.97-4ubuntu4.2 all configuration for the Exim MTA (v4)
ii exim4-daemon-heavy 4.97-4ubuntu4.2 amd64 Exim MTA (v4) daemon with extended features, including exiscan-acl
dc_eximconfig_configtype='local'
dc_other_hostnames='server.hostbeacon.com'
dc_local_interfaces='127.0.0.1 ; ::1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
domainlist local_domains = dsearch;/etc/exim4/domains/
total 0
lrwxrwxrwx 1 root root 41 Feb 13 14:38 hostbeacon.com -> /home/hostbeacon/conf/mail/hostbeacon.com
lrwxrwxrwx 1 root root 51 Feb 14 09:48 parkerfamilydev.com -> /home/parkerfamilydev/conf/mail/parkerfamilydev.com
lrwxrwxrwx 1 root root 57 Feb 13 14:36 potionsandsnitches.org -> /home/potionsandsnitches/conf/mail/potionsandsnitches.org
root@server:~#
Noah
February 16, 2025, 1:57pm
8
Anyone? Im sorry but this is stopping me from using my server which is already in a production status… I REALLY need this to get fixed.
pwd
February 16, 2025, 2:31pm
9
“lowest numbered MX record points to local host”
“all relevant MX records point to non-existent hosts”
Check the MX records in the DNS.
Noah
February 16, 2025, 3:21pm
10
Ive already established the DNS is all correct… I can not find any logical reason for this it is happening to every domain on my server email just does not work period
sahsanu
February 16, 2025, 5:39pm
11
All looks fine, I see no obvious problem.
Execute this command to simulate a delivery to your user (it’s just a simulation, no mail will be sent):
exim4 -d -bt -f "bounces+11303928-e16e-facebook=parkerfamilymail.com@em1229.hexnodemdm.com" [email protected]
Additionally, show the contents of /etc/hosts
and the ips of your host
grep -Ev '^$|^#' /etc/hosts
ip a
v-list-sys-ips json
Noah
February 16, 2025, 6:31pm
12
Once again Discourse will not ALLOW me to post the results of all that citing a restriction on new users posting more than two “links” even though I have not attempted to post ANY.
As a result I have had to post the entire output of everything you asked for to HestiaCP Results - Pastes.io
Noah
February 16, 2025, 7:26pm
13
Im not sure which part fixed it but I did a couple of things… end result is IT WORKS NOW! Thank you guys for all of your help.
sahsanu
February 16, 2025, 8:10pm
14
Could you please share those things?
Noah
February 16, 2025, 8:29pm
15
Honestly I did several, the main two things though were resetting the exim configuration file back to the default provided by your installer and adding a record for my hostname with my public IP to /etc/hosts
1 Like
linkp
February 16, 2025, 10:58pm
16
Be sure to use </> Preformatted text
to prevent automatic linking.
pwd
March 4, 2025, 3:45pm
17
Could it be that the DNS delegation was a little late and that caused the problem?