Why isn't the message being sent?

MisterM

Verified User
Joined
Jul 31, 2022
Messages
350
Hello everyone
Here is the log of the message when it should go, but it doesn't.
2024-04-03 09:18:21 remote host address is the local host: gmail.com (while verifying <[email protected]> from host localhost (sdns.domaine.be) [127.0.0.1])
2024-04-03 09:18:21 1rrut3-000000002u6-3x5R <= [email protected] H=localhost (sdns.domaine.be) [127.0.0.1] P=esmtpa A=login:[email protected] S=577 id=[email protected] T="Test" from <[email protected]> for [email protected]
2024-04-03 09:18:22 cwd=/var/spool/exim 3 args: /usr/sbin/exim -Mc 1rrut3-000000002u6-3x5R
2024-04-03 09:18:22 1rrut3-000000002u6-3x5R remote host address is the local host: gmail.com
2024-04-03 09:18:22 1rrut3-000000002u6-3x5R == [email protected] R=smart_route defer (-1): remote host address is the local host
2024-04-03 09:18:22 1rrut3-000000002u6-3x5R Frozen
 
Hello Michel,

Do you have gmail.com in /etc/virtual/domains? /etc/virtual/domainowners?

If not, then we would need to see the smart_route block from Exim config.
 
Hello Michel,

Do you have gmail.com in /etc/virtual/domains? /etc/virtual/domainowners?

If not, then we would need to see the smart_route block from Exim config.
Hello my friend

The part of this smart_route is commented in the exim.conf file, normal?
 
Is it commented only now? Or it was commented before 2024-04-03 09:18:22?

From posted logs I see the "smart_route" is used for sending the email.
 
Is it commented only now? Or it was commented before 2024-04-03 09:18:22?

From posted logs I see the "smart_route" is used for sending the email.
Alex , if we're talking about the exim.conf file that I need to "modify" the "smart_route" part is like this :
# RELATED: http://help.directadmin.com/item.php?id=153
# smart_route:
# driver = manualroute
# domains = ! +local_domains
# ignore_target_hosts = 127.0.0.0/8
# condition = "${perl{check_limits}}"
# route_list = !+local_domains HOSTNAME-or-IP#
# transport = remote_smtp

#COMMENT#49:
#DIRECTORS CONFIGURATION
 
if you have the default configs and the smart_route is disabled (as it is by default), then why would Exm try to use it R=smart_route?

Probably you use Jails? And you have the file /etc/exim.jail.conf ?

I would suggest that you make sure the latest exim and exim.conf are installed then. And even if you do have the latest versions, I would suggest that you reinstall exim and exim_conf. Probably you miss content under /etc/exim.jail/
 
Do you probably reinstall exim and exim.conf and the issue still persists?

Do you have gmail.com in /etc/virtual/domains? /etc/virtual/domainowners?
 
Do you probably reinstall exim and exim.conf and the issue still persists?

Do you have gmail.com in /etc/virtual/domains? /etc/virtual/domainowners?
How do I reinstall Exim?

No, on the second question

Firewall ? blocking port 25, from the outside how do you see it Alex ?

Because even with the telnet command, I can't access.

makes sense?
 
You cant telnet gmail.com? --> you have to Telnet smtp.gmail.com 25
What if you ping gmail.com what message do you get?
 
from the source machine :
ping gmail.com
PING gmail.com(fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005)) 56 data bytes
64 bytes from fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005): icmp_seq=1 ttl=60 time=5.11 ms
64 bytes from fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005): icmp_seq=2 ttl=60 time=5.26 ms
64 bytes from fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005): icmp_seq=3 ttl=60 time=5.25 ms
64 bytes from fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005): icmp_seq=4 ttl=60 time=5.24 ms
64 bytes from fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005): icmp_seq=5 ttl=60 time=4.86 ms
64 bytes from fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005): icmp_seq=6 ttl=60 time=5.25 ms
64 bytes from fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005): icmp_seq=7 ttl=60 time=5.24 ms
64 bytes from fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005): icmp_seq=8 ttl=60 time=5.12 ms
64 bytes from fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005): icmp_seq=9 ttl=60 time=5.25 ms
64 bytes from fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005): icmp_seq=10 ttl=60 time=5.20 ms
64 bytes from fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005): icmp_seq=11 ttl=60 time=5.23 ms
64 bytes from fra16s52-in-x05.1e100.net (2a00:1450:4001:812::2005): icmp_seq=12 ttl=60 time=5.25 ms
 
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
acpid.path | paths.target.wants
acpid.socket | sockets.target.wants
apt-daily.timer | timers.target.wants
apt-daily-upgrade.timer | timers.target.wants
atd.service | multi-user.target.wants
bind9.service | system
blk-availability.service | sysinit.target.wants
console-setup.service | multi-user.target.wants
cron.service | multi-user.target.wants
csf.service | multi-user.target.wants
dbus-org.freedesktop.timesync1.service | system
directadmin.service | multi-user.target.wants
dirmngr.socket | sockets.target.wants
dm-event.socket | sockets.target.wants
dovecot.service | multi-user.target.wants
dpkg-db-backup.timer | timers.target.wants
e2scrub_all.timer | timers.target.wants
e2scrub_reap.service | default.target.wants
exim.service | multi-user.target.wants
fstrim.timer | timers.target.wants
[email protected] | getty.target.wants
gpg-agent-browser.socket | sockets.target.wants
gpg-agent-extra.socket | sockets.target.wants
gpg-agent.socket | sockets.target.wants
gpg-agent-ssh.socket | sockets.target.wants
httpd.service | multi-user.target.wants
keyboard-setup.service | sysinit.target.wants
lfd.service | multi-user.target.wants
logrotate.timer | timers.target.wants
lvm2-lvmpolld.socket | sysinit.target.wants
lvm2-monitor.service | sysinit.target.wants
man-db.timer | timers.target.wants
mdadm-shutdown.service | sysinit.target.wants
mysqld.service | multi-user.target.wants
named.service | multi-user.target.wants
networking.service | multi-user.target.wants
networking.service | network-online.target.wants
php-fpm74.service | multi-user.target.wants
php-fpm81.service | multi-user.target.wants
pure-ftpd.service | multi-user.target.wants
quotarpc.service | multi-user.target.wants
quota.service | sysinit.target.wants
redis-rspamd.service | multi-user.target.wants
remote-fs.target | multi-user.target.wants
rspamd.service | multi-user.target.wants
rsync.service | multi-user.target.wants
rsyslog.service | multi-user.target.wants
spamassassin.service | multi-user.target.wants
spamd.service | system
sshd.service | system
ssh.service | multi-user.target.wants
startips.service | multi-user.target.wants
syslog.service | system
systemd-pstore.service | sysinit.target.wants
systemd-timesyncd.service | sysinit.target.wants
 
Thats the correct ipv6 of gmail

what if you
telnet smtp.gmail.com 25
Trying 2a00:1450:400c:c04::6d...
Connected to smtp.gmail.com.
Escape character is '^]'.
220 smtp.gmail.com ESMTP f11-20020a05600c4e8b00b004154e48bcdesm17645738wmq.14 - gsmtp
 
Gmail expects emails to be delivered to one of the following MX servers:

  • alt1.gmail-smtp-in.l.google.com.
  • gmail-smtp-in.l.google.com.
  • alt4.gmail-smtp-in.l.google.com.
  • alt2.gmail-smtp-in.l.google.com.
  • alt3.gmail-smtp-in.l.google.com.
But why would it matter? If Exim thinks the Gmail is hosted locally...

Code:
remote host address is the local host: gmail.com

What will you see if you type:

Code:
host gmail.com
?

How do I reinstall Exim?

Run as root:

Code:
da build exim && da build exim_conf

or use directadmin interface (evolution skin only).
 
Gmail expects emails to be delivered to one of the following MX servers:

  • alt1.gmail-smtp-in.l.google.com.
  • gmail-smtp-in.l.google.com.
  • alt4.gmail-smtp-in.l.google.com.
  • alt2.gmail-smtp-in.l.google.com.
  • alt3.gmail-smtp-in.l.google.com.
But why would it matter? If Exim thinks the Gmail is hosted locally...

Code:
remote host address is the local host: gmail.com

What will you see if you type:

Code:
host gmail.com
?



Run as root:

Code:
da build exim && da build exim_conf

or use directadmin interface (evolution skin only).
host gmail.com
gmail.com has address 142.250.185.197
gmail.com has IPv6 address 2a00:1450:4001:80f::2005
gmail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 5 gmail-smtp-in.l.google.com.
gmail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com.
 
the problem, I forgot one thing, I went from debian 11 to 12 and I think I forgot to start daemons ....
 
Back
Top