Quarantine Port auf Port 8007 ändern

Oct 18, 2019
22
2
23
42
Hallo Gemeinde,

ich habe den Port auf 8007 geändert:

"/etc/pmg/pmg.conf"

section: spamquar
reportstyle verbose
hostname mx2.xxx.de
port 8007

Die Daily Spam Reports kommen auch:

https://mx2.xxx.de:8007/quarantine?...R1250T206294144&date=2019-10-22&action=delete

Der Link ist abgekürzt. Leider wird das Webinterface nicht geöffnet. Was muss ich nachtragen, damit es funktioniert?

Der Hintergrund ist, dass ich von extern keinen drauflassen möchte, der sich mit dem root-Account anmelden könnte..(PW ist natürlich gesetzt)

Danke im Voraus!
cyprian
 
Das kann man auch machen.

warum öffnet sich dann nicht das webinterface, wenn ich z.b. auf delete gehe:


Last login: Wed Oct 23 11:04:41 2019 from 192.168.200.26
root@mx2:~# pmgsh get /config/spamquar
200 OK
{
"digest" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"hostname" : "mx2.xxx.de",
"lifetime" : 21,
"port" : 8007,
"reportstyle" : "verbose"
}
root@mx2:~#
 
die config-settings für die Spamquarantäne werden ausschließlich für die generierte mail, die an die user geht, verwendet.
dass auf dem anderen Port (oder hostname) auch etwas lauscht muss extern gemacht werden.
z.b. einen nginx oder apache proxy davorstellen, der dann an pmgproxy weiterleitet (siehe den wiki-artikel zu PVE als Startpunkt [0]) - dort kann dann auch eingeschraenkt werden, dass nur URIs deren Pfad mit /quarantine anfaengt weitergeleitet werden.

Ich hoffe das hilft

[0] https://pve.proxmox.com/wiki/Web_Interface_Via_Nginx_Proxy
 

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!