|
Re:[讨论]如何更改Exchange服务器在110和25端口上使用telnet时返回的消息?
1。修改pop3和IMAP的方法<br>
To change the POP or IMAP banner (and the disconnecting banner): <br>
Apply the feature that this article describes. <br>
Stop the service for which you want to change the setting (either Microsoft Exchange POP3 or Microsoft Exchange IMAP4). <br>
Use syntax that is similar to the following syntax to set the property keys in the metabase; for example, to set the IMAP4 connection string, run the following command from a command prompt (where <the_new_connection_string> is the string that you want to include in the banner): <br>
smtpmd SET -path imap4svc/1 -dtype STRING -prop 49884 -value "<the_new_connection_string>"<br>
<br>
The following values are the other values for the metabase keys: <br>
POP3ConnectionString - 41661 <br>
POP3DisconnectionString - 41662 <br>
IMAP4ConnectionString - 49884 <br>
IMAP4DisconnectionString - 49885<br>
Restart the service.<br>
NOTE: This modification affects all of the virtual servers of the server; this is not a setting that can be modified differently for each virtual server.<br>
<br>
2。修改smtp的方法<br>
Using a metabase editing tool such as MetaEdit, locate the following file:<br>
Lm\Smtpsvc\virtual server number<br>
<br>
Click Edit, click New, and then click String.<br>
Verify that the entry in the ID box is Other, and then type 36907 (decimal) on the right side of the ID box.<br>
In the Data box, type the banner that you want to be displayed.<br>
Stop, and then restart the SMTP virtual server or the SMTP service.<br>
To confirm that the banner has been changed, telnet to port 25 of the virtual server (the default setting). The "ESMTP MAIL Service, Version: 5.0.2195.1600" banner should no longer be displayed.<br>
|
|