• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1785
  • Last Modified:

Rule to delete attachment

Can I create a rule to automatically delete all inbound attachment using Outlook client or at Exchange server end?  But do not delete the message itself.
0
mn10191b
Asked:
mn10191b
  • 3
  • 3
  • 3
2 Solutions
 
sysadmin81Commented:
You can create a rule in outlook, but I recommend having your Antivirus strip attachments since Exchange 2003 does not have the option to block attachments.
0
 
mn10191bAuthor Commented:
Please elaborate on how to create the Outlook rule.  I can create a blank rule which fires when the message with attachement arrives.  But I did not see an option to delete the attachement.  

I need this rule to be based on the server.  Besides, I need to message but not any attachement.  This is to save space not for security reason.
0
 
sysadmin81Commented:
Below is a good way to block it at the outlook level.  You could just set a policy to limit the size of messages that are allowed to be sent to any user.




There are a number of file extensions that Outlook blocks by default. In fact, there are too many to list here, but they primarily consist of extensions used by executable files and system files. You can see the full list here if you're interested.

You can customize Outlook's blocking rules by editing the system registry.

Important: If you make a mistake when editing the registry, you can seriously impair Windows and/or your applications. Make sure you always perform a full system backup before playing with the registry.

   1. Open the Registry Editor and navigate to HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security.
   2. Select New -> String Value from the Registry Editor's Edit menu.
   3. Create a new string value named Level1Add (this is case sensitive).
   4. Then assign the string a value corresponding to the file extension that you want to block. For example, if you wanted to block Word documents, you would assign the value .DOC. (You can enter multiple extensions by separating them with a semicolon.)
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
Chris BottomleyCommented:
You could also run a macro on receipt, (can be fully automatic) to strip out all attachments ... or you could save them to somewhere just in case.

Chris
0
 
mn10191bAuthor Commented:
I need this to base on exchange server.  Nobody will check the email except a software application checks email volume.
0
 
Chris BottomleyCommented:
You originally said the outlook client was a possibility, noting that the macro will automatically run on receipt of an email deleting attachments is it the case that this would not be appropriate for your needs?

Chris
0
 
mn10191bAuthor Commented:
I would like to create the rule via Outlook client and the rule ends up on the server.  So the rule fires even when outlook is not running.  The mailbox in question is for a software application to track email volume.  So nobody will run Outlook to check it if it runs normal.
0
 
Chris BottomleyCommented:
OK understand teh problem now but unfortunately resolution of this is not in my skill set so i'll leave you to it.

Chris
0
 
sysadmin81Commented:
I believe what you are asking for is not possible for a rule that runs on the server-side.

You can check out this vbscript that could run as a script under a rule.  However, I think it will be a client side rule and not a server side rule.

http://www.outlookcode.com/codedetail.aspx?id=70
0

Featured Post

Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

  • 3
  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now