Home > Microsoft Exchange Tips > Exchange Security Tips > Deleting auto-generated spam from the outbound queue
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SECURITY TIPS

Deleting auto-generated spam from the outbound queue


Serdar Yegulalp
11.30.2005
Rating: -4.60- (out of 5)


Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


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.


Picture this: One afternoon, you're bombarded with pleas for help from people who've been trying to send mail all day. You check the outbound SMTP queue and -- to your horror -- find hundreds, if not thousands of identical messages.

Maybe they've been generated by some piece of malware that somehow slipped through your company's defenses, and is now trying to spam the outside world; or maybe one of your users has stupidly tried to e-mail the same 2 MB attachment to a whole slew of SMTP-only users!

The obvious way to deal with this is to stop the SMTP service and flush the queue. But what if there are other messages that legitimately need to be delivered?

There is a way to delete only the offending messages -- without using any third-party tools:

  1. Open one of the offending messages and look for a couple of keywords or phrases that should distinguish it from other mail in the queue.

  2. Stop the SMTP service on the Exchange server.

  3. Open the directory that contains the SMTP queues if you haven't already. Usually this is the folder C:\Program Files\Exchsrvr\Mailroot\VSI 1\Queue.

  4. Right-click on the Queue folder and select Search.

  5. In the search window's Word or phrase in the file field, enter the phrase you're using to filter out the message in question.

  6. Search for the matching messages.

  7. Remove them from the queue. You don't have to delete them; they can simply be moved to another folder in the event another message that shouldn't be deleted has been trapped.

  8. Restart the SMTP service and let the messages spool normally.

Since SMTP-queued messages are plain text, they can be read by being dropped into Notepad or another plain text reader.

Note that some automatic spam uses randomly-generated texts to make them more difficult to filter out. However, if they're trying to propagate by sending an attachment, odds are you should be able to filter by searching for the first dozen or so characters in the encoded version of the attachment.

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


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

  • Learning Center: The spamfighter's toolbox
  • Reference Center: Spam prevention and management



    Rate this Tip
    To rate tips, you must be a member of SearchExchange.com.
    Register now to start rating these tips. Log in if you are already a member.


    Submit a Tip




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


    RELATED CONTENT
    Exchange Security Tips
    Why you should secure Exchange 2007 using administrative policies
    Microsoft Exchange Server security dos and don'ts
    Create a journal rule in Exchange 2007 to secure journaling mailboxes
    How to protect an Exchange journaling mailbox from email spoofing
    Lock down Microsoft Outlook 2007 to prevent .PST file access
    Using Exchange Server journaling as an email-archiving solution
    Use the OWA Admin tool to 'segment' Outlook Web Access 2003 features
    Why are .PST files a security threat to Exchange Server mailboxes?
    OWA won't load after applying Exchange 2007 SP1 security patch
    Minimize remote and mobile Outlook Web Access (OWA) security risks

    Antispam Software and Spam Filtering
    Microsoft Exchange Server security dos and don'ts
    Troubleshooting Microsoft Exchange Server Event ID error 6009
    How can I configure Exchange IMF to allow an IP address or DNS?
    Tool helps identify inbound Exchange Server email flow issues
    Exchange email sent to a domain using SPF authentication is returned
    Configure SMTP relay restrictions in Exchange Server 2003 to stop spam
    Secure Edge Transport servers using the Security Configuration Wizard
    Create a global Safe Senders List in Exchange 2007 to filter spam
    Migrating antispam settings from Exchange 2003 to Exchange 2007
    The six-layered secret of effective Exchange Server email filtering
    Antispam Software and Spam Filtering Research

    Microsoft Exchange Server Performance
    Top Exchange Server performance monitoring and troubleshooting tools
    Three hardware don'ts when optimizing Exchange Server performance
    Why too much memory can hurt Exchange Server 2007 performance
    Troubleshooting slow Outlook Web Access (OWA) performance
    Use Performance Monitor to detect Exchange 2003 message queue problems
    Improve Exchange 2003 Internet connectivity, mail flow and performance
    Solve server problems with the Exchange Troubleshooting Assistant tool
    Windows hot-add memory hurts Exchange Server performance
    How to use SMTP queues to troubleshoot mail flow
    Performance problems with Microsoft Outlook 2007 .PST and .OST files

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    greylist  (SearchExchange.com)
    hash buster  (SearchExchange.com)
    image spam  (SearchExchange.com)
    KnujOn  (SearchExchange.com)
    Sender ID  (SearchExchange.com)
    spam confidence level  (SearchExchange.com)
    spamblock  (SearchExchange.com)
    spim  (SearchExchange.com)
    tarpitting  (SearchExchange.com)
    teergrube  (SearchExchange.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    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.



  • Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts