Please, also check that the banner part of the postfix config. It must be commented to use default settings:
#smtpd_banner = $myhostname ESMTP $mail_name
#smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
Don't forget to restart the postfix service when you make a change in /etc/postfix/
main.cf
After this, verify that you are receiving the banner message of your Wazuh manager in Postfix:
[root@wazuh-man-4 ~]# telnet localhost 25
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 wazuh-man-4.2.1 ESMTP Postfix