ImapSync to ignore Shared Folders
I am trying to setup imapsync to backup the mailboxes but would like to ignore shared folders. Is it possible to do that. On the UI preferences->Sharing has a list of shared folders that the account is using, is it possible to get this through CLI so I can integrate it with imapsync?
imapsync option to ignore folders
Use --exclude option
imapsync ... --exclude ShareFolder1 --exclude ShareFolder2
imapsync ... --exclude 'TopShareFolder.*'