Link to home
Start Free TrialLog in
Avatar of FMAIntl
FMAIntl

asked on

Server initiated Out of Office for Exchange Server 2007

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.
Avatar of shauncroucher
shauncroucher
Flag of United Kingdom of Great Britain and Northern Ireland image

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.

Shaun
Avatar of FMAIntl
FMAIntl

ASKER

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.

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

Shaun
Avatar of FMAIntl

ASKER

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

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of shauncroucher
shauncroucher
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of FMAIntl

ASKER

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,

Shaun