Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2016-10-07
3
Medium Priority
?
59 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 2000 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month20 days, 18 hours left to enroll

810 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