mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 06:10:53 +01:00
Trying advanced sieve thingies
This commit is contained in:
parent
9f74ffc262
commit
b9209a815c
1 changed files with 9 additions and 0 deletions
|
@ -23,6 +23,15 @@ with lib;
|
|||
"julien@malka.sh" = {
|
||||
hashedPasswordFile = "/run/secrets/malkash-pw";
|
||||
catchAll = [ "malka.sh" ];
|
||||
sieveScript = ''
|
||||
require ["variables", "fileinto", "envelope", "subaddress", "mailbox"];
|
||||
|
||||
if envelope :matches :user "to" "*" {
|
||||
# you can prefix with INBOX/ or INBOX. if necessary
|
||||
# remove :create if you want to permit only existing mailboxes
|
||||
fileinto :create "''${1}";
|
||||
}
|
||||
'';
|
||||
};
|
||||
"julien.malka@ens.school" = {
|
||||
hashedPasswordFile = "/run/secrets/ensmailmalka-pw";
|
||||
|
|
Loading…
Add table
Reference in a new issue