Exchange
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 […]
Exchange + Search mail
get-mailbox -resultsize unlimited | Search-Mailbox -SearchQuery ‘attachment:”Filename”‘ -TargetMailbox UserName -TargetFolder “FolderName” -LogOnly -LogLevel Ful another lookup: Search-Mailbox -Identity “vasya.pupkin” -SearchQuery “to:domainname.com” -TargetMailbox “ivan.ivanov” -TargetFolder “Folderame” -LogLevel Full
Exchnage + Restore Deleted Items between dates
Search-Mailbox -identity ivan.ivanov -SearchDumpsterOnly -SearchQuery “Received:2016-01-01..2016-04-01” -TargetMailbox ForDeletedMail -TargetFolder RestoredDeleted Another example: Search-Mailbox Superman -SearchDumpster -SearchQuery “(Received:1/1/2012..5/18/2016) AND (To:Batman@DC.com OR From:Batman@DC.com OR CC:Batman@DC.com OR BCC:Batman@DC.com OR ‘Batman’ OR ‘Bruce’ OR ‘Wayne’)” –targetmailbox BobTheLawyer -loglevel full -targetfolder “Search_Batman” Keywords for SearchQuery: https://msdn.microsoft.com/library/ee558911%28v=office.15%29.aspx?f=255&MSPPError=-2147217396 Script (I haven’t try it): https://blogs.msdn.microsoft.com/emeamsgdev/2012/04/27/powershell-script-to-recover-all-deleted-items-in-a-mailbox/
Exchange 2010 + Changes in renewing certificates 2016
Copy-pasted from: http://brattex.blogspot.com/2012/09/renew-exchange-2010-certificate.html Renew Exchange 2010 Certificate generates a binary file – conversion to base64 tips When renewing an SSL certificate for Exchange 2010, the process is fairly straightforward and there are plenty of sites to give advice on how to do this. Two sites to consider would be Technet and Go Daddy and the steps are summarised as […]
Exchange + Delete recoverable items from a mailbox
1. Check for the statistics of recoverable items folder: Get-MailboxFolderStatistics -Identity “FirstName LastName” -FolderScope RecoverableItems | Format-List 2) This command will delete items from the Recoverable items folder. Search-Mailbox -Identity “FirstName LastName” -SearchDumpsterOnly -DeleteContent
Exchange 2010 + allow users to manage contacts
Copy-pasted from: http://blogs.technet.com/b/rmilne/archive/2013/08/07/creating-rbac-role-to-delegate-contact-management.aspx Building Blocks We will need to permit: Management of Distribution Groups in Active Directory Creation and management of Mail Enabled Contacts in Active Directory Management toolset to manage the above Management of Distribution Groups Exchange 2010 does not allow a user to manage groups that they own by default. All of the […]
Manage DL from Outlook + fix
Add-ADPermission –identity “YourDistributionGroup” –User “YourUser” –AccessRights WriteProperty –Properties “Member”
Exchange + SPF + DKIM + DMARC
If you want your mail wouldn’t mark as SPAM you should configure: 1. DNS PTR records for your mail servers (usually by request to your provider (hoster)) 2. SPF (TXT record in your DNS) By online wizard from MS: https://www.microsoft.com/mscorp/safety/content/technologies/senderid/wizard/ Check it: http://mxtoolbox.com/spf.aspx 3. DKIM (TXT record in your DNS) Download free DKIM-configurator: https://github.com/Pro/dkim-exchange/releases/tag/v2.1.4 Enter […]
Exchange 2010 + SMTP + TELNET + AUTH + TLS
There are some interesting tricks: The commands to use in telnet with the “AUTH LOGIN” command: perl -MMIME::Base64 -e ‘print encode_base64(“username”);’ perl -MMIME::Base64 -e ‘print encode_base64(“password”);’ EHLO mailserver.com 250-server1.mailserver.com Hello [1.1.1.2] 250-SIZE 52428800 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP AUTH LOGIN 334 VXNlcm5hbWU6 dXNlcm5hbWUuY29t 334 UGFzc3dvcmQ6 bXlwYXNzd29yZA== BUT, Exchange has NTLM auth only: 250-AUTH […]