Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Exchange Server 2013 deployment (II) deployment & General configuration commands [1]

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

After the Exchange Server 2013 prerequisites have been met, deploy and configure Exchange Server 2013.

1. Mount the Exchange Server 2013 image and run it. Choose not to check for updates. Next step

two。 Select the next step

3. Choose me to accept the terms, next step

4. Choose not to use the default configuration, next

5. Check mailbox role and customer access role, and next step

6. Select the installation path, next

7. Choose no, next step

8. Select installation

9. Wait for the installation to complete

10. Choose to shut down and restart the computer

11. Run command add, mail and autodiscover records on the AD server

Add-DnsServerResourceRecordA-ZoneName msftlearn.com-Name mail-IPv4Address 192.168.10.200Add-DnsServerResourceRecordA-ZoneName msftlearn.com-Name autodiscover-IPv4Address 192.168.10.200

twelve。 Use the command to create an accepted domain

New-AcceptedDomain-Name msftlearn.com-DomainName msftlearn.com-DomainType Authoritative

13. Make the command create an email address policy

New-EmailAddressPolicy-Name EmailAddress-IncludedRecipients MailboxUsers-EnabledPrimarySMTPAddressTemplate% m@msftlearn.com

14. Apply email address policy

Update-EmailAddressPolicy-Identity EmailAddress

15. Set the organizational transfer size to 30MB, with a maximum of 200recipients

Set-TransportConfig-MaxReceiveSize 30MB-MaxSendSize 30MB-MaxRecipientEnvelopeLimit 200

16. Set the receive size of all receive connectors to 30MB

Set-TransportConfig-MaxReceiveSize 30MB-MaxSendSize 30MB-MaxRecipientEnvelopeLimit 200

17. Remove the anonymous permission from the default receive connector

Get-ReceiveConnector "Default Frontend SRV12-EX1301" | Set-ReceiveConnector-PermissionGroups ExchangeLegacyServers,ExchangeServers

18. Create a new send connector. Send is limited to 30MB.

New-SendConnector-Name "To Internet"-Internet-MaxMessageSize 30MB-AddressSpaces *-SourceTransportServers "Srv12-ex1301.msftlearn.local"

19. Set up Outlook AnyWhere

Get-OutlookAnywhere | Set-OutlookAnywhere-SSLOffloading $true-InternalHostname "mail.msftlearn.com"-ExternalClientsRequireSsl $true-ExternalHostname "mail.msftlearn.com"-InternalClientsRequireSsl $true-InternalClientAuthenticationMethod Basic-ExternalClientAuthenticationMethod Basic

20. Set the pop3 protocol to plain text

Set-PopSettings-Server Srv12-ex1301-LoginType PlainTextLogin

21. Set the pop service to start automatically

Set-Service MSExchangePop3-StartupType AutomaticSet-Service MSExchangePOP3BE-StartupType Automatic

twenty-two。 Start the POP service

Start-Service MSExchangePop3*

23. Set the IMAP protocol to plain text

Set-ImapSettings-Server Srv12-ex1301-LoginType PlainTextLogin

24. Set the IMAP protocol to start automatically

Set-Service MSExchangeImap4-StartupType Automaticset-service MSExchangeIMAP4BE-StartupType Automatic

25. Start the IMAP service

Start-Service MSExchangeImap4*

twenty-six。 Create a new database and set up an offline address book for the database

New-MailboxDatabase-Name DB01-Server Srv12-ex1301-EdbFilePath C:\ DB\ DB01.edb-LogFolderPath C:\ DB-OfflineAddressBook "Default OfflineAddressBook"

twenty-seven。 Mount the database

Mount-Database-Identity DB01

twenty-eight。 Set up virtual directories in batch

Get-OwaVirtualDirectory | Set-OwaVirtualDirectory-InternalUrl https://mail.msftlearn.com/owa-ExternalUrl https://mail.msftlearn.com/owa-LogonFormat UserName-DefaultDomain msftlearn.localGet-EcpVirtualDirectory | Set-EcpVirtualDirectory-InternalUrl https://mail.msftlearn.com/ecp-ExternalUrl https://mail.msftlearn.com/ecpGet-ActiveSyncVirtualDirectory | Set-ActiveSyncVirtualDirectory-InternalUrl https://mail.msftlearn.com/Microsoft-Server-ActiveSync-ExternalUrl https://mail.msftlearn.com/Microsoft-Server-ActiveSyncGet-WebServicesVirtualDirectory | Set-WebServicesVirtualDirectory- InternalUrl https://mail.msftlearn.com/EWS/Exchange.asmx-ExternalUrl https://mail.msftlearn.com/EWS/Exchange.asmxGet-OabVirtualDirectory | Set-OabVirtualDirectory-InternalUrl https://mail.msftlearn.com/oab-ExternalUrl https://mail.msftlearn.com/oabGet-PowerShellVirtualDirectory | Set-PowerShellVirtualDirectory-InternalUrl http://mail.msftlearn.com/powershell-ExternalUrl https://mail.msftlearn.com/powershellGet-ClientAccessServer | Set-ClientAccessServer-AutoDiscoverServiceInternalUri https://mail.msftlearn.local/Autodiscover/Autodiscover.xml

To be continued.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report