Remove image attachments and text from emails before mailbox arrival

I have configured a mailbox for staff to email their IT issues to.
All our users have a signature that contains some legal text and few images (company logos and what not... the usual garbage)

Is there a way I can remove the text and images from the email BEFORE it arrives into the mailbox.
Maybe with a hub transport rule or a third party application that can forward it on?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Simon Butler (Sembee)ConsultantCommented:
You cannot remove attachments with transport rules (it does have attachment inspection, but that blocks the attachment).

The only tool that I can think of that that might do it is Code Two rules pro. It isn't specifically written, but it might be something it can do, perhaps via a rule reversal.

Version of Exchange would be helpful.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
antoniokingAuthor Commented:
Thank you gentlemen
Currently all user signature .htm files are stored on a share.
Group Policy copies the file to the user's PC

This codetwo application could prove very useful indeed!
antoniokingAuthor Commented:
This tool is great for removing keywords, it even allows you to use regular expressions!
Downfall is the attachment support is minimal. You can either remove ALL attachments, attachments of a particular size, or attachments of a particular file type which does not cover my requirement.

I need to be able to specifically target these signature images.
Adam (CodeTwo Software)IT AnimalCommented:
Hi antonioking,

The only solution I see is using the Force email format action set to Convert messages to Plain Text. This will remove all the images embedded in the body of an email, regardless if they were in the signature or in the email text. Note that, if your users used to send you e.g. images that illustrate the issues they noticed, they would now have to send those images as standard attachments.

Also keep in mind that the Force email format action will remove any other HTML content such as tables, font formatting, embedded hyperlinks, etc.

BTW, can you share the reason for using Group Policy instead of Hub Transport rules to add email signatures? Maybe that would put us on a track to finding an alternative solution.

Best regards,
antoniokingAuthor Commented:
Thanks Adam
I have enabled the Force Email format rule and I am re-formatting the emails as Text. However the embedded images are simply added as attachments.

Our email signatures are stored on a shared folder.
Group Policy will copy the users signature to the %APPDATA%\Microsoft\Signatures folder
Reason for storing the signature files and not using rules is because our signature's are in html format, contain a number of images depending on the user's department. The signature also contains links to social media pages and contact information for the user.
Simon Butler (Sembee)ConsultantCommented:
If you were to use a proper signature management tool then you could configure everything that you want on the signatures (although I am not a fan of images in signatures at all). That way if a member of staff moves to another department, simply update in one place and it works. The signature would also be applied no matter how the email was sent - Outlook, ActiveSync or OWA.
You could also then configure a rule to not apply the signature when sent to the mailbox in question.

antoniokingAuthor Commented:
Hi Simon
I'm definitely going to look into this. I'm also not a fan of the imagery but it's our directors wish to include them.
Currently, it is very easy to manage. We do only have to update the signatures in one place, since everyone's signatures are in one shared folder, and GPP handles copying the files to the users computers. If we need to update a bulk of them or all of them I simply use find and replace and open all the files in NotePad++

But yes, do agree this CodeTwo tool could fit ours needs and does sound much easier to manage.
The fact it will add the signature to all outgoing mail (activesync and owa) is a huge plus.

Thank you guys, I'm not sure yet how we can remove these specific signature images but the tool has already proved very useful in removing the text and common phrases!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.