[pmg-devel] [PATCH pmg-api v4 00/12] ruledb - improve experience for non-ascii tests and mails

Dominik Csapak d.csapak at proxmox.com
Thu Nov 24 13:21:00 CET 2022


as replacement for the v3 from stoiko (i did not resend the gui patches,
as they are ok and still valid)

i added some of my notes as follow ups (ldap/bwlist/refactors)
as well as modified some commit messages of stoiko

i tested with various configurations with ldap, including
unicode characters of the local part of the account/email
(i only got this to work in active directory...)

Dominik Csapak (4):
  quarantine: fix adding non-ascii senders to wl/bl
  utils: refactor rfc1522_to_html
  ldap: improve unicode support
  statistics: refactor filter_text generation

Stoiko Ivanov (8):
  utils: return perl string from decode_rfc1522
  ruledb: properly substitute prox_vars in headers
  fix #2541 ruledb: encode relevant values as utf-8 in database
  ruledb: encode e-mail addresses for syslog
  partially fix #2465: handle smtputf8 addresses in the rule-system
  quarantine: handle utf8 data
  pmgqm: handle smtputf8 data
  statistics: handle utf8 data.

 src/PMG/API2/Quarantine.pm      | 14 +++----
 src/PMG/CLI/pmgqm.pm            | 24 ++++++-----
 src/PMG/HTMLMail.pm             |  7 ++--
 src/PMG/LDAPCache.pm            | 31 ++++++++------
 src/PMG/MailQueue.pm            | 10 +++--
 src/PMG/Quarantine.pm           | 13 +++---
 src/PMG/RuleDB.pm               | 24 +++++++----
 src/PMG/RuleDB/Accept.pm        |  2 +-
 src/PMG/RuleDB/BCC.pm           | 23 ++++++++--
 src/PMG/RuleDB/Block.pm         |  2 +-
 src/PMG/RuleDB/Disclaimer.pm    |  2 +-
 src/PMG/RuleDB/Group.pm         |  4 +-
 src/PMG/RuleDB/LDAP.pm          | 11 +++--
 src/PMG/RuleDB/LDAPUser.pm      | 13 +++---
 src/PMG/RuleDB/MatchField.pm    |  8 +++-
 src/PMG/RuleDB/MatchFilename.pm |  5 ++-
 src/PMG/RuleDB/ModField.pm      | 19 +++------
 src/PMG/RuleDB/Notify.pm        | 24 ++++++++---
 src/PMG/RuleDB/Quarantine.pm    | 19 +++++++--
 src/PMG/RuleDB/Remove.pm        | 20 ++++++---
 src/PMG/RuleDB/Rule.pm          |  2 +-
 src/PMG/RuleDB/Spam.pm          | 17 ++++----
 src/PMG/RuleDB/WhoRegex.pm      |  5 ++-
 src/PMG/Statistic.pm            | 74 +++++++++++++++++++++++++--------
 src/PMG/Utils.pm                | 48 ++++++++++++---------
 src/bin/pmg-smtp-filter         |  7 ++--
 26 files changed, 277 insertions(+), 151 deletions(-)

-- 
2.30.2





More information about the pmg-devel mailing list