Add Blacklist link in mail footer for all mails [FR : Ajouter un lien Blacklist dans le pied de page pour tous les mails]

Lood

New Member
Oct 10, 2019
1
0
1
42
Hello,

I would like to add a footer for all the mails received so that the user can directly add this mail in blacklist.

In the "Mail filter" "Action Objects", there is no possibility to choose this option; or I can not find it!

I look at the composition of the blacklist link for each email of the daily report and got the following information:

https://myserver.mydomain.com:8006/...315T96005484&date=2019-10-14&action=blacklist

or by shortening:
https://myserver.mydomain.com:8006/...01T184570545&date=2019-10-14&action=blacklist

Finally, using the variables available for in the documentation [pmg-docs/pmg-admin-guide.html#rule_system_macros], I generate a link like this:
<a href='https://myserver.mydomain.com:8006/...CT__&cselect=__MSGID__&date=&action=blacklist'>Liste Noire</a>

The generated link does not work ... something must be missing, but what? can this work?

My questions :
is the generation of this link possible?
is it an improvement planned to propose this in the "Actions Objects"?
 
Last edited:
is the generation of this link possible?
No - the link contains the quarantine ticket (which is used for authentication to the quarantine and the reason why your disclaimer does not work) - this is not exposed within the template variables you can use for a Disclaimer

is it an improvement planned to propose this in the "Actions Objects"?
currently no - but there are other things that you can already do (and which might be better in the long run):
* all users can use a link in their quarantine report to log into the quarantine interface - and edit their individual white an blacklist there
* this gives them the possibility to add wildcards as well instead of only adding single mail-addresses.
* this also prevents them from adding thousands of addresses to their white-/blacklists (which is not too good for performance)

I hope this helps!
 

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!