We help IT Professionals succeed at work.

Server initiated Out of Office for Exchange Server 2007

FMAIntl asked
Last Modified: 2012-05-08
Our company is shutting down for a week and I need to be able to create an auto reply message on the Exchange Server itself.   I cannot rely on all the users setting an out of the office message, so I want the server to send out the exact same canned auto reply for every email that is delivered to our server that week.  

The transport rules do not have a "reply to sender" or anything of that nature as one of the actions.
Watch Question

No, but you can use Transport rules to send a customised NDR.

Action: Send bounce message to sender with enhanced status code. You can type a custom message here with a custom error code.



I tried that but there are not enough char available for the message.  So that won't work.
You need to change your method slightly.

You can actually have up to 4096 characters (including spaces) which should be plenty for most.

You need to first setup a custom DSN using New-SystemMessage. The Custom DSN needs to be 5.7.xxx in the range 5.7.10 - 5.7.999.

Use a cmdlet as follows:

New-SystemMessage -DsnCode 5.7.100 -Language En -Internal $false  -Text "Your longer messssage goes here"

Then when you setup a transport rule, doing concern yourself with the text field, but make sure the Enhanced status code is setup to match the custom DSN (in the example 5.7.100).

When the Tranposrt rule is executed, it will go and retrieve the custom detail for the DSN.

Here is an article that explains some of the theory: http://technet.microsoft.com/en-us/library/aa998878.aspx



Thanks.   Just want to confirm that the messages will still get delivered the end user if I use this option.  


I just finished reading the links and it appears that if I use this option the messages will not be delivered, so that won't work.
This one is on us!
(Get your first solution completely free - no credit card required)


There are over 100 mailboxes, so that would take a long time.   I used the link and was to use the utility with a powershell script and it works great.
Thanks for your help
Glad I could help,

Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.