O.k. i tested with a alarm and the same (i removed IP and domain infos):
Received: from srv04 by srv04 with Microsoft SMTP Server id 15.2.659.4 via Mailbox Transport; Sat, 22 Aug 2020 16:51:45 +0200
Received: from srv04.raudonis.local by srv04.raudonis.local with Microsoft SMTP Server id 15.2.659.4; Sat, 22 Aug 2020 16:51:44 +0200
Received: from smtp by srv04 with Microsoft SMTP Server via Frontend Transport; Sat, 22 Aug 2020 16:51:44 +0200
Received: from smtp by IMSVA (Postfix) with ESMTP id C979111C073 for <stefan>; Sat, 22 Aug 2020 16:51:44 +0200 (CEST)
Received: from smtp by IMSVA (Postfix) with ESMTP id B959C11C070 for <stefan>; Sat, 22 Aug 2020 16:51:44 +0200 (CEST)
Received: from srv10 by smtp (Postfix) with ESMTPS for <stefan>; Sat, 22 Aug 2020 16:51:44 +0200 (CEST)
Received: from srv10 by srv10 (8.15.2/8.15.2) with ESMTPS id 07MEpi7D026637 for <stefan>; Sat, 22 Aug 2020 16:51:44 +0200
Received: (from root@localhost) by srv10 (8.15.2/8.15.2/Submit) id 07MEpiwi026635; Sat, 22 Aug 2020 16:51:44 +0200
srv10 is my VCSA, smtp is the external mail gateway and srv04 is the internal exchange server.
In the global vCenter config i used mail and mail is a alias for srv04. When i ping on the VCSA for mail i got a answer from srv04.
The command you wrote shows nothing.
So i made a little bit more research, searched for "smtp" in the logs an found something in the /var/log/vmware/dnsmasq.log file:
Aug 22 16:51:33 dnsmasq[1272]: query[MX] mydomain.de from 127.0.0.1
Aug 22 16:51:33 dnsmasq[1272]: forwarded mydomain.de to 192.168.99.11
Aug 22 16:51:33 dnsmasq[1272]: query[A] smtp.mydomain.de from 127.0.0.1
Aug 22 16:51:33 dnsmasq[1272]: forwarded smtp.mydomain.de to 192.168.99.11
Aug 22 16:51:33 dnsmasq[1272]: reply smtp.mydomain.de is 1xx.1xx.2xx.81
The VCSA is doing a MX query! the .99.11 is my internal configured DNS server...
So why is the VCSA ignoring the configured SMTP server? Is this a bug in the VCSA 7.0?
When i query that setting in PowerCLI i get:
PS U:\> Get-AdvancedSetting -Entity srv10.mydomain.local -Name mail.smtp.server
Name Value Type Description
---- ----- ---- -----------
mail.smtp.server mail.mydomain.local VIServer SMTP server