Incoming mail - attaching multiple disclaimers

tux-o-mat

New Member
Apr 23, 2024
1
0
1
Hi!
I am searching for a method to attach more than one disclaimer to a mail. Currently only the last one ist attached.

Example:
Rule1 (weight 50) | Direction in | Disclaimer "this mail is send from external"
Rule2 (weight 49) | Direction in | If Office-File | remove file | Disclaimer "this mail contained an office file which was removed"

Now for mails without the office-attachment, Rule1 is executed fine. Mails with the office-attachment will only get the disclaimer from Rule2.

The log suggests, both rules are executed, but the first disclaimer never makes it into the mail:
Code:
2024-04-23T14:23:05.927923+02:00 mailrelay pmg-smtp-filter[1364]: 3805D16627A8297A54C: added disclaimer (rule: external_sender)
2024-04-23T14:23:05.928186+02:00 mailrelay pmg-smtp-filter[1364]: 3805D16627A8297A54C: added disclaimer (rule: external_sender)
2024-04-23T14:23:05.929721+02:00 mailrelay pmg-smtp-filter[1364]: 3805D16627A8297A54C: removed attachment 5 ('test.docx', rule: unwanted_files)
2024-04-23T14:23:05.930267+02:00 mailrelay pmg-smtp-filter[1364]: 3805D16627A8297A54C: added disclaimer (rule: unwanted_files)
2024-04-23T14:23:05.930545+02:00 mailrelay pmg-smtp-filter[1364]: 3805D16627A8297A54C: added disclaimer (rule: unwanted_files)

Has anyone else had this behaviour?

PMG Version: 8.1.2

thx
 

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!