Solved

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

Posted on 2016-10-07
3
51 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
Changing a few Outlook Options can help keep you organized!
In this video we show how to create a mailbox database 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 >> Data…
This Experts Exchange video Micro Tutorial shows how to tell Microsoft Office that a word is NOT spelled correctly. Microsoft Office has a built-in, main dictionary that is shared by Office apps, including Excel, Outlook, PowerPoint, and Word. When …

705 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