Delete messages older than a date except personal folder

Hello everyone,
I have been spending a lot of time searching and testing how to delete all items older than 6 months in a user mailbox, but this rule it cannot be applied just one personal folder named "personal". I have been reading about retention policy and
retention policy tags, but I can't figure out how to use that to keep all items older than 6 month in personal folder.
could anyone tell me if I am right with retention policy or it's better other way?
thank you in advice

Hi,
In Outlook client, we can set AutoArchive for all folders to delete all items older than 6 months except for “Personal” folder one by one.
If you want to use retention policy in Exchange side, we can use retention tags and retention policies to have a try. there are three types of retention tags:
Default policy tag (DPT), Retention policy tag (RPT), Personal tag.
For your scenario, we can create a personal tag applied for this Personal folder. For example,
delete messages older than 3 years for this personal folder. Then apply this personal tag for Personal folder in Outlook. And the Personal folder items are all tagged. After that, we can
applying default policy tags (DPTs) to mailboxes to manage the retention of all untagged items.
Personal suggestion, since the delete action is only used for one specific mailbox, I suggest we can use AutoArchive in Outlook side to achieve it.
Regards,
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
Winnie Liang
TechNet Community Support
Hi Winnie Liang,
Thank you for answer. I would like to do all tasks from exchange side, so I know how to apply a retention policy to a mailbox for deleting all older than 6 months. But how can I apply the personal policy tag to a personal folder's users?
All involved users in this requirement are warned that they must let all personal messages in "personal" folder named "personal".
regards

Similar Messages

  • Outlook 2013 Deletes mail older than 30 days in deleted items folder

    Environment: Outlook 2013 and Exchange 2007 (fully patched)
    One user has an issue where only 30 days worth of email is maintained in the deleted items folder. Every day, any email sent to deleted the previous day, will be gone.
    Any thoughts?

    Hi,
    Outlook itself doesn't auto-delete anything. It could be something that's automatically being done by the server.
    Let's first check the behavior on Outlook Web App (OWA), and see if issue persists.
    If issue repro's on OWA, then it's something on Exchange server side, I would suggest you post the question in
    Exchange server forum for further assistance.
    If issue doesn't repro on OWA side, it might be something on Outlook client side that deletes emails from the trash. For this scenario, I would suggest you first check if he/she has
    AutoArchive configured for the deleted folder which might delete messages older than a certain period of time.
    Please feel free to post back with any findings.
    Regards,
    Ethan Hua
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

  • How can I set up a rule to delete all messages older than 6 months left in Apple Mail's main inbox?

    How can I set up a rule to delete all messages older than 6 months left in Apple Mail's main inbox?
    I have created other rules to move some of my daily messages into specific folders and I don't wish to auto-delete those.
    Just the general stuff that keeps piling up in my me.com main email box.  Mail such as FB announcements and other low priority stuff I want to look at before deleting but don't want to keep longer than a week or month.
    TIA
    thokitts

    Thanks, but I am looking for a more automated solution than hand marking emails as junk. I might as well move them to the trash myself.
    Again, these are emails I want to receive and quickly read, but not keep longer than a week or month or so. By setting a rule to toss any older than 30 days back then my Mail program (and thus my hard drive) won't be wasting so much space. For example, currently I have over 6000 read messages, with their attachments, in my main email box. I'd rather not have to physically attend to sorting the one I don't want out.
    The one I do keep for other reasons get moved into other folders.
    It seems this should be possible.
    thokitts

  • Message older than allowed MessageAge Error while invoking webservice

    Hi,
    I have a web service using, implementation is annotated with Wssp1.2-2007-Https-UsernameToken-Plain.xml Policy. I am using a java client based no static Service model to connect to the server.
    When I try to connect to the webservice from local machine it works fine.
    If I connect from a remote machine below exception is thrown. Even If I set both machines to same time zones and tame same exception is thrown.
    ( client running on windows, server running on linux)
    How can I fix this ? Is there a way to configure MessageAge ? or disable it ?
    Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Security token
    failed to validate. weblogic.xml.crypto.wss.SecurityTokenValidateResult@18216e3[
    status: false][msg UNT Error:Message older than allowed MessageAge]
    at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.jav
    a:196)
    at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilde
    r.java:122)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
    java:119)
    at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.
    java:89)
    at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
    at $Proxy36.getAllRootDisTags(Unknown Source)
    at SampleNIClient.main(SampleNIClient.java:75)

    Hello -
    This is the webservice policy violation from client side.
    Mainly the time difference is the route cause.
    By default WLS will allow up to 300 sec for client message.
    You can change the setting by editing the following...
    Go to Security Realms >myrealm >Providers >DefaultIdentityAsserter
    Then edit Digest Expiration Time Period value according to your requirement.
    Regards,
    Justin.

  • File was Skipped because it is older than "store data

    i have a mail flow central install 1.4 for a customer. when i see in the status, it show success but remark written "file was skipped because it is older than "store data for" the date". After a while, it stop pulling the logs from ironport. any idea what is going on?

    This message is created in the cmt logs and sent to the customer when the log file that MFC is importing from the Ironport is older than the value set in the MFC System Administration > Configuration > 'Store Data For:' field.
    Concerning why it stopped pulling logs, what is the last date of logs pulled back? When you look at that host, does it say failed or success? If it says failed, maybe the password has changed. Let me know what you see.
    Also, fyi, there is a new feature that was introduced in AsyncOS 6.0 release, where it kind of brings MFC on-board the IronPort appliance.
    New Feature: On-Box Message Tracking
    AsyncOS 6.0 for Email includes an on-box message tracking interface that allows you to track messages that traverse your IronPort C-Series or X-Series Email Security appliance.
    The message tracking feature makes it easy to find the status of messages that the Email Security appliance processes. Email administrators can quickly resolve help desk calls by determining the exact location of a message. With on-box message tracking, an administrator can determine if a particular message was delivered, found to contain a virus, or placed in a spam quarantine — or if it is located somewhere else in the mail stream.
    Instead of having to search through log files using “grep” or similar tools, you can use the flexible tracking interface of the Email Security appliance to locate messages. To track messages, you create a message tracking query. You can use a variety of search parameters in combination, and you can refine tracking queries to narrow the result set.
    i have a mail flow central install 1.4 for a customer. when i see in the status, it show success but remark written "file was skipped because it is older than "store data for" the date". After a while, it stop pulling the logs from ironport. any idea what is going on?

  • HT3275 I've 1.85TB empty space on my time Machine, but it only backs up to the beginning of the previous month. it should have weekly back-ups for every month before that. Any ideas why it deletes stuff older than a month?

    I've 1.85TB empty space on my Time Machine, but it only retains back-ups to the beginning of the previous month. I should be able to access weekly back-ups for every month before that until the disk is full. Any ideas why it deletes stuff older than a month?
    Thanks, Rigby.

    If you are using Ethernet to connect your Mac to the Time Capsule, are you allowing at least 2-3 minutes for Time Machine to fully load when you open the application to see your backups?
    If you are using wireless to connect, you may need to allow 8-10 minutes or longer for everything to fully load, depending on the speed of your wireless connection.
    If you see only white time "bars" on the timeline at the right of the screen, you are seeing temporary backups. Permanent backups are displayed with purple "bars".

  • Query for deleting rows older than 25?

    Am trying to delete rows older than 25... How would the query for this be like? I tried this "DELETE FROM DB LIMIT 25,100" But getting errors...

    what is older than 25? Does it mean with id greater then 25?
    then you should have a query like
    DELETE FROM tableName WHERE id > 25

  • Exchange 2010 Outlook search can not find messages older than 1 year

    Hello,
    I have an exchange 2010 sp2 server. One of my users complains that Outlook search can not find any message older than 1 year. He have all his 5 year mails in the mailbox, but looks like search engine cant recognise them :( 
    Any thoughts? thanks in advance.

    Hi,
    Please verify that indexing is complete in Outlook:
    1. In Outlook, click in the Search box.
    2. Click the Search tab, click Search Tools, and then click Indexing Status.
    3. When the Indexing Status dialog appears, you should see the following:
    Outlook has finished indexing all of your items.
    0 items remaining to be indexed.
    Besides, please use the Search-Mailbox cmdlet to check if you can get messages older than one year in this user mailbox.
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • Is there a way to print texts/messages older than 90 days from phone without wireless printer?

    Is there a way to print texts/messages older than 90 days from phone without wireless printer?

    thanks for the reply....but forwarding to my email  - well, there were too many that I wanted printed.  But do appreciate your answering. 

  • TS4002 Messages older than 30 days in inbox are not moved to deleted items when removed.

    I've had a few messages that were stored in my inbox and were older than 30 days. I've noticed that when I actually delete them they aren't moved to Deleted Items (and sat for 30 days before permanently deleted). It seems that the actual date of the email is being used to calculate the age and not the time it sits in deleted items.

    If deleted email isn't being moved to the trash you might want to go to icloud.com from your computer, open mail, click on the gear-shaped icon on the top right and choose preferences, then confirm on the General tab that you have checked "Move deleted messages to" and selected "Tash" from the drop-down list.

  • Set restriction to get messages older than a specific date using EWS?

    Hi, I'm new working with EWS and I have found some code to set a restriction to help me filter messages "between" to dates, but I need to be able to obtain emails that are "older" than a specific date so I can delete them.  My application needs to be
    able to clean up a mailbox to only to keep up to so many days/weeks worth of emails.  The code I have to search for emails that works
    between dates is:
    public void SetDateRestriction(FindItemType findItemRequest)
    DateTime dateStart = DateTime.Now;
    DateTime dateEnd = DateTime.Today.AddDays(-180);
    PathToUnindexedFieldType dateSentPath = new PathToUnindexedFieldType();
    dateSentPath.FieldURI = UnindexedFieldURIType.itemDateTimeSent;
    IsGreaterThanOrEqualToType isGreaterThanOrEqual = new IsGreaterThanOrEqualToType();
    isGreaterThanOrEqual.Item = dateSentPath;
    FieldURIOrConstantType dateConstant = new FieldURIOrConstantType();
    ConstantValueType dateConstantValue = new ConstantValueType();
    //dateConstantValue.Value = string.Format("{0}-{1}-{2}T00:00:00Z", dateStart.Year.ToString(), dateStart.Month.ToString(), dateStart.Day.ToString());
    dateConstantValue.Value = dateStart.ToUniversalTime().ToString("yyyy-MM-ddT00:00:00Z");
    dateConstant.Item = dateConstantValue;
    isGreaterThanOrEqual.FieldURIOrConstant = dateConstant;
    // less than or equal to
    PathToUnindexedFieldType dateSentPath1 = new PathToUnindexedFieldType();
    dateSentPath1.FieldURI = UnindexedFieldURIType.itemDateTimeSent;
    IsLessThanOrEqualToType lessThanOrEqualTo = new IsLessThanOrEqualToType();
    lessThanOrEqualTo.Item = dateSentPath1;
    FieldURIOrConstantType dateConstant1 = new FieldURIOrConstantType();
    ConstantValueType dateConstantValue1 = new ConstantValueType();
    //dateConstantValue1.Value = string.Format("{0}-{1}-{2}T00:00:00Z", dateEnd.Year.ToString(), dateEnd.Month.ToString(), dateEnd.Day.ToString());
    dateConstantValue1.Value = dateEnd.ToUniversalTime().ToString("yyyy-MM-ddT00:00:00Z");
    dateConstant1.Item = dateConstantValue1;
    lessThanOrEqualTo.FieldURIOrConstant = dateConstant1;
    RestrictionType restriction = new RestrictionType();
    AndType andType = new AndType();
    andType.Items = new SearchExpressionType[] { lessThanOrEqualTo , isGreaterThanOrEqual };
    restriction.Item = andType;
    findItemRequest.Restriction = restriction;
    How can I modify this to give me emails older than a specific date?  Also any input on doing the deleting would also be greatly appreciated!
    Best Regards,
    Nelson

    Thank you very much Glen!  I can't believe it was that easy.  Works perfect.  I will work on the DeleteItemType.  I was also wondering if there was a way to detect if an email is an Out-of-Office (OOO) or Undeliverable message? 
    My app goes through all the emails and I need to skip any that are OOO or Undeliverable messages.  I've learned how to use the SearchFilter and I find that easier and more straight forward than setting the restrictions.  I'm also able to use a SearchFilter
    to get emails older than the specified date. 
    Here's my new code for reading unread emails using the SearchFilter and paging (for better efficiency). 
    1 - Is there anyway to tell the filter to get AllProperties without having to specify each one using ItemSchema or EmailMessageSchema?
    2- What is the difference between those two (any advantages over one or the other)?
    3 -Is there any reason to even be using the ExchangeServiceBinding here anymore since it seems the ExchangeService object is all I need?  In my old code, I was using the ExchangeService object to do an AutoDiscover and then using that to set the URL
    in the ExchangeServiceBinding.  What are the main to difference/uses for these to objects?  Sorry if that's a dumb question.
    private void GetUnReadEmails(string sMailboxName)
    // Create the binding to Exchange
    ExchangeServiceBinding esb = new ExchangeServiceBinding();
    esb.RequestServerVersionValue = new RequestServerVersion();
    //Console.WriteLine("Exchange version: " + esb.RequestServerVersionValue.Version);
    //esb.RequestServerVersionValue.Version = ExchangeVersionType.Exchange2007_SP1;
    ExchangeService service = GetBinding(sMailboxName);
    Console.WriteLine("Exchange version: " + service.RequestedServerVersion);
    esb.Url = service.Url.ToString();
    esb.Credentials = new NetworkCredential(Username, Password, Domain);
    Mailbox mb = new Mailbox(sMailboxName);
    FolderId fid1 = new FolderId(WellKnownFolderName.Inbox, mb); // where fid1 was WellKnownFolderName.Inbox
    //FindFoldersResults findResults = service.FindFolders(fid1, new FolderView(int.MaxValue));
    ItemView iv = new ItemView(50, 0);
    FindItemsResults<Item> findResults = null;
    PropertySet ivPropSet = new PropertySet(BasePropertySet.IdOnly);
    //SearchFilter ivSearchFilter = new SearchFilter.SearchFilterCollection(LogicalOperator.And, new SearchFilter.IsEqualTo(EmailMessageSchema.IsRead, false), new SearchFilter.ContainsSubString(ItemSchema.Subject,"MSGID:"));
    SearchFilter searchFilter = new SearchFilter.IsEqualTo(EmailMessageSchema.IsRead, false);
    iv.PropertySet = ivPropSet;
    do
    findResults = service.FindItems(fid1, searchFilter, iv);
    string sText = "";
    if(findResults.Items.Count > 0)
    //PropertySet itItemPropSet = new PropertySet(BasePropertySet.IdOnly) { EmailMessageSchema.Body };
    PropertySet itemPropSet = new PropertySet(BasePropertySet.IdOnly) {ItemSchema.Subject, ItemSchema.Body, ItemSchema.DateTimeReceived, ItemSchema.HasAttachments, ItemSchema.ItemClass};
    itemPropSet.RequestedBodyType = BodyType.Text;
    service.LoadPropertiesForItems(findResults.Items, itemPropSet);
    //service.LoadPropertiesForItems(findResults.Items, itItemPropSet);
    //service.LoadPropertiesForItems(findResults, new PropertySet(ItemSchema.Subject, ItemSchema.Body, ItemSchema.DateTimeReceived));
    Console.WriteLine("Total items: " + findResults.TotalCount);
    foreach (Item item in findResults.Items)
    Console.WriteLine("ItemID: " + item.Id.UniqueId);
    Console.WriteLine("Subject: " + item.Subject);
    Console.WriteLine("Received date: " + item.DateTimeReceived);
    Console.WriteLine("Body: " + item.Body);
    Console.WriteLine("Has attachments: " + item.HasAttachments);
    //Mark the email as read
    EmailMessage emEmail = EmailMessage.Bind(service, item.Id);
    //emEmail.Load();
    emEmail.IsRead = true;
    emEmail.Update(ConflictResolutionMode.AlwaysOverwrite);
    sText += "Subject: " + (item.Subject.Trim()) + " ";
    //sText += "DisplayTo: " + (item.DisplayTo.Trim()) + " ";
    sText += "DateTimeReceived: " + (item.DateTimeReceived.ToString()) + " ";
    sText += "ItemClass: " + (item.ItemClass.Trim()) + " ";
    sText += "\r\n";
    else
    sText = "No unread emails";
    Console.WriteLine("No unread emails");
    txtItems.Text = sText;
    iv.Offset += findResults.Items.Count;
    } while (findResults.MoreAvailable == true);
    Thanks again for your time.  I appreciate it.
    Nelson

  • Mail lists messages older than Yesterday with 27 March 09

    My mail is received under the heading Date Received: as Today, Yesterday and 27 March 09. If I open the message with 27 March 09 the correct date and time is displayed in the message header. the time received is correct on all messages.
    All messages in my various folders older than two days are dated 27 March 09. Any ideas.

    With respect to having Mail store your Sent messages you must choose whether they are to be stored on the server (if .mac or IMAP account), and for how long to store them.
    Before making this change, you should have created an On My Mac mailbox (this would be separate from the one for the account) and transferred the older messages to that mailbox.
    However, in this case, since Spotlight finds some messages, you should look with the Finder in Home/Library/Mail/Mailboxes and see if there is an xxxx.mbox folder that was storing the Sent messages previously. If so, rename it, and it should show up in the Sidebar to the Mail window -- this might require reindexing via the Rebuild command.
    More info after making this examination, and before renaming of making any other changes.
    Ernie
    Message was edited by: Ernie Stamper

  • Deleting backups older than a month

    Hi all,
    I'm trying to delete backups that are older than a month. I've performed the following steps.
    1. Click on time machine
    2. Navigate to a month ago
    3. Navigate to "Macintosh HD" and select all items
    4. Click on the gears the "Delete all backups .."
    This delete all backups, even my current ones. How can I delete just "old" versions from a snapshot in time (say x) back to the beginning of backups and keep everything with time > x?
    Thanks,
    Todd

    +That won't screw up the database will it?+
    Probably. Time Machine uses hard links to keep track of its previously backed up files. You can read how Time Machine uses hard links in this Ars Technica review.
    http://arstechnica.com/reviews/os/mac-os-x-10-5.ars/14
    To make sure you keep the hard links intact launch the Time Machine browser from the dock. Click on your hard drive in the sidebar. Don't select any folders or files in the window. Use the white ladder lines on the right to navigate to the backup you wish to delete. Click on the button with the gear and select Delete Backup.

  • Inbox loses all messages older than one/two days

    So, I'm the proud new owner of an iPhone, and while I'm generally very happy with it, I'm having some email troubles that I hope someone here might help me sort out.
    The issue is that all the messages that come into my mailbox disappear after a day or two, which negates (at least for me) any advantage to having on-the-go email. My iPhone is set up to receive email from a POP account, and so far, I've had no problems receiving or sending mail - it's the not-deleting-emails-from-my-inbox issue that's giving me fits.
    At first, I thought it might have something to do with the settings on the desktop computer (Mac Pro) which is also set up to receive emails from this account. The mail application on the desktop had been set to delete all messages from the server a week after the message had been retrieved. Given that the messages in my iphone are deleted from the iphone's inbox a day (at most two) after retrieving the message, I don't think this is an issue (in any case, i am under the impression that the iphone works like any other email application - once it retrieves a message, it is downloaded onto the device, correct? it doesn't just live on the server). In any event, to be on the safe side, I changed the Mac Pro's email settings to never delete messages from the server, but this hasn't affected my iphone's problem.
    I've toyed around with the iphone's settings, but nowhere can I find a setting that addresses this specific problem. Anyone out there had the same trouble I'm having? If so, were you able to fix it? is it something I'm overlooking?
    Thanks in advance.

    That is the correct spot, what is/was that option set to under deleted Messages? Try setting it to Never and see if that might change the emails behavior. If that is not the cause then it might be a issue with the Mail Application Software on the phone in your particular case and would need to restore the phone.
    Another thing to try is to remove the email account on the phone then re-add the account and see if it is doing the same thing.

  • Viewing messages older than ten days in iMessage

    Good day. I want to look back in a chat history, but when I get to messages more than ten days old iMessage stops retrieving them. My preferences are set to keep messages forever. I have an iPhone 5c with iOS 8, and I do not use iMessage on my desktop machine.
    Thanks for any insights you may have!

    Did you back your phone up?
    Also sometimes the iMessage contains a combination of text and iMessages - the text messages are not recoverable
    Did you upgrade the iOS in the last few days or reset your phone?
    http://www.macworld.co.uk/how-to/iosapps/fix-ios-imessage-problems-bug-messages- not-delivered-3470405/

Maybe you are looking for