Solved

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

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

Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

Join & Write a Comment

Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
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.
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
In this video we show how to create an email address policy 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 Mail Flow…

758 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

22 Experts available now in Live!

Get 1:1 Help Now