On 14.04.25 14:19, Håkon Alstadheim via Postfix-users wrote:
2025-04-14T13:04:17.516132+02:00 garbo
postfix-external-submit/smtp[21040]: connect to
localhost[148.252.106.155]:10029: Connection refused
2025-04-14T13:04:17.522798+02:00 garbo
postfix-external-submit/smtp[21040]: 6069A4848F08:
to=<ha...@alstadheim.priv.no>, orig_to=<famil...@alstadheim.priv.no>,
relay=none, delay=0.13, delays=0.1/0.01/0.02/0, dsn=4.4.1,
status=deferred (connect to localhost[148.252.106.155]:10029:
Connection refused)
148.252.106.155 is the outside interface on my router. I have NO idea
how that address got picked up. postfix-external-submig had:
mailbox_transport = smtp:[localhost]:10029
When I changed it to:
mailbox_transport = smtp:[127.0.0.1]:10029
The mail went through. Still, I'm concerned how [localhost] got
translated to the outside interface. If I do "dig alstadheim.priv.no"
on my mailserver, I get that wrong address, from the global
DNS-system, but that should have no bearing on looking up "localhost"
however, and this is THE SOLUTION:
i had this in /etc/hosts:
127.0.0.1 localhost
Changed to
127.0.0.1 localhost localhost.alstadheim.priv.no
Problem fixed, I believe.
So, evidently localhost gets looked up as localhost.alstadheim.priv.no
when connecting to the mailbox transport.
% host localhost.alstadheim.priv.no
localhost.alstadheim.priv.no has address 148.252.106.155
% host \*.alstadheim.priv.no
*.alstadheim.priv.no has address 148.252.106.155
perhaps your DNS server does not resolve "localhost" so postfix appended
$mydomain?
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Micro$oft random number generator: 0, 0, 0, 4.33e+67, 0, 0, 0...
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org