Add a text on top of the message

Aug 9, 2023
18
4
3
Hi all,
I need to configure my email spam filter and add a message at the top the email when somehting is detected, like a disclaimer but place on top then and not on the bottom.
I didn't find a way to do this, does this possiblity exist in "Mail Gateway 7.3-8"?

Thank you for your support!
Den
 
Last edited:
Hi Stoiko,

Thank you for your answer!
That would be super great to have this feature implemented at some point. :)
I also thought to tag the subject, but this is not wished in our infrastructure.

Best.
Den.
 
You need to modify the /usr/share/perl5/PMG/RuleDB/Disclaimer.pm to add the content on the top of message.
Don't forget to backup before you do the replace. You can do difference check to verify the changes.

p/s the file I downloaded from a website, not from me. I forgot the name of website.
 

Attachments

About

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!