首页 > 其他 > 详细

How to change SMTP Banner, HELO,EHLO Greetings for Zimbra

时间:2016-09-14 23:37:05      阅读:730      评论:0      收藏:0      [点我收藏+]

1- Take Zimbra backup or VM snapshot before doing any changes

2- Enter the following command to change SMTP Banner:

# su - zimbra

$ zmlocalconfig -e postfix_smtpd_banner="yourmailserver.yourdomain.com"

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

$ zmprov mcf zimbraMtaMyHostname yourmailserver.yourdomain.com

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

$ zmprov mcf zimbraSmtpSendAddOriginatingIP FALSE

5- Then restart Zimbra Services:

$ zmcontrol restart

 

How to test whether it is working:

1- Telnet to your mail server from Windows cmd or Unix GNU telnet client

telnet yourmailserver.yourdomain.com 25

- It firewall allows you to access, doing telnet to port 25 should get your server to greet you with 220 yourmailserver.yourdomain.com

2- In telnet, type following to get HELO response

> helo yourmailserver

You should get:

250 yourmailserver.yourdomain.com

3- In telnet, type following to get EHLO response

ehlo yourmail

You should get:

250 yourmailserver.yourdomain.com

Rest of EHLO lines according to yoru server config, such as MTA mail size, STARTLS


How to change SMTP Banner, HELO,EHLO Greetings for Zimbra

原文:http://tenderrain.blog.51cto.com/9202912/1852782

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!