mirror of
https://git.proxmox.com/git/proxmox-mail-forward
synced 2025-04-28 16:56:09 +00:00

It is intended to replace the current pvemailforward binary+script in PVE and also be used in PBS. The implemenation is largely based on the pvemailforward script to try and keep behavior mostly the same in PVE. To read the config in PBS, the binary would need to belong to backup:backup with setuid and setgid bits (proxmox-backup is 700 owned by backup:backup and user.cfg is 640 owned by root:backup). To read the configs in PVE the setgid bit for www-data would need to be set. To avoid this issue, the helper will be a root-owned setuid binary and set the effective UID to the real UID, after reading in the config files. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
2 lines
17 B
TOML
2 lines
17 B
TOML
edition = "2021"
|