I've changed $myhostname to value not listed in hosts file and cleaned $mynetworks. Problem solved. Thank you.
2014-09-04 19:49 GMT+03:00 Wietse Venema <wie...@porcupine.org>: > Konstantin: > > Hello, > > > > I need to configure a second MTA on the same server. > > You can tell that this does not make sense but this is a workaround for > one > > issue i have. > > > > Postfix listen on port 225 and another MTA on port 25. > > postfix has transport_maps enabled > > transport_maps = hash:/etc/postfix/transport > > * smtp:[127.0.0.1]:25 > > > > The problem is after postfix accept message it is bounced with following > > error: > > > > Sep 4 16:15:44 localhost postfix/smtp[19281]: 3hpnDw0zVmz3NyKq: to=< > > u...@domain.com>, relay=none, delay=0.11, delays=0.11/0/0/0, dsn=5.4.6, > > status=bounced (mail for 127.0.0.1 loops back to myself) > > You need to do these two: > > 1a) Remove 127.0.0.1 from the sending MTA's mynetworks. > 1b) Use a different myhostname setting in the sending MTA. > > Or this one: > > 2) Send to a TCP port other than 25. > > Wietse > > -- *This message was delivered using 100% recycled electrons*.