[SOLVED] PMG Disclaimer - HTML and Text only possible

Oct 13, 2020
Hello Forum,

we recently changed our mail gateway infrastructure to PMG and we are quite happy with it. Nevertheless we do have one issue. We use HTML disclaimer we add with the action/ruleset in PMG. Is there any reliable way to have an alternative disclaimer for text only mails? How can we differentiate? Text only mails are mainly coming from our commercial invoicing system for example.

Thank you and best regards,

The disclaimer gets added to the first mime-part of the mail having a content-type of 'text/.*' (or all parts matching 'text/.*' if they are sub-parts of a 'multipart/alternative'.

You add the disclaimer text as html to the rule-system, it gets decoded to plain-text by PMG (the text/html parts of the message get your disclaimer, the text/plain parts get the decoded version)

There is currently no way to add different disclaimers for text/html and text/plain

You might be able to work something out with the rule-system - e.g. by creating a rule for mails from your commercial invoicing system (match them by Who object, or a What object matching the subjects or from headers) - if that matches you add the disclaimer meant for those mails and accept the mail. Then create a rule with lower priority without matching the invoicing system - add your regular disclaimer there.

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!