Rozdíly

Zde můžete vidět rozdíly mezi vybranou verzí a aktuální verzí dané stránky.

Odkaz na výstup diff

Obě strany předchozí revize Předchozí verze
Následující verze
Předchozí verze
Následující verze Obě strany příští revize
windows:exchange-2010 [05.01.2011 21:56]
wladik RESOLVER.RST.AuthRequired
windows:exchange-2010 [19.02.2011 15:11]
wladik spamassasin
Řádek 1: Řádek 1:
 ====== Exchange 2010 ====== ====== Exchange 2010 ======
 +===== Využití SpamAssassinu =====
 +
 +je třeba vytvořit dvě pravidla pro spam a ham.
 +  - EMC -> Organization Configuration -> Hub Transport -> Transport Rules
 +    * Blacklistovací pravidlo -- pokud je header X-Spam-Status:​ No, dát SCL na -1
 +    * Whitelistovací pravidlo -- pokud je header X-Spam-Status:​ Yes dát SCL na 6 
 +  - poté nainstalovat spam agenty (protože nemáme Edge server)
 +    * ve složce C:\Program Files\Microsoft\Exchange Server\V14\Scripts spustit <​code>​.\install-AntispamAgents.ps1</​code>​
 +  - nastavit globální SCL Treshold level <​code>​set-OrganizationConfig -SCLJunkThreshold 5</​code>​
 +  - nastavit lokální uživatelům <​code>​Get-Mailbox | Set-Mailbox -SCLQuarantineEnabled $true -SCLQuarantineThreshold 5</​code>​
 +  - změnit nastavení zabudovaného Content Filteru ​
 +    * buď ho úplně zakázat pomocí <​code>​Disable-TransportAgent "​Content Filter Agent"</​code>​ (což ale u mě rovnou způsobilo, že se třídění úplně rozbilo -- nutno ještě ověřit na jiné instalaci)
 +    * nebo jen zakázat Delete, Reject a Quarantine akce pomocí <​code>​Set-ContentFilterConfig -SCLDeleteEnabled $false ​ -SCLRejectEnabled $false -SCLQuarantineEnabled $false</​code>​ viz citace dále.
 +
 +
 +ověření nastavení:
 +  get-ContentFilterConfig | Select SCL*
 +
 +pozn: nějaký spamassassin dává X-Spam-Status,​ jiný X-Spam-Flag,​ nutno zkontrolovat.
 +
 +
 +----
 +
 +
 +This example configures John Peoples'​ mailbox to bypass all the anti-spam filters and to have messages that meet or exceed an SCL Junk E-mail folder threshold of 5 delivered to his Junk E-mail folder in Microsoft Outlook.
 +
 +  Set-Mailbox -Identity John -AntispamBypassEnabled $true -SCLJunkEnabled $true -SCLJunkThreshold 5
 +
 +----
 +
 +Zdroje:
 +  * [[http://​exchangepedia.com/​blog/​2008/​01/​assigning-scl-to-messages-scanned-by.html]]
 +  * Thresholds [[http://​exchangepedia.com/​2007/​02/​exchange-2007-content-filter-how-to-move-messages-to-junk-mail-folder.html]]
 +  * Exchange Antispam myths [[http://​msexchangeteam.com/​archive/​2009/​11/​13/​453205.aspx]]
 +  * dokumentace [[http://​technet.microsoft.com/​en-us/​library/​bb123559.aspx]]
 +
 +
 +
 +> Why this doesn'​t work with Delete, Reject or Quarantine thresholds enabled?
 +
 +> The Content Filter Agent fires on the EndOfData SMTP event. On Hub Transport servers, the Transport Rules Agent fires on the OnRoutedMessage event. If the CFA is left enabled, along with any of the above actions, messages may get deleted, rejected or quarantined. The Transport Rules Agent never gets to see deleted and rejected messages at all. 
 +
 +
 +
 +===== Problémy s vyhledáváním v OWE =====
 +pokud v owě nefunguje vyhledávání - nenechází nic, nebo maximálně 1,2 dny staré zprávy, je pravděpodobně porušený index pro vyhledávání. Dá se ručně smazat a vytvoří se znovu sám
 +  - Zastavit službu Microsoft Exchange Search Indexer
 +  - Pro odpovídající Mailbox databázi najít složku CatalogData-<​GUID>​ a tu smazat (přejmenovat)
 +  - Spustit službu zpět
 +
 +pokud je v jedné složce více databází, skriptem (ze složky Scripts v Program Files\Exchange\Scripts) GetSearchIndexForDatabase.ps1 zjistíme dané GUID pro katalogy.
 +
 +Zdroje:
 +  * [[http://​msexchangegeek.com/​2009/​09/​09/​how-to-manually-rebuild-the-full-text-index-catalog/​]]
 +  * [[http://​social.technet.microsoft.com/​Forums/​en/​exchangesvrclients/​thread/​0228958c-a6f5-4a10-a8a1-92f14308ce57]]
 +
 +
 +
 ===== Powershell tipy ===== ===== Powershell tipy =====
  
Řádek 105: Řádek 163:
 ==== Odesílání mailů do Distribution Group z venku ==== ==== Odesílání mailů do Distribution Group z venku ====
   550 5.7.1 RESOLVER.RST.AuthRequired;​ authentication required   550 5.7.1 RESOLVER.RST.AuthRequired;​ authentication required
-  - Click the Distribution Group name as you want to set +  
-  ​Click the "​Properties"​ +  * Click the Distribution Group name as you want to set 
-  ​Click the "Mail Flow Settings"​ Tab +  ​Click the "​Properties"​ 
-  ​Click the "​Message Delivery Restrictions"​ item +  ​Click the "Mail Flow Settings"​ Tab 
-  ​Click the "​Properties..."​ button +  ​Click the "​Message Delivery Restrictions"​ item 
-  ​Uncheck the "​Require that all senders are authenticated"​ item +  ​Click the "​Properties..."​ button 
-  ​Click "​OK"​ button +  ​Uncheck the "​Require that all senders are authenticated"​ item 
-  ​Click "​OK"​ button again+  ​Click "​OK"​ button 
 +  ​Click "​OK"​ button again
  
 ===== Shared Mailbox ===== ===== Shared Mailbox =====
Řádek 145: Řádek 204:
   * [[http://​blogs.technet.com/​technetczsk/​archive/​2010/​04/​14/​exchange-server-2010-serial-nastaveni-antispamovych-funkci-cast-v.aspx]]   * [[http://​blogs.technet.com/​technetczsk/​archive/​2010/​04/​14/​exchange-server-2010-serial-nastaveni-antispamovych-funkci-cast-v.aspx]]
   * [[http://​download.microsoft.cz/​exchange/​kampan/​Doporucena_nastaveni_Exchange_serveru.pdf]]   * [[http://​download.microsoft.cz/​exchange/​kampan/​Doporucena_nastaveni_Exchange_serveru.pdf]]
 +  * spamassassin [[http://​exchangepedia.com/​blog/​2008/​01/​assigning-scl-to-messages-scanned-by.html]]
 ===== Certifikáty ===== ===== Certifikáty =====
 [[http://​www.msexchange.org/​player.asp?​AYGl5HgC]] [[http://​www.msexchange.org/​player.asp?​AYGl5HgC]]
  
windows/exchange-2010.txt · Poslední úprava: 03.09.2012 11:45 autor: wladik