home: mail: separate email channels
Provide a "full" channel that synchronized everything, and a lightweight "main" channel that fetches just what I need quickly.
This commit is contained in:
parent
d61c80cec4
commit
128b498f77
|
@ -42,6 +42,26 @@ in {
|
|||
enable = true;
|
||||
create = "both";
|
||||
expunge = "both";
|
||||
groups = {
|
||||
alarsyo-main.channels.alarsyo-main = {
|
||||
patterns = ["INBOX" "Sent" "Drafts" "Junk" "Trash"];
|
||||
extraConfig = {
|
||||
Create = "Both";
|
||||
Expunge = "Both";
|
||||
Remove = "None";
|
||||
SyncState = "*";
|
||||
};
|
||||
};
|
||||
alarsyo-full.channels.alarsyo-full = {
|
||||
patterns = ["*" "!INBOX" "!Sent" "!Drafts" "!Junk" "!Trash"];
|
||||
extraConfig = {
|
||||
Create = "Both";
|
||||
Expunge = "Both";
|
||||
Remove = "None";
|
||||
SyncState = "*";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
msmtp.enable = true;
|
||||
mu.enable = true;
|
||||
|
|
Loading…
Reference in a new issue