Quarantine: How to include node name in notification?

admail

New Member
Apr 14, 2022
16
2
3
Hi!
When an attachment gets quarantined, the user already receives a notification. As we are using two mail gateways in cluster configuration and mail gets load balanced via HA proxy, the user never knows on which of both nodes the attachment got quarantined.

I did not find a macro (https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#rule_system_macros) like "__HOSTNAME__" that we can include into the notification. Any ideas?

Thanks!
Daniel
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
7,385
1,186
164
When an attachment gets quarantined, the user already receives a notification. As we are using two mail gateways in cluster configuration and mail gets load balanced via HA proxy, the user never knows on which of both nodes the attachment got quarantined.
the Attachment quarantine (like the spamquarantine and virus quarantine) is synchronized inside a PMG cluster - you should be able to reach it from any node - so I'm not sure why this is necessary?
 

admail

New Member
Apr 14, 2022
16
2
3
the Attachment quarantine (like the spamquarantine and virus quarantine) is synchronized inside a PMG cluster - you should be able to reach it from any node - so I'm not sure why this is necessary?
Interesting information! When I'm searching the spam quarantine on both nodes, I get different results!
When checking the Cluster settings, both nodes say "State:syncing".
 

Stoiko Ivanov

Proxmox Staff Member
Staff member
May 2, 2018
7,385
1,186
164
When checking the Cluster settings, both nodes say "State:syncing".
seems there's an issue with your cluster then (active is the state when everything is ok)...

check the logs - especially for message from pmgtunnel and pmgmirror
 

admail

New Member
Apr 14, 2022
16
2
3
Thanks - we found out, that we had an issue with the tunnel service. It's fixed now :)
 

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 your own in 60 seconds.

Buy now!