Go to file
Fiona Ebner 28f222cd6e initial commit
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>
2022-11-10 11:28:17 +01:00
.cargo initial commit 2022-11-10 11:28:17 +01:00
src initial commit 2022-11-10 11:28:17 +01:00
.gitignore initial commit 2022-11-10 11:28:17 +01:00
Cargo.toml initial commit 2022-11-10 11:28:17 +01:00
rustfmt.toml initial commit 2022-11-10 11:28:17 +01:00