Add a BCC to service account mails to enable threading #123

Merged
silver merged 3 commits from #84-improve-topdesk-organisation into main 2024-07-25 08:21:34 +00:00
Showing only changes of commit 4f87e56d63 - Show all commits

View file

@ -105,10 +105,10 @@ with lib; let
# this should be close to teh last step
if allof (
address :localpart ["To"] ["${toString create_config_to}"],
address :domain ["To"] "skynet.ie"
address :localpart ["To", "Cc"] ["${toString create_config_to}"],
address :domain ["To", "Cc"] "skynet.ie"
){
if address :matches ["To"] "*@skynet.ie" {
if address :matches ["To", "Cc"] "*@skynet.ie" {
if header :is "X-Spam" "Yes" {
fileinto :create "''${1}.Junk";
stop;