SMTP Port 25

Anything and Everything Related to Messaging and Collaboration, Active Directory and Scripting. It’s My Life!!!

Posts Tagged ‘Exchange 2007’

Exchange 2007 – Activation of DR Site and Failback to primary

Posted by Krishna - MVP on November 26, 2010

Exchange 2007 – Activation of DR Site and Failback to primary – Quick Reference..

http://technet.microsoft.com/en-us/library/bb738150(EXCHG.80).aspx

http://messaging24x7.wordpress.com/2010/08/04/exchange-server-2007-ccr-with-standby-continuous-replication-target-disaster-recovery/

Posted in Exchange 2007, Powershell | Tagged: , , | Leave a Comment »

Exchange 2007/2010 Dynamic Distribution List filter customizing

Posted by Krishna - MVP on July 29, 2010

As the name says Dynamic Distribution List is the group which maintains the list of users in the group dynamically. Every time it’s hard to maintain Static list. Static list needs to be manually managed for adding and removing users. If it’s the smaller list then it can be managed easily and if the group is very big and it bigger the problem

Dynamic Distribution list is can be created using Exchange management Console or Exchange management shell. Dynamic Distribution list manages the users using filter condition. Default filter condition provides us limited filter options like State, Department, Company, and other custom attributes like 1 to 15. Same has been shown in Figure 1.

clip_image002

Figure 1. List of Condition Options for filtering members to group

With this option we can build the Dynamic DL and these options some times can match our requirement and some times it may not.

For example we need to build a Dynamic DL with the list of users belonging to the specific Mailbox Server. Requirement option can vary depending on the business. Here i am just trying to take one example and explaining the concept.

Dynamic DL saves all the filters in the Active directory. AD Attribute msExchQueryFilter, msExchDynamicDLFilter has all filters settings.

msExchQueryFilter:
msExchQueryFilter hold the OPATH filters. OPATH is basis for the filtering syntax used by Powershell.

msExchDynamicDLFilter:
msExchDynamicDLFilter hold the LDAP filter which is available in msExchQueryFilter attribute

If we wanted to change the filter to match the requirement then we need to use ADSI Edit and edit the AD attributes and apply the new filter.

1. Access ADSI Edit from your computer and connect to Default naming context. Figure 2

clip_image002[8]

Figure 2. connecting to Active Directory – Default naming context

2. Create the Dynamic DL in Advance and Browse the Adsiedit to the Dynamic DL which is create and right click and properties

clip_image002[10]

3. Copy and paste the below OPATH filter on msExchangeQueryfilter and replace server name with the mailbox servrname, if clusterd then cluster CMS name

(((RecipientType -eq ‘UserMailbox’)) -and (-not(Name -like ‘SystemMailbox{*’)) -and (-not(Name -like ‘CAS_{*’) -and (ServerName -eq ‘Servername’)))

4. Now you have configured the filter. If you wanted to see if this filter is applied then you can use the below Powershell cmdlet. Replace DymamicDL with the name of the DL which we have worked on and it will get the result of all the users’ name that belongs to the specific server.

$DynamicDL = Get-DynamicDistributionGroup -Identity “DynamicDL”

Get-Recipient -RecipientPreviewFilter $DynamicDL.RecipientFilter |select name,servername

You can get this requirement if you wanted to send communication to specific users on the specific server when there is any maintenance etc. As I said earlier we can use similar filters based on the requirement to add users dynamically into the list. Technically you can get any Powershell filter into Dynamic DL

Posted in Exchange 2007, Exchange 2010, Powershell | Tagged: , , , , , | 2 Comments »

Move-mailbox – Dumpster Difference between Exchange 2010 and Exchange 2007

Posted by Krishna - MVP on April 8, 2010

For various reason we move the mailbox, some times to fix a issue or some other reason. One big disadvantage of moving user in Exchange 2003 or Exchange 2007 is it will lose Dumpster.

Exchange 2010 Move-Mailbox does not delete dumpster when you move the mailbox. This is one of the good Interesting Features of Exchange 2010

Posted in Exchange 2007 | Tagged: , , , | Leave a Comment »

Hidding Global Address List (GAL) for a users in Exchange 2007

Posted by Krishna - MVP on April 5, 2010

Here we have a very good article on how to hide a GAL for a specific user  or pointing user to specific GAL in place of default GAL

http://www.exchange-genie.com/2007/10/hidding-global-address-lists-gal-with-exchange-2007/

Posted in Exchange 2007 | Tagged: , , | Leave a Comment »

Diagnostic Logging to find Deletion of Public folder in Exchange 2007 and Exchange 2010

Posted by Krishna - MVP on February 4, 2010

 

Many users will have access to the Public Folder and Many are the owner of Public folder and have full access to it. Chances are that use accidently deletes the folder or some times intentional. To identify this we have to Enable logging on Public folder.  Below has the steps to enabled the same

1. Open Exchagne Management Console
2. Expand and select Server Configuration
3. On the right you will find all the servers
4. Select the Exchange Server where public Folder Database is residing
5. Right click on the Server and select Manage Diagnostic Logging
5. Expand to reach MSexchangeIS-> 9001 public and click on General and  
6. Select Medium and configure to enable this settings

7. When a Public Folder is deleted Event ID 9682 is logged in the Application log. You can search for the evet Id in the application logs.

Posted in Exchange 2007, Exchange 2010 | Tagged: , , , | 3 Comments »

How to use SSL Certificates with Exchange 2007

Posted by Krishna - MVP on January 30, 2010

Below link has a Easy step by Step by Instruction on how to configure SSL certificate with Exchange 2007. It has instruction on how to get the certificaet, import and Enable for SMTP to Accept SSL connection..

http://www.sslshopper.com/article-how-to-use-ssl-certificates-with-exchange-2007.html

Posted in Exchange 2007 | Tagged: , , , , | Leave a Comment »

Prepare Active Directory and Domains for Exchange 2007 Installing and Permissions Requied

Posted by Krishna - MVP on December 23, 2009

http://technet.microsoft.com/en-us/library/bb125224%28EXCHG.80%29.aspx

Posted in Exchange 2007 | Tagged: , | Leave a Comment »

Exchange 2007 IMAP and POP Protocol Logging

Posted by Krishna - MVP on December 7, 2009

IMAP and POP Protocol logging is made easy in Exchange 2007. Below are the step by step to enabled the same.

1. Login to Exchange 2007 client access server
2. Browse to C:\Program Files\Microsoft\Exchange Server\ClientAccess\PopImap
3. Open Microsoft.Exchange.Imap4.exe.config with notepad
4. Find the <addkey=”ProtocolLog” value=”false” /> in the file
5. Change False to True
6. Below link <add key=”LogPath” value=”C:\Program Files\Microsoft\Exchange Server\Logging\Imap4″ /> is the path of the Imap4 log file location
7. Restart MSExchangeIMAP Service

Posted in Exchange 2007 | Tagged: , , , | Leave a Comment »

Powershell to send email with delivery notification enabled

Posted by Krishna - MVP on October 28, 2009

Powershell to send email with delivery notification enabled. Once mail is delivered to the recipient mailbox and delivery notification mail will be sent to the sender mailbox. Below powershell help you to atchive the same

$msg = new-object Net.Mail.MailMessage
$smtp = new-object Net.Mail.SmtpClient($smtpServer)
$msg.Headers.Add(“Disposition-Notification-To”, “from@domainname.com”)
$msg.DeliveryNotificationOptions = “OnSuccess”
$msg.From = “from@domainname.com”
$msg.To.Add(”to@domainname.com”)
$msg.Subject = “Make the Delivery Recipt Work Please”
$msg.Body = “In a perfect world this email will generate a delivery receipt”
$msg.Attachments.Add($att)
$smtp.Send($msg)

Posted in Exchange 2007, Powershell | Tagged: , , , | 1 Comment »

Powershell to Settup ManagedFolderAssistantSchedule in all Exchange 2007 Mailbox Servers

Posted by Krishna - MVP on October 15, 2009

The managed folder assistant is a Microsoft Exchange Mailbox Assistant that creates managed folders in users’ mailboxes and applies managed content settings to them. When the managed folder assistant is running, it processes all of the mailboxes on a server. If the managed folder assistant does not finish processing the mailboxes on the server during the time that you have scheduled, it automatically resumes processing where it left off the next time it runs. There is one managed folder assistant for each server

Get-ExchangeServer | Where { $_.AdminDisplayVersion.ToString().SubString(0, 10) -eq “Version 8.” `

-and $_.ServerRole -eq “Mailbox” } |

ForEach { Set-MailboxServer -Identity $_.Identity `

-ManagedFolderAssistantSchedule “Sun.1:00 AM-Sun.3:00 AM”, `

“Mon.1:00 AM-Mon.3:00 AM”, “Tue.1:00 AM-Tue.3:00 AM”, `

“Wed.1:00 AM-Wed.3:00 AM”, “Thu.1:00 AM-Thu.3:00 AM”, `

“Fri.1:00 AM-Fri.3:00 AM”, “Sat.1:00 AM-Sat.3:00 AM” }

http://technet.microsoft.com/en-us/library/bb123958.aspx

Posted in Exchange 2007 | Tagged: , , , | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 49 other followers