mbsync: per-account groups can have additional patterns

Gave the
`accounts.email.accounts.<name>.mbsync.groups.<gname>.channel.<cname>`
set a `patterns` option, which will allow for greater customization
and filtering of the master maildir to sync to the slave maildir.
This commit is contained in:
Karl Hallsby 2020-06-27 02:18:50 +02:00
parent 2ce482d187
commit c62cb82e65

View file

@ -76,6 +76,19 @@ let
<literal>INBOX</literal>. <literal>INBOX</literal>.
''; '';
}; };
patterns = mkOption {
type = types.listOf types.str;
default = [ ];
example = [ "INBOX" ];
description = ''
Instead of synchronizing <emphasis>just</emphasis> the mailboxes that
match the <literal>masterPattern</literal>, use it as a prefix which is
not matched against the patterns, and is not affected by mailbox list
overrides.
'';
};
}; };
}; };