Removing all attachment also block contents


Well-Known Member
Dec 19, 2016
Quebec, QC

I'm trying to remove all attachment received by an email address. When I use the action remove all attachment, this also match "plain/text" attachement that content the message. Is there a way to block all attachment but allow text/plain and text/html?

Hm - the first mime-part of the message (the content) should remain untouched if it has a fitting content-type (text/*).
However it seems that doesn't catch those mails which are multipart/alternative (i.e. containing text/plain and text/html) - A colleague is working on a patch - so it should be fixed soon

I hope this helps!


The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!