Closed Karmak23 closed 9 years ago
And in fact, after having added the symlink ~/Mail
to ~/.Maildir
, mailpile seem to index the contents twice, accepting to work with the dotted maildir while it refused before. Very strange.
The current code doesn't skip dotfiles, so either this has been fixed or was based on a misunderstanding (possibly caused by other bugs). Closing, thank you for the report!
On my mail server, the “main” is
~/.Maildir
(note the leading dot), to avoid maildirs to show up in user home directories when they browse them with graphical file managers.Because maildirs are served by IMAP server, they are considered “internal” and we (sysadmins) don't want them to show up without the user knowing what he's looking for.
In mailpile, while
add ~/.Maildir
seems to work correctly, therescan
command doesn't:Note the
0000: Skipped: /home/olive/.Maildir
.If I just do
cd ~/ ; ln -sf .Maildir Mail
and then run commands with~/Mail
, everything goes smoothly.Assumption that dotfiles should be skipped seems wrong in this case, and will be even more wrong when you will implement #537. Nested maildirs — with courier-imap or dovecot servers for example — all start with a dot, eg. the dir tree is like:
Regards,