Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

excluding subscribed folders #2

@anarcat

Description

@anarcat

One of the problems I have migrating from OfflineIMAP is that I restrict the sync to subscribed folders, which makes it much more efficient. It also keeps archives from propagating everywhere and seems like generally good hygiene.

Implementing this with smd seems hard: while there is an EXCLUDE configuration option, it's not very flexible: it's just a static list of files. I guess I could make it looks something like:

EXCLUDE=$(ssh example.net cat Maildir/subscriptions)

... but I doubt that would actually work. In fact, I had trouble making excludes work at all. I was able to exclude the .notmuch/hooks/ directory (otherwise smd would just crash on the symlinks that are there), but not much else. I used to have, for example, a Maildir/Koumbit folder on the remote server. I was never able to make smd ignore that folder.

Maybe that's another bug report, but it makes me feel exclude pattern matching is brittle and hard to implement. I feel it might be better to delegate this to mddif which could parse that file more reasonably...

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions