It seems like your browser didn't download the required fonts. Please revise your security settings and try again.

Attention

Starting May 1st, 2018, we will no longer offer the ArchiveOne family of products. This includes all editions of ArchiveOne, ArchiveOne for Files, Max Compression, and Access Security Manager. If you currently hold a maintenance and support contract, you will continue to receive our award-winning support until your contract expires, or until May 1st, 2019, whichever occurs first. The license for ArchiveOne is perpetual; therefore the software may continue to be used independently without any updates or support indefinitely.

How to Search for Long Text Strings

  • Last updated on

When creating a policy to look for text in emails and attachments, there is a limit of 100 characters you can enter per line. If you exceed this limit, the warning MSG0261: That comparison text is too long displays:
textstring01.png 

You can edit the configuration files created in the Add-ins share for each policy to modify this limit.

Step 1. Create a Policy

Use the following steps to create a policy:

  1. In the ArchiveOne admin console, right-click Policies, and click New Mailbox Policy.
  2. Click Search Criteria, and then click Message.
  3. From the Property drop-down menu, select the message text criterion, for example, Subject.
  4. In the Value field type XXXX, and then click Add.

    'XXXX' acts as a placeholder for use when manually editing the configuration file.

  5. Add any additional properties you require using the same XXXX placeholder, for example:
    textstring02.png
  6. If required, select Find messages which meet at least one of the above criteria (OR).
  7. Click OK to save and close the policy, and then click OK to save the search criteria.
  8. Click Where to Search, and then select either:
    • All enabled mailboxes – Adds all mailboxes to the policy.
    • Selected Mailboxes or dlists – Select to select and add the required mailboxes to the policy.
  9. Click When to Search to schedule the policy and set a suitable schedule.
  10. Click When to Stop to terminate processing after a set period.
  11. Click Actions to set the required policy action.
  12. Once complete, click Done to save the policy.
  13. Close the ArchiveOne Admin console.

    Verify that the ArchiveOne Admin console is closed as it maintains a cache in memory.

Step 2. Edit Configuration File

  1. Browse to the policy created in the previous set of steps, by default \\Configuration_Server\Add-ins\AOnePol\Policy_Name
    where Configuration_Server is the name of the Configuration Server (available on the Status node) and Policy_Name is the name of the policy you have just created.
  2. Open the file Policy_Name.c2c in Notepad, and search for the XXXX placeholders created in the previous set of steps.
  3. Replace the XXXX placeholders with the text on which to search.

    Insert your text between the ¬ characters, and separate keywords and phrases with a semicolon or an OR operator. For example:

    TagMessages=0
    Text0=¬this is a very long text string so I’ve had to manually edit the file;this is another very long text string that I am searching for too;¬ Text1=¬user1@domain.com;user2@domain.com;user3@domain.com;user4@domain.com;user5@domain.com;user6@domain.com;¬
    WhatFolderDelete=0

  4. Save and close the file.

Step 3. Run Your Policy

You can now manually run your policy from the ArchiveOne Admin console, or allow it to run according to the schedule you have set.

Do not attempt to edit the policy criteria from the ArchiveOne Admin console once you manually edit the configuration because the number of characters in the string will not be permitted by the interface.

For more information on policies, see How to Configure and Run Policies.