Solved

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

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
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…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now