[pmg-devel] [PATCH pmg-api v2 0/9] fix #4926: run pmg-smtp-filter and pmgpolicy without root rights

Maximiliano Sandoval m.sandoval at proxmox.com
Wed May 29 16:12:54 CEST 2024


This patch series is the same as my previous patch, but split into multiple
commits. Additionally two strings were changed from double quotes to simple
quotes.


Maximiliano Sandoval (9):
  pmgpolicy: move pid file into /run/pmgpolicy
  pmg-smtp-filter: move pid file into /run/pmg-smtp-filter
  config: store config lock in smtp-filter runtime dir
  create new users for the rule db
  postinstall: add new user for shared functionality
  postinstall: make rrdcached be readable by the pmg group
  spamasassin: store files in dir managed by pmg
  mailqueue: make mail queue writable by pmg group
  fix #4926: run pmg-smtp-filter and pmgpolicy without root rights

 debian/pmg-smtp-filter.service |  5 ++-
 debian/pmgpolicy.service       |  5 ++-
 debian/postinst                | 64 ++++++++++++++++++++++++++++++++++
 src/PMG/Config.pm              | 12 +++----
 src/PMG/DBTools.pm             | 26 ++++++++++++--
 src/PMG/MailQueue.pm           |  7 ++--
 src/PMG/Report.pm              |  2 +-
 src/PMG/Utils.pm               |  2 +-
 src/bin/pmg-smtp-filter        |  8 ++---
 src/bin/pmgpolicy              |  8 ++---
 10 files changed, 116 insertions(+), 23 deletions(-)

-- 
2.39.2





More information about the pmg-devel mailing list