Problem solve Get help with specific problems with your technologies, process and projects.

SelectiveOOF: Selectively suppress Out-of-Office replies

With the Exchange Server event sink, SelectiveOOF, you can customize what domains are allowed to receive your Out-of-Office messages.

Please let others know how useful this tip is via the rating scale at the end of it. Do you have a useful Exchange or Outlook tip, timesaver or workaround to share? Submit it to our tip contest and you could win a prize.

By default, Exchange Server Out-of-Office replies are not sent to the Internet; they have to be manually enabled.

This is so people outside an organization cannot, for instance, use Out of Office as a component in a social-engineering attack. It also avoids giving spammers confirmation that they have a "live one" on their distribution list.

If an administrator chooses to enable Out-of-Office replies to the Internet, however, there's a new problem: Out-of-Office replies cannot be selectively suppressed for specific mailboxes or sender/recipient addresses. It's all or nothing.

Microsoft admits that the only way to really work around this is issue is by using an event sink -- but not everyone has the patience or the aptitude to write one.

Fortunately, someone else has gone through the trouble. Exchange programmer Victor Ivanidze has created an event sink called SelectiveOOF that you can use to decide which remote hosts receive Out-of-Office messages.

When installed, the SelectiveOOF event sink can accept two criteria to suppress or allow Out-of-Office messages. You can declare that all replies to a given domain, or any domain, will be automatically suppressed, and then provide a list of exception domains. (If you click on "Add * (any domain)" in the sink's setup screen, this will by default suppress replies to all domains.)

If you're only allowing to a select few domains -- such as satellite offices or affiliated companies -- then you can block all first and then set up exceptions. On the other hand, if you want to send Out-of-Office notices to all but a few domains, you can list those excluded domains first in the top of the sink setup form and leave the bottom half blank.

Note that because of the way Microsoft Exchange handles events and Out-of-Office messages, previously suppressed Out-of-Office messages will not be resent if you disable the sink or change the restriction lists. Out-of-Office messages are only sent once.

About the author: Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter.

Do you have comments on this tip? Let us know.
Related information from

  • Tip: Controlling Out-of-Office messages
  • Learning Center: Toolbox for Exchange administrators
  • Reference Center: Exchange Server scripts and programming

  • Dig Deeper on Exchange Server setup and troubleshooting

    Start the conversation

    Send me notifications when other members comment.

    Please create a username to comment.