Take a Zimbra backup or VM snapshot before doing any changes

Enter the following command to change SMTP Banner:

su – zimbra

zmlocalconfig -e postfix_smtpd_banner=”yourmailserver.yourdomain.com”

Then if you want to change HELO/EHLO names, enter:

zmprov mcf zimbraMtaMyHostname yourmailserver.yourdomain.com

If you want to disable adding X-originating (Client’s internal-LAN IP) to email headers:

zmprov mcf zimbraSmtpSendAddOriginatingIP FALSE

Then restart Zimbra Services:

zmcontrol restart