Exchange

From WikiWiki
Jump to navigation Jump to search


Exchange Powershell

Queue behavior

 Take a look at
 http://technet.microsoft.com/en-us/library/bb232161.aspx
 to see, what actions will cause re-routing.
 Configuration changes with re-routing:
 The connector is deleted. The queue is resubmitted.
 The connector is disabled. The queue is resubmitted.
 The connector is modified to remove the local server from the source server list. The queue is resubmitted.
 The connector is changed to a DNS connector. The queue is resubmitted.
 The smart host list for the connector is modified. The updated smart hosts list is automatically detected and used during the message delivery phase.
 Any DNS MX resolution failure occurs. The queue is retried until messages expire.
 The connector is disabled. The queue is resubmitted.
 The SMTP server is offline or the destination isn't running an SMTP server. The queue is retried until messages expire. 
 Regards,
 Chris


Disable Internal IPs

Get-SendConnector "EdgeSync - Datacenter1 to Internet" | Remove-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights ms-Exch-Send-Headers-Routing

http://practical365.com/exchange-server/remove-internal-exchange-server-names-ip-addresses-message-headers/


send an email over telnet (smtp on TCP/25)

HELO domain
MAIL FROM: blabla@domain.com
RCPT TO: blabla@domain.com
DATA
blabla
.