msunified.net

Technical blog about Exchange, OCS and Lync by Ståle Hansen

Posts Tagged ‘Exchange’

Configuring custom email address policies using powershell

Posted by Ståle Hansen on 20/04/2009

If you want to configure email address policies with custom setting you need to do this by using powershell. Here you see an example where the reply e-mail address is set to a custom address. The template used below changes spaces in given names and surenames to “.”. This gives the user with the name of Martin Steven Williams the email address of Martin.Steven.Williams@msunified.net.

By typing smtp with capital letters the system sets this address as the primary smtp address. Additional addresses should have smtp as shown below

Set-EmailAddressPolicy -Identity “Default Policy” -EnabledEmailAddressTemplates SMTP:”%r .%g.%r .%s@msunified.net”, smtp:%m@msunified.net

 

This can be expanded upon by replacing and converting nordic characters to compatible character like this: “%r .%råa%ræa%røo%rÆA%rÅA%rØO%g.%r .%råa%ræa%røo%rÆA%rÅA%rØO%s@msunified.net”

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

New Features in Exchange 2010

Posted by Ståle Hansen on 20/04/2009

dd203064_exchange_logo_gifen-us2cmsdn_101

There is some new features in Exchange 2010 and the ones that I am most excited about is Database Availability Groups (DAG) and the new features in Outlook Web Access. Elan Shudnow have created a more comprehensive list of new features, check it out here

See Webcasts here http://msexchangeteam.com/archive/2009/05/26/451465.aspx

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

Changing the Queue Database path in Exchange Server 2007

Posted by Ståle Hansen on 17/04/2009

Any Post starting with this disclaimer means that this post was not written by me however I liked it and added to my blog. I will also include the link to the original or similar post to provide credit to the original author

http://msmvps.com/blogs/andersonpatricio/archive/2007/06/12/changing-the-queue-database-in-exchange-server-2007.aspx

If you do a default installation of Exchange 2007 the queue database config is located in “C:\Program Files\Microsoft\Exchange Server\Bin\EdgeTransport.exe.config” and the database is stored under “C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue\” as default.  To change this settings, we should open the file EdgeTransport.exe.config in this file we have to parameters:

  • QueueDatabasePath: Database path (mail.que and trn.chk files)
  • QueueDatabaseLoggingPath: transaction logs path (*.log and *.jrs files)

Now, let’s change both parameters for the c:\Database folder, as shown in the figure below. 


Click on the image to see in the original size (readable)

After changing the config file, we have to methods do accomplish our queue database moving process:

Moving the current database

  1. Click on Start / Run and type services.msc  click OK
  2. Stop the service called Microsoft Exchange Transport
  3. Move the database files(mail.que and trn.chk) from original location to the new place
  4. Move the transactions log files (*.log and *.jrs) from original location to the new place 
  5. Start the Microsoft Exchange Transport service

Creating a new queue database

  1. Click on Start / Run and type services.msc  click OK
  2. Restart the the Microsoft Exchange Transport service

In both cases the result will be the same, the new database will be changed for the directory specified in the .config file.

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

How to work with Exchange 2007 OAB Event Logging

Posted by Ståle Hansen on 17/04/2009

A nice post about OAB troubleshooting over at http://blogs.msdn.com/dgoldman/archive/2006/08/26/725860.aspx

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

Send Email Using Telnet

Posted by Ståle Hansen on 17/04/2009

Here is how to send email using Telnet

  1. Open the cmd prompt.
  2. Type telnet server.com 25 (where “server.com” is the name of the smtp (outgoing) server of your email provider, such as smtp-server.austin.rr.com). This can be found by checking your account info in the program you normally use for email.
  3. Type HELO server.com.
  4. Type MAIL FROM: you@server.com.
  5. You may get a message saying “250 ok”
  6. Type RCPT TO: Friend1@anotherserver.com, friend_two@someotherserver.org, friend.3three@Someserver.com, etc.
  7. again, You may get a message saying “250 ok”
  8. To write the message, type DATA, followed by your message.
  9. To end the message, put a period on a new line by itself and press Enter.
  10. Type QUIT to exit Telnet. 
  • Just a note: you may have to enter a “:” after the “mail from” and the “rcpt to”
  • This can also be used to send email as other people.
  • Some servers also accept ‘EHLO’ in place of ‘HELO’.
  •  

    Got this info over at wikihow.com

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

    Build numbers and release dates for Exchange Server

    Posted by Ståle Hansen on 17/04/2009

    Use this link to find the correct version of your exchange server

    Posted in Exchange 2003 | Tagged: | Leave a Comment »

    Exchange Remote Connectivity Analyzer

    Posted by Ståle Hansen on 17/04/2009

    Use the Exchange Remote Connectivity Analyzer to test Activesync connectivity, autodiscover connectivity and other remote features

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

     
    Follow

    Get every new post delivered to your Inbox.