how to automatically archive attachments without using a client-side rule RRS feed

  • Question

  • Hello, If this is the wrong forum, please redirect me. I have a non-human mailbox in my Exchange 2010 SP1 organization that receives daily emails with attachments. The user who checks this mailbox wants to automatically archive these attachments to a certain location on the file system. Currently this functionality is implemented as a VBA script in a client-side Outlook rule of the non-human mailbox. (The sender will not use FTP, unfortunately, so we're stuck with the email setup.) The user wants to "productionize" the attachment-saving process by putting it on a server. I really don't want to run Outlook on a server...is there any way to do this with a server-side rule, or in a Powershell script I can schedule against the mailbox, or something?
    Tuesday, January 31, 2012 8:35 PM

All replies

  • Hi
    You can use both Transport Rule and Retention Policy to automatically doing Archive
    First, Create a new mailbox to save those email with attachment
    Then set a Transport Rule, please refer to Create a Transport Rule
    In Conditions, choose "when the size of any attachment is greater than or equal to limit", and in action, choose "copy the message to addresses", in order to send the attachment to the new mailbox.
    After that, set a Retention Policy Tag, please refer to Create a Retention Tag
    In Retention Policy Tag, Choose Tag Type "All other folders in the mailbox", and days set to 1 day, action choose "Move To Archive"
    Then In Rentention Policies, apply this Tag to the mailbox
    Zi Feng


    Thursday, February 2, 2012 7:22 AM
  • This doesn't allow saving to the filesystem, does it? It just puts it in a separate archive mailbox, which isn't any different from the current setup.
    Friday, February 3, 2012 4:07 PM
  • why would you wanna save it to the file system? 

    how big is the user base?

    Where Technology Meets Talent
    Saturday, February 4, 2012 3:42 AM
  • Because multiple people access these attachments and they would rather get them from the filesystem than by mounting the mailbox. Also, there are scripts that run against these attachments once they're saved down. I'm not sure why the size of the user base matters, but there are about 150 mailboxes.
    Monday, February 6, 2012 2:31 PM
  • Did you follow the Zi Fengs above link? 
    Where Technology Meets Talent
    Monday, February 6, 2012 10:49 PM
  • Hi

    You can Export and save that new created mailbox using command new-mailboxexportrequest, please refer to


    The command should be like

    New-MailboxExportRequest -Mailbox Kweku -FilePath "\\SERVER01\PSTFileShare\Kweku_Archive.pst" -IsArchive

    And if you like someone write the full script, you can go to Sciprt Forum and you might find some help there



    Zi Feng

    • Edited by Zi Feng Tuesday, February 7, 2012 4:45 AM
    Tuesday, February 7, 2012 1:37 AM