Rewriting e-mail headers (recipients) in Postfix (not header_checks) depending on complex logic

I have a mail system on Postfix+dovecot+amavisd+spamassassin+clamav. Now there is a task, an easy one, actually, but I still cannot find a solution. I need to change headers in emails according to several rules. For example, IF (<TO> CONTAINS ‘ALIAS_1’ AND <TO> CONTAINS ‘SOMEONE FROM ALIAS_1′) OR (IF <TO>=’ALIAS_1’ AND <CC> CONTAINS ‘SOMEONE FROM ALIAS_1’)…

Puppet Package class can’t detect installed package when multiple versions are present

I am trying to install the kernel-devel package matching the running kernel version. My guess was: package { ‘kernel-devel’: ensure => “${facts[‘kernelrelease’]}”, } but it doesn’t work if more than one kernel-devel package are already installed. This is the error I get: Error: Could not update: Failed to update to version 3.10.0-957.21.3.el7.x86_64, got version 3.10.0-957.21.3.el7;…

Error: peer certificate cannot be authenticated with given ca certificates NGINX, TOMCAT 8 and GOGS with CA certificate

I’m trying to configure a VPS on Ubuntu Server 18.04 which I hace installed GOGS, JENKINS and TOMCAT. With Nginx, I only allow to make https requests but when I make from Insomnia to an api web service deployed in Tomcat I’m getting the message “peer certificate cannot be authenticated with given ca certificates “.…