Discard emails from serokell-bot
This commit is contained in:
parent
6a1a85c838
commit
43e8bc41ac
@ -82,6 +82,12 @@ in {
|
|||||||
aliases =
|
aliases =
|
||||||
[ "balsoft" "admin@balsoft.ru" "patches" "patches@balsoft.ru" "issues" "issues@balsoft.ru" "admin" "root@balsoft.ru" "root" ];
|
[ "balsoft" "admin@balsoft.ru" "patches" "patches@balsoft.ru" "issues" "issues@balsoft.ru" "admin" "root@balsoft.ru" "root" ];
|
||||||
hashedPasswordFile = config.secrets.mailserver.decrypted;
|
hashedPasswordFile = config.secrets.mailserver.decrypted;
|
||||||
|
sieveScript = ''
|
||||||
|
if header :is "X-GitHub-Sender" "serokell-bot" {
|
||||||
|
discard;
|
||||||
|
stop;
|
||||||
|
}
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
"mastodon@balsoft.ru" = {
|
"mastodon@balsoft.ru" = {
|
||||||
aliases = [ "mastodon" ];
|
aliases = [ "mastodon" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user