[PATCH] folder/Maildir: ignore dot files
cs at zip.com.au
Sun Dec 6 01:08:54 GMT 2015
On 05Dec2015 12:55, Nicolas Sebrecht <nicolas.s-dev at laposte.net> wrote:
>On Sat, Dec 05, 2015 at 03:55:36AM -0500, Christian Hopps wrote:
>> Is it possible to configure offlineimap to ignore emacs lock
>> files? When I have a draft open in emacs offlineimap fails with an
>> error such as this:
>> OSError: [Errno 2] No such file or directory:
>> It would seem this could be avoided if I could configure
>> offlineimap to ignore files matching the re "\.#.*", or by having
>> it ignore dot files in general while syncing.
>While at it, I'd rather make OfflineIMAP ignore any dot file.
Might I advocate for ignoring any filename not adhering to the maildir filename
You might choose to be less strict, but still require filenames to start with a
digit (old scheme) or one of #XRIVMPQ.
Also, have we any counter examples of maildir using programs which do not
_create_ files according to the scheme?
Cameron Simpson <cs at zip.com.au>
More information about the OfflineIMAP-project