On 11.07.18 17:51, Steve Atkins wrote:
I have a VM that's running two services. One of them is a vanilla postfix
smarthost - it accepts mail on port 587 and relays it out to the world.
The other is an unrelated smtp server that listens for inbound email on port
25. They use unrelated domains and hostnames, but are both on the same IP
address.
If I try and send mail via the smarthost to the inbound smtp server the
postfix rejects the attempt with "mail for <the destination domain> loops
back to myself". That's not an unreasonable thing for it to think, but is
there any way to tell postfix that it's just a smarthost, not an MX
listening on port 25, and it shouldn't worry it's little head about mail
loops?
you need to tell the server, where to send mail for the domain.
Apparently, to the port 25 of the same server.
Why do you run two different smtp servers on the same host?
--
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.
You have the right to remain silent. Anything you say will be misquoted,
then used against you.