码迷,mamicode.com
首页 > 其他好文 > 详细

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

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

标签:smtp ehlo

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

标签:smtp ehlo

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!