fix: include cc's for incoming mail
This commit is contained in:
parent
9c7d08c153
commit
4f87e56d63
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue