Open anarcat opened 6 years ago
You are definitely right
Before fixing the bug I want to improve https://github.com/gares/syncmaildir/blob/master/tests.d/mddiff/06-listing-folders
I have some troubles reproducing your bug, since it seems your configuration is such that mddiff
is
called as follows: mddiff -l GoodDirectory SymlinkToANonDirectory
. Looking at https://github.com/gares/syncmaildir/blob/master/smd-check-conf#L59 . Can you confirm the value of your MAILBOX_LOCAL
variable?
i must admit i also had trouble reproducing this while filing this bug report. it sometimes happens, sometimes not, and it's unclear to me when...
right now i have this:
MAILBOX_LOCAL=Maildir-smd/
MAILBOX_REMOTE=Maildir/
... but before it was:
MAILBOX_LOCAL=Maildir/Anarcat/
MAILBOX_REMOTE=Maildir/
In both cases, the notmuch directory is in Maildir/.notmuch
, in remote and local. Now that I use Maildir-smd
however, there's no .notmuch
directory there but there will be when i move that folder back in Maildir/Anarcat
.
I use notmuch to index my mails. This means that in my
Maildir
folder, there is aMaildir/.notmuch/hooks/
subfolder which has various programs that run before and after notmuch is ran. To version-control that stuff, I use symlinks, so things look like this:When
smd-check-conf
finds this folder, it freaks out:I don't think it should freak out like that - those files should just be ignored out of the box. Naturally, I can easily make smd ignore those files with:
I'm not sure I need to ignore the Xapian folder as well, but it seems safer.