Load balancing: Only provide web interface on one node and email notification

workpush

New Member
Feb 6, 2023
14
2
3
Hello!
In the documentation it is said (https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#_load_balancing):
Code:
The second node can then be used as a quarantine host, that only provides the web interface to the user quarantine.
1. But I did not find a chapter, how to configure that - so can you tell me, how to configure the web interface to be just reachable for one node?

2. Which email is taken then to inform the user about new quarantine mails?
I currently get something like postmaster@pmg-03.server.XXX.de. The mails are also not DKIM signed. Can I change this for a cluster? And change the mail per relay-domain?

Thank you!!
 
1. But I did not find a chapter, how to configure that - so can you tell me, how to configure the web interface to be just reachable for one node?
a) GUI->Configuration->Spam Detector->Quarantine (the quarantine host and port settings) - these a basically used to construct the links for the spamreport (and the quarantine is only accessible on the master node)
b) you can configure a nginx-proxy for quarantine access - see:
https://pmg.proxmox.com/wiki/index.php/Quarantine_Web_Interface_Via_Nginx_Proxy
and also check out the getting started page:
https://pmg.proxmox.com/wiki/index.php/Getting_started_with_Proxmox_Mail_Gateway
(with all linked pages)

2. Which email is taken then to inform the user about new quarantine mails?
I currently get something like postmaster@pmg-03.server.XXX.de. The mails are also not DKIM signed. Can I change this for a cluster? And change the mail per relay-domain?
the from header is fixed for the reports - and the envelopesender is kept empty (to prevent bounces for reports)
see https://bugzilla.proxmox.com/show_bug.cgi?id=2971 for why dkim signing is not (yet) possible for those mails
 

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!