Exchange 2010 Config

最後更新: 2024-09-06

目錄

  • Start Exchange Script

Set Postmaster Address

 

By default, the value of the external postmaster address setting is blank.

This default value sets the external postmaster address to the value

postmaster@<Default accepted domain> for your organization.

There's no mailbox associated with the postmaster@<Default accepted domain> email address.

Set

Set-TransportConfig  –ExternalPostmasterAddress [email protected]

Checking

Get-TransportConfig | Format-List ExternalPostmasterAddress

 


SendConnector

 

scoped send connector

When you mark a send connector as scoped, this means it can only be used by Exchange 2007/2010 hub transport or Exchange 2013 mailbox servers in the same Active Directory site as the send connector.

If not selected, the connector can be used by all transport servers in the Exchange environment

send connector Cost

A lower cost value indicates a preferred connector.

If both connectors have the same cost and proximity
 then it will select the connector that comes first alphabetically.

IgnoreSTARTTLS

 

Set-SendConnector "NoTLS" -IgnoreSTARTTLS $true

whether to ignore the StartTLS option offered by a remote sending server.

Get-SendConnector -Identity "NoTLS" | fl

TLS 的 Log

TIME,Default Sender Connector,ID,2,LOCAL_IP:32630,REMOTE_IP:25,<,220 mail.recipient.domain ESMTP Postfix,
TIME,Default Sender Connector,ID,3,LOCAL_IP:32630,REMOTE_IP:25,>,EHLO mail.sender.domain,
...
TIME,Default Sender Connector,ID,4,LOCAL_IP:32630,REMOTE_IP:25,<,250-mail.recipient.domain,
TIME,Default Sender Connector,ID,8,LOCAL_IP:32630,REMOTE_IP:25,<,250-STARTTLS,
...
TIME,Default Sender Connector,ID,13,LOCAL_IP:32630,REMOTE_IP:25,>,STARTTLS,
TIME,Default Sender Connector,ID,14,LOCAL_IP:32630,REMOTE_IP:25,<,220 2.0.0 Ready to start TLS,
...
TIME,Default Sender Connector,ID,15,LOCAL_IP:32630,REMOTE_IP:25,*,,Sending certificate
TIME,Default Sender Connector,ID,16,LOCAL_IP:32630,REMOTE_IP:25,*,CN=*.sender.domain,Certificate subject
TIME,Default Sender Connector,ID,17,LOCAL_IP:32630,REMOTE_IP:25,*,"CN=Sectigo RSA Domain Validation Secure Server CA, O=Sectigo Limited, ...
TIME,Default Sender Connector,ID,18,LOCAL_IP:32630,REMOTE_IP:25,*,3F349BC877A92D7E3019616D5D4D1F9E,Certificate serial number
TIME,Default Sender Connector,ID,19,LOCAL_IP:32630,REMOTE_IP:25,*,9B9C3D3CB95E0B28D5B0A24E01C207CE4CDFC955,Certificate thumbprint
TIME,Default Sender Connector,ID,20,LOCAL_IP:32630,REMOTE_IP:25,*,*.sender.domain;sender.domain,Certificate alternate names

TIME,Default Sender Connector,ID,21,LOCAL_IP:32630,REMOTE_IP:25,*,,Received certificate
TIME,Default Sender Connector,ID,22,LOCAL_IP:32630,REMOTE_IP:25,*,F982D6962E42F9086416F1920BD18005AA42BE3C,Certificate thumbprint

TIME,Default Sender Connector,ID,23,LOCAL_IP:32630,REMOTE_IP:25,>,EHLO mail.sender.domain,
TIME,Default Sender Connector,ID,24,LOCAL_IP:32630,REMOTE_IP:25,<,250-mail.recipient.domain,
TIME,Default Sender Connector,ID,24,LOCAL_IP:32630,REMOTE_IP:25,<,250-...,      # No "250-STARTTLS"

 * Local 並非用 25/tcp outgoing

 * 用 EHLO 去查 Server 是否支援 STARTTLS

 * 交換 Cert. "Sending certificate" 及 "Received certificate"

 * 第2次的 EHLO 就沒有 STARTTLS

 


Start Exchange Script

 

start_exchange.bat

net start MSExchangeADTopology
net start MSExchangeIS
REM --------
net start MSExchangeAB
net start MSExchangeAntispamUpdate
net start MSExchangeEdgeSync
net start MSExchangeFDS
net start MSExchangeFBA
net start MSExchangeImap4
net start MSExchangeMailSubmission
net start MSExchangeMailboxAssistants
net start MSExchangeMailboxReplication
net start MSExchangeMonitoring
net start MSExchangePop3
net start MSExchangeProtectedServiceHost
net start MSExchangeRepl
net start MSExchangeRPC
net start MSExchangeSearch
net start wsbexchange
net start MSExchangeServiceHost
net start MSExchangeSA
net start MSExchangeThrottling
net start MSExchangeTransport
net start MSExchangeTransportLogSearch
REM --------
net start W3SVC