~yoctocell/nixrc

cc1b2c823c568d8d6917e6c8ca7c5c4340d046ac — Xinglu Chen 7 months ago 1119786 master
profiles: mailserver: Update sieve.
1 files changed, 5 insertions(+), 1 deletions(-)

M profiles/mail/mailserver/default.nix
M profiles/mail/mailserver/default.nix => profiles/mail/mailserver/default.nix +5 -1
@@ 39,8 39,12 @@ in
        hashedPassword = passwords.mail.listsPasswd;
        sieveScript = ''
          require ["variables", "envelope", "fileinto", "subaddress", "mailbox"];

           if header :contains ["To"] "lists@yoctocell.xyz" {
             fileinto "INBOX";
           }
        
           if allof (header :matches ["Subject"]
           elsif allof (header :matches ["Subject"]
             "Your confirmation is required to join*",
             header :contains ["To"] "lists@yoctocell.xyz") {
             fileinto "INBOX";