The pros and cons of 'catch-all' Exchange Server mailboxes

The pros and cons of 'catch-all' Exchange Server mailboxes

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 SearchExchange.com. If we publish it, we'll send you a nifty thank you gift.


VIEW MEMBER FEEDACK TO THIS TIP

Catch-all e-mail addresses are mailboxes that receive messages for a domain that do not match any specific address in that domain.

For instance, if someone sent an e-mail to ruri@utena.org when no such e-mail address existed, it would get routed to a catch-all address for the utena.org domain. If no catch-all address was set up, it would simply

    Requires Free Membership to View

    When you register, you’ll also receive targeted alerts from my team of editorial writers and independent industry experts with the latest news, tips, and advice to help you do your job more efficiently and effectively. Our goal is to keep you informed on the hottest topics and biggest challenges faced by Exchange professionals today working with Exchange, Outlook and other related technologies.

    Margie Semilof, Editorial Director

    By submitting your registration information to SearchExchange.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchExchange.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

Premium Access

Register now for unlimited access to our premium content across our network of over 70 information Technology web sites.
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

This was first published in April 2006

be bounced back to the sender with an error.

For a long time, catch-all addresses were immensely useful. When e-mail was still relatively new, a domain could use a catch-all address to make sure e-mail with a slightly misspelled mailbox name could still make it to the intended recipient.

This required having a human attendant periodically check the catch-all mailbox; most of those duties were usually assumed by the e-mail administrator or a personal assistant.

The rise of automated spamming has made catch-all mailboxes lose favor with many e-mail administrators, since they can wind up catching more spam than genuine e-mail. A common spammer tactic is to send flurries of messages to randomly generated or dictionary-harvested names for a given domain. If that domain has an unprotected catch-all mailbox, it will get choked.

That said, there are still mail admins that like the idea of a catch-all address, and if combined with proper filtering and validity checking, it's possible to keep a catch-all mailbox relatively free of spam.

Exchange Server expert Michael B. Smith has written a script for Exchange 2000 and Exchange 2003 that performs catch-all functions for a given domain. The original version of the Exchange Server script proved to be immensely popular despite some limitations -- for instance, it originally couldn't handle more than two domains at once. Smith has since revised the script to add that and other new features.

The script package includes detailed instructions for installation and configuration. Administrators have to provide definitions for each domain to be trapped, but little more than that.

Smith also has tentative plans for an Exchange 12 version that uses managed code and may run much faster, although the current version doesn't impose more than negligible overhead.

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


MEMBER FEEDBACK TO THIS TIP

Is there a script for automatically deleting e-mail that may be caught by the "catch-all" mailbox?
—Roy P.

******************************************

I did a little digging and found a script in Glen Scales' blog that might do the trick for you. This script crawls a mailbox and deletes everything more than x days old, which ought to be perfect for a catch-all mailbox that you don't want retaining mail of more than a certain age.
—Serdar Yegulalp, tip author


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

Related information from SearchExchange.com:

  • Ask the Expert: How to retrieve e-mail messages delivered to inactive accounts
  • 15 tips in 15 minutes: Managing recipients and distribution lists
  • Learning Center: Toolbox for Exchange administrators
  • Reference Center: Exchange Server scripts and programming tips

    Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.