Exchange Server

Vynucené generování address listů

Get-AddressList | update-AddressList
Get-GlobalAddressList | Update-GlobalAddressList
Get-OfflineAddressbook | Update-OfflineAddressbook

Mazání názvu události

Get-Mailbox -RecipientTypeDetails RoomMailbox -OrganizationalUnit "OU=CZ,OU=APSHOlding,DC=aps-holding,dc=com" | foreach { Set-CalendarProcessing -Identity $_.Alias -AddOrganizerToSubject $false -DeleteSubject $false -DeleteComments $false }

Autodiscover

It has to be published to the root domain; company.com. Publishing it to www.company.com will not work. Most website hosting company’s treat requests for with or without the www part in the same way so this usually isn’t a problem.

http://company.com/autodiscover/autodiscover.xml

It does not matter whether it is published on a http or https website. As long as the root domain matches your email domain, Outlook will query the URL.

redirect xml:

<?xml version="1.0" encoding="utf-8" ?>
<Autodiscover xmlns="http://schemas.microsoft.com/exchange/autodiscover/responseschema/2006">
  <Response xmlns="http://schemas.microsoft.com/exchange/autodiscover/outlook/responseschema/2006a">
    <Account>
      <AccountType>email</AccountType>
      <Action>redirectUrl</Action>
      <RedirectUrl>https://mail.company.com/autodiscover/autodiscover.xml</RedirectUrl>
    </Account>
  </Response>
</Autodiscover>

Zdroj:

Společné pro verze

Configure a Relay Connector in Exchange Server 2013

důležité pro příjem od všech uživatelů je:

Get-ReceiveConnector "Receive Connector Name" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"

Přesun logů

2013

Get-TransportService | foreach {
  Set-TransportService $_.Identity -MessageTrackingLogPath "D:\Exchange\Logs\TransportRoles\MessageTracking"
  Set-TransportService $_.Identity -ConnectivityLogPath "D:\Exchange\Logs\TransportRoles\Hub\Connectivity"
  Set-TransportService $_.Identity -IrmLogPath "D:\Exchange\Logs\IRMLogs"
  Set-TransportService $_.Identity -ActiveUserStatisticsLogPath "D:\Exchange\Logs\TransportRoles\Hub\ActiveUserStats"
  Set-TransportService $_.Identity -ServerStatisticsLogPath "D:\Exchange\Logs\TransportRoles\Hub\ServerStats"
  Set-TransportService $_.Identity -ReceiveProtocolLogPath "D:\Exchange\Logs\TransportRoles\Hub\ProtocolLog\SmtpReceive"
  Set-TransportService $_.Identity -RoutingTableLogPath "D:\Exchange\Logs\TransportRoles\Hub\Routing"
  Set-TransportService $_.Identity -SendProtocolLogPath "D:\Exchange\Logs\TransportRoles\Hub\ProtocolLog\SmtpSend"
  Set-TransportService $_.Identity -QueueLogPath "D:\Exchange\Logs\TransportRoles\Hub\QueueViewer"
  Set-TransportService $_.Identity -WlmLogPath "D:\Exchange\Logs\TransportRoles\Hub\WLM"
  Set-TransportService $_.Identity -AgentLogPath "D:\Exchange\Logs\TransportRoles\Hub\AgentLog"
}

ověřit, že to zafungovalo:

Get-TransportService |  select *logpath

Nastavení SPF

Zjistit jaký je stav SPF

Get-SenderIDConfig | Format-List Enabled

Vypnout SPF kontrolu na příchozí poštu

Set-SenderIDConfig -Enabled $false

POP3

Logování POP3/IMAP

Set-ImapSettings -Server "CAS01" -ProtocolLogEnabled $true
Set-PopSettings -Server "CAS01" -ProtocolLogEnabled $true

kam se loguje?

Get-PopSettings | format-list
Get-ImapSettings | format-list

a zajímá nás LogFileLocation

(http://technet.microsoft.com/en-us/library/aa997690.aspx)

windows/exchange.txt · Poslední úprava: 07.03.2017 17:25 autor: vm

Nástroje pro stránku