fix: include cc's for incoming mail

This commit is contained in:
silver 2024-07-24 20:47:58 +01:00
parent 9c7d08c153
commit 4f87e56d63
Signed by: silver
GPG key ID: 54E2C71918E93B74

View file

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