diff --git a/profiles/servers/mailserver.nix b/profiles/servers/mailserver.nix index 9808405..9419606 100644 --- a/profiles/servers/mailserver.nix +++ b/profiles/servers/mailserver.nix @@ -82,6 +82,12 @@ in { aliases = [ "balsoft" "admin@balsoft.ru" "patches" "patches@balsoft.ru" "issues" "issues@balsoft.ru" "admin" "root@balsoft.ru" "root" ]; hashedPasswordFile = config.secrets.mailserver.decrypted; + sieveScript = '' + if header :is "X-GitHub-Sender" "serokell-bot" { + discard; + stop; + } + ''; }; "mastodon@balsoft.ru" = { aliases = [ "mastodon" ];