Problem with custom folders and recipient policy

Posted on 2004-10-23
Last Modified: 2008-03-10
I have recently set up my recipient policies to delete e-mails older than 15 days from the following folders: Deleted Items, Sent Items, Spam and Inbox/Junk.  The Spam and Inbox/Junk folders were created from 2 seperate Anti-spam products, GFI and Brightmail.  The Inbox/Junk folder is no longer in use so I am trying to delete everything out of that folder since I'm not sure how to delete the folder itself completely.  The Spam folder is currently in use by Brightmail and I need to be able to clean it out on a regular basis just like Deleted Items and Sent Items.  My problem is that the Recipient Policy is only processing the Deleted Items and Sent Items folders and not the two custom folders.  I have them added in the policy correctly I believe but I just can't delete e-mail from them.  My issue is a big problem because we are very near the 16GB limit and a solution is needed quickly.  Any help would be appreciated!

Question by:freestyle18
    LVL 10

    Expert Comment


    if you are close to the 16gb limit you should run a defrag, eseutil/d asap. You will need free space equal to 110% of the size of the information store for it to be able to run.


    Author Comment

    I have already run the defrag and was able to salvage some room, but long term this does not take care of my problem.  I feel sure I have 3-4GBs of spam e-mail being stored right now and that seems to be the only way to solve my problem down the road.  I need to have a solid routine to empty this folder and it just doesn't seem to work the way it ought to with the recipient policy.
    LVL 21

    Accepted Solution

    This is common with SPAM software.  There is a problem in the software to where they didn't set PR_Container_Class on the folder when it was created.  Without this, mailbox manager will skip the folder.  Unfortunately you have to use a low level MAPI tool like pfdavadmin or mdbvue to correct this.  It is tedious, and it has to be done on every mailbox.  I think I have a much easier alternative:  Exmerge.

    You can download exmerge here:

    If you've never ran it, here is a quick summary.  When prompted choose 2 step merge.  Give your Exchange server name and DC name.  When you see an options button, choose it.  Select the option to archive data to target store (this will remove all mail and put it in a pst file).  Go to the folders tab and enter the name for the junk mail folder.  Go through the wizard and it should remove the message.  You will need to be logged in with an account that has permissions to log on to everyone's mailbox.

    I know the steps are not word for word what you will see but I don't have a server in front of me right now to test with.  If you encounter issues with exmerge or have questions, let us know.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Get an idea of what you should include in an email disclaimer with these Top 5 email disclaimer tips.
    "Migrate" an SMTP relay receive connector to a new server using info from an old server.
    In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
    This video discusses moving either the default database or any database to a new volume.

    877 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now