Solved

Outlook - redirect email with certain attachment types to sub-folder

Posted on 2016-10-07
3
48 Views
Last Modified: 2016-10-26
We have Outlook 2010, 2013 and 2016 clients connected to hosted exchange.  Every now and then we get a flood of emails through from random addresses where the attachments have already been stripped and replaced with a *orig-filename*.zip.txt or *orig-filename*.pdf.txt file by the host's spam filters.

I have contacted the hosted provider many times to request server side rules to redirect any emails with these attachment types to a quarantine mailbox, or even just add a prefix to the subject line so that we can add client-side rules based on subject, however such requests are always ignored or rejected as not possible.

We have tried using VBA - file attached for reference - however it seems to just stop working after a few days or weeks for reasons unknown.

Is there any other way of achieving specifically this within Outlook, or OWA?

I have found users play around with or disable any obvious third party tools that add a toolbar or extra icons - especially if they perceive Outlook to be slowing down, so would like something unobtrusive!  Unfortunately, the anti-virus we use doesn't have an Outlook spam add-in.

Thanks in advance, any advice much appreciated!
vba.txt
0
Comment
Question by:fourthgen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
BillBondo earned 500 total points (awarded by participants)
ID: 41833927
Might help. I used a forwarding vba script but I needed to add the module to outlook vba for it to work. It looked for NDR's so you would need to alt it for extensions. Perhaps your code will work with the module. Setup through rules not sure if it was client side or server side. The module is needed to be able to select a script when creating a new rule.
Something I have been working on.
vba.JPG
undeliv.txt
0
 

Author Comment

by:fourthgen
ID: 41858288
Sorry for late response BillBondo, I've not had a chance to check whether module is there or test NDR script yet but appreciate the input.  Will work backwards from the script you've provided and keep fingers crossed!
0
 
LVL 11

Expert Comment

by:BillBondo
ID: 41859965
Seemed to work ok when I tested on my outlook.
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

726 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