Forskel mellem versioner af "Exchange 2010"
Freesoft (diskussion | bidrag) (→Modifying Permissions for the Address Lists Containers: Dist Grp) |
Freesoft (diskussion | bidrag) m (→Distribution Group: Brugere) |
||
Linje 134: | Linje 134: | ||
Set-DistributionGroup -BypassSecurityGroupManagerCheck -CustomAttribute1 'FirmaEt' -Identity 'MyDomain.local/Hosting/FirmaEt/Groups/FirmaEt-mail' | Set-DistributionGroup -BypassSecurityGroupManagerCheck -CustomAttribute1 'FirmaEt' -Identity 'MyDomain.local/Hosting/FirmaEt/Groups/FirmaEt-mail' | ||
</pre> | </pre> | ||
+ | |||
+ | == Oprette brugere == | ||
== Modifying Permissions for the Address Lists Containers == | == Modifying Permissions for the Address Lists Containers == |
Versionen fra 18. mar 2010, 17:32
Exchange 2010 Install on Server 2008 R2
How to Install Exchange Server 2010 Beta
Installing Exchange Server 2010 (Beta) (Part 1)
Enable Anti-Spam Functionality on a Hub Transport Server
Indholdsfortegnelse
- 1 Anti spam (Hub transport)
- 2 Shared hosting
- 2.1 Ændre dsHeuristics
- 2.2 Oprette grupper i AD
- 2.3 Fjerne adresselister
- 2.4 Ny kunde adresse liste
- 2.5 Ny kunde Global Adresse liste
- 2.6 Ny kunde accepted mail domain
- 2.7 E-mail Address policy
- 2.8 Distribution Group
- 2.9 Oprette brugere
- 2.10 Modifying Permissions for the Address Lists Containers
- 2.11 alternative UPN suffixes
- 2.12 msexchange.org guides
- 3 Tak
- 4 Mere info
Anti spam (Hub transport)
http://johanveldhuis.nl/?page_id=288&lang=en
set-recipientfilterconfig -RecipientValidationEnabled $true set-senderfilterconfig -BlockedSenders @() -BlockedDomains @() -BlockedDomainsAndSubdomains @() -BlankSenderBlockingEnabled $true set-contentfilterconfig -SCLRejectThreshold '5' -SCLDeleteThreshold '7' -SCLDeleteEnabled $true add-IPBlockListProvider -Name 'zen.spamhaus.org' -LookupDomain 'zen.spamhaus.org' -Enabled $true -BitmaskMatch $null -IPAddressesMatch @() -AnyMatch $true -Priority '1' -RejectionResponse '' add-IPBlockListProvider -Name 'dnsbl.sorbs.net' -LookupDomain 'dnsbl.sorbs.net' -Enabled $true -BitmaskMatch $null -IPAddressesMatch @() -AnyMatch $true -Priority '2' -RejectionResponse '' add-IPBlockListProvider -Name 'bl.spamcop.net' -LookupDomain 'bl.spamcop.net' -Enabled $true -BitmaskMatch $null -IPAddressesMatch @() -AnyMatch $true -Priority '3' -RejectionResponse '' add-IPBlockListProvider -Name 'dnsbl-1.uceprotect.net' -LookupDomain 'dnsbl-1.uceprotect.net' -Enabled $true -BitmaskMatch $null -IPAddressesMatch @() -AnyMatch $true -Priority '4' -RejectionResponse ''
Forudsætter Exchange 2010 er installeret på Windows 2008 R2 Server. Der bliver ikke forklaret hvorfor du skal gøre som vist, dette er kun som "vi" sætter det op og ved der virker. Hvis du vil læse lidt mere forklaring så tjek msexchange.org lidt længere nede.
Ændre dsHeuristics
Åben ADSIEdit
->
CN=Configuration
->
CN=Services
->
CN=Windows NT
->
CN=Directory Service.
->
Højre klik på CN=Directory Service vælg Properties.
->
Vælg attribute dsHeuristics
->
Ændret den til 001, hvis der står <not set>, ellers kun ændre det sidste tal til 1.
Klik OK og luk Properties.
PowerShell
Active Directory Module for Windows PowerShell
Oprette grupper i AD
I Active Directory Users and Computers, opret ny OU, "Hosting", under denne oprettes de forskellige kunder der skal køre på Exchangen.
Under Hosting OU laver du igen en OU, "FirmaEt", under denne laves igen 2 OU'er "Groups" og "Users" (Se billede).
Gentag dette for alle de kunder der skal køre på systemet.
PowerShell
New-ADOrganizationalUnit -Name Hosting -Path "DC=MyDomain,DC=local" New-ADOrganizationalUnit -Name FirmaEt -Path "OU=Hosting,DC=MyDomain,DC=local" New-ADOrganizationalUnit -Name Groups -Path "OU=FirmaEt,OU=Hosting,DC=MyDomain,DC=local" New-ADOrganizationalUnit -Name Users -Path "OU=FirmaEt,OU=Hosting,DC=MyDomain,DC=local"
Fjerne adresselister
Exchange Mangement Console -> Organization Configuration -> Mailbox -> Address Lists
Exchange Mangement Shell
remove-addresslist "All Contacts" remove-addresslist "All Groups" remove-addresslist "All Rooms" remove-addresslist "All Users" remove-addresslist "Public Folders"
Ny kunde adresse liste
Exchange Shell
Exchange Management Shell command completed:
new-AddressList -Name 'FirmaEt' -RecipientContainer 'MyDomain.local/Hosting/FirmaEt/Users' -IncludedRecipients 'MailboxUsers' -ConditionalCustomAttribute1 'FirmaEt' -Container '\' -DisplayName 'FirmaEt'
Ny kunde Global Adresse liste
Kan det ikke laves via GUI?
PowerShell
New-GlobalAddressList -Name "FirmaEt GAL" -ConditionalCustomAttribute1 "FirmaEt" -IncludedRecipients AllRecipients
Ny kunde accepted mail domain
Organization Configuration
->
Hub Transport
->
Klik på New accepted domain.
->
Skrive domæne navnet.
->
Vælg Authoritiative domain (den øverste).
->
Klik New.
Exchange Shell
new-AcceptedDomain -Name 'bonaga' -DomainName 'FirmaEt.dk' -DomainType 'Authoritative'
E-mail Address policy
Exchange Shell
new-EmailAddressPolicy -Name 'FirmaEt EAP' -IncludedRecipients 'MailboxUsers' -ConditionalCustomAttribute1 'FirmaEt' -Priority 'Lowest' -EnabledEmailAddressTemplates 'SMTP:%[email protected]'
Distribution Group
new-DistributionGroup -Name 'FirmaEt-mail' -Type 'Security' -OrganizationalUnit 'MyDomain.local/Hosting/FirmaEt/Groups' -SamAccountName 'FirmaEt-mail' -Alias 'FirmaEt-mail' Set-DistributionGroup -BypassSecurityGroupManagerCheck -CustomAttribute1 'FirmaEt' -Identity 'MyDomain.local/Hosting/FirmaEt/Groups/FirmaEt-mail'
Oprette brugere
Modifying Permissions for the Address Lists Containers
Nu skal der ændres nogle ting i AD som Microsoft ikke anbefaler eller supportere. For at gøre det nemt, så læs fra "Modifying Permissions for the Address Lists Containers".
alternative UPN suffixes
msexchange.org guides
Tak
Tak til Martin B.
Mere info
Andre gode links
Exchange 2007: Distribution Group – User Unknown Bounceback
Catch-all for 2010 HUB only setup