Proxmox MailGateway login via Curl: curl -k -d 'username=root@pam' --data-urlencode 'password=sd7fv72vf' --insecure Example response:...
Login failed to Proxmox MailGateway and 595 status code is reported:
To fix simply reset the password:
passwd
and run:
pmgconfig apicert --force 1
systemctl restart pmgproxy pmgdaemon
Source: PMG Web login reset