Exchange
Exchange 2019 + Receive Connector Certificate Issue
We’ve got an error from the client about WordPress mail sending failure. Debug: Email Source: WP Mail SMTP Mailer: Other SMTP SMTP Error: Could not connect to SMTP host. Connection failed. stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failedSMTP server error: QUIT command failed 2023-12-18 17:20:35 CLIENT -> SERVER: […]
IIS + get configuration
get-website | ForEach-Object -Process { $xSite=”IIS:\sites\”+$_.Name cd $xSite $xSite $myWebApp=get-webApplication $myWebApp | Format-Table -AutoSize Path , @{Label= “anonim:” ; Expression = {(Get-WebConfigurationProperty -Filter /system.webServer/security/authentication/anonymousAuthentication -Name Enabled -PSPath $xSite -location $_.Path).value }}, @{Label= “Basic:”; Expression = {(Get-WebConfigurationProperty -Filter /system.webServer/security/authentication/basicAuthentication -Name Enabled -PSPath $xSite -location $_.Path).value }}, @{Label= “ClientCert:”; Expression = {(Get-WebConfigurationProperty -Filter /system.webServer/security/authentication/clientCertificateMappingAuthentication -Name Enabled -PSPath […]
Exchange 2010 + Re-index DB
Issue: Users can’t find some e-mails with searching The Internet suggest several ways to resolve the issue like: Update-MailboxDatabaseCopy –Identity ‘DB2’ –CatalogOnly or 1. stop the Exchange Search Indexer and Search service 2. go to the location of the mailbox database. 3. there should be a folder called catalog{GUID}. Delete the folder 4. Restart the […]
Exchange 2010 + Powershell + Search and delete specific mail
Task: Find and delete all the e-mail that contains specific attachment. 1. Estimate and debug our query: Get-Mailbox -ResultSize Unlimited | Search-Mailbox -SearchQuery ‘attachment:”My file example*”‘ -TargetMailbox “my.mailbox” -TargetFolder “MyFolder” -Logonly -Loglevel Full | Select DisplayName, ResultItemsCount | where-object {$_.ResultItemsCount -ne “0”} and check the folder for the report or Get-Mailbox -ResultSize Unlimited | Search-Mailbox […]
Fix All Failed Exchange Database Content Indexes
Source:https://practical365.com/exchange-server/fix-all-failed-exchange-database-content-indexes/ One of the issues that my Get-DAGHealth.ps1 script alerts for is failed content indexes on database copies in a database availability group. Note: for failed content indexes on servers that are not DAG members refer to this article instead. Failed content indexes can easily go unnoticed when everything else is working fine however they […]
Exchange + Remove messages from outbound queue
Remove-Message -Filter {Subject -eq “FYI”} -WithNDR $false Remove-Message -Filter {FromAddress -eq “j.smith@mail.com”} -WithNDR $false
Outlook + Disable MAPI/HTTP
Create the following key: HKCU\Software\Microsoft\Exchange Create a new DWORD value named MapiHttpDisabled and set the value to 1
Exchange 2010 + Default Folder Permissions
Exchange 2007 CAS Role VDir Authentication SSL Management done through Default Web Site Anonymous Yes IIS and HTTP Keep Alive should be on /Owa Basic Yes EMC/Powershell /Exchange Basic Yes EMC/Powershell /Public Basic Yes EMC/Powershell /Exchweb Basic Yes EMC/Powershell /Oab Integrated No EMC/Powershell /Autodiscover Basic and Integrated Yes Powershell /Ews Integrated Yes Powershell /UnifiedMessaging Integrated […]