Discard emails from serokell-bot

This commit is contained in:
Alexander Bantyev 2023-02-03 15:02:27 +04:00
parent 6a1a85c838
commit 43e8bc41ac
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -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" ];