[pmg-devel] applied: [PATCH pmg-api] add logging to disclaimer action

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jun 18 18:31:43 CEST 2020


Am 6/18/20 um 1:33 PM schrieb Stoiko Ivanov:
> the disclaimer action currently does not log, if a disclaimer got added or not.
> given that there are a few not directly obvious cases where a disclaimer does
> not get added (e.g. it depends on the mail's encoding) - logging success or
> failure should help in debugging
> 
> Tested by sending mails, where adding the disclaimer works, and where it fails.
> verified that the log-tracker also adds those lines to its output.
> 
> Signed-off-by: Stoiko Ivanov <s.ivanov at proxmox.com>
> ---
> reported via Enterprise support - and it took me quite a while until I found
> the culprit (non-ascii characters in the disclaimer text).

ouch

>  src/PMG/RuleDB/Disclaimer.pm | 17 +++++++++++++----
>  1 file changed, 13 insertions(+), 4 deletions(-)
> 

applied, thanks!



More information about the pmg-devel mailing list