Thursday, November 25, 2010

Exchange 2010 AutodiscoverVirtualDirectory

I recently had to spend a lot of time to try to fix issues related to Free/Busy and come to truth one more Certs in the Exchange 2010 playing big role. The AutodiscoveryVirtual Directory, OBA configuration, and how outlook finds Free/Busy is explained here in in Elan  Shudnow blog read here this excellent post…..

image

I wanted to share the CMDLET to blow the  AutodiscoverVirtualDirectory and re-create it, due to corrupted XML file.

image

Exchange Server name is “EXC01” replace this to comply your environment if you are about to delete the Auto Discovery Directory in IIS, it is pretty save to fallow the steps below….

Remove-AutodiscoverVirtualDirectory –Identity "EXC01\Autodiscover (Default Web Site)"

 

New-AutodiscoverVirtualDirectory -WebsiteName "Default Web Site" -WindowsAuthentication $true -BasicAuthentication $true

 

 

Respectfully,
Oz Casey, Dedeal
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog
http://telnet25.spaces.live.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)

Wednesday, November 17, 2010

TMG&EDGE server 550 5.7.1 Unable to relay

I have been working on one of our LABs last couple days to configure Exchange 2010 servers to work with TMG & EDGE. One of the problems I have faced was not being able to send mail from Exchange host to the TMG & EDGE and mail also was not coming in. Assuming the firewalls allowing traffic couple things I like to mention may save you time if you run into similar scenario.

First of all if you are not familiar with TMG and its configuration here what you need to have click here, this step by step doc will walk you trough the basic configuration.

Publishing Exchange Server 2010 with Forefront Unified Access Gateway 2010 and Forefront Threat Management Gateway 2010

The best thing or way to find out if SMTP traffic is leaving the Exchange host is to install sniffer on the Exchange host itself to be honest. After installing WireShark ( sniffer) install PortQueryUI or similar tool to generate SMTP traffic.

 

In my case SMTP traffic was not leaving the host due to McAfee E-policy blocking by default SMTP port on the Exchange servers (-: , Uhhhhhh if you skip this part and start jumping somewhere else you end up coming back here anyways.

So though process should be simple, does SMTP traffic leaving the Exchange host? If yes you will hit eventually TMG& EDGE assuming any firewall standing on your way in the middle is passing SMTP traffic.

After fallowing TMG guide if you are still unable to get Exchange host TMG& EDGE SMTP conversation you may want to check this ,

image

 

Get-ReceiveConnector

 


Get-ReceiveConnector "Reinjection" | Add-ADPermission -User "NTAUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTPAccept-Any-Recipient"

 


Add-AdPermission "Reinjection" -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights ms-Exch-SMTP-Submit,ms-Exch-SMTP-Accept-Any-Recipient,ms-Exch-Bypass-Anti-Spam
  • The safest way to check the SMTP flow is still the old way opening CMD and telneting on port 25 from host to destination and see what the response is IMHO.

Allowing application servers to relay off Exchange Server

http://msexchangeteam.com/archive/2006/12/28/432013.aspx

Respectfully,
Oz Casey, Dedeal
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog
http://telnet25.spaces.live.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)

Monday, November 8, 2010

How to Create Team Calendar on Exchange 2010

Here is the way to create team calendar on public folders. Remember this is being done from outlook client and you need to have proper right to do it.

  • Open outlook click on the bottom “Folder List” to see the PF folders if they are not visible.

image

image

  • Make right click on your inbox choose new folder, give it a name , click on folder contains and pick Calendar items
  • And make sure you are dropping the new folder the location you want, I pick PF folder locations.

 

image

  • here is the new Calendar item , set permissions etc. accordingly..

image

Respectfully,
Oz Casey, Dedeal
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog
http://telnet25.spaces.live.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)

Some Tools for Day to Day Admin Life……

Sometime  often I get questions such, hey where did you get that , looks good. Beside looking cool (-: . I most often like to have tools make my life easy, and here some of them I like to share with you. I am sure there are many others and if you do know any other handy tool fell free to add it into list please……

Console. 

image

PowerCMD

image

VisionApp Remote Desktop 2011

image

PowerGUI

image

DNSquery

image

Respectfully,
Oz Casey, Dedeal
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +
http://smtp25.blogspot.com/ (Blog
http://telnet25.spaces.live.com/ (Blog)
http://telnet25.wordpress.com/ (Blog)