[PATCH] lib: make notmuch shared library install_name be full path on Mac OS X

2014-08-31 Thread J. Lewis Muir
The install_name of libnotmuch.dylib on Mac OS X is what is written into a program that links against it. If it is just the name of the shared library file, as opposed to the full path, the program won't be able to find it when it runs and will abort. Instead, the install_name should be the full

How to debug 'ignoring non-mail file' issues

2014-08-31 Thread Perttu Luukko
Hi, I indexed my archive of emails from recent years with notmuch (about 10k messages so not much). I have quite a lot of messages 'notmuch new' ignores as non-mail files, about 1000 of them. They are not obviously malformed, meaning that the files certainly look like emails when opened in a text

How to debug 'ignoring non-mail file' issues

2014-08-31 Thread David Bremner
Perttu Luukko writes: > I understand that the list of non-mail files is stored in the notmuch > database and the files are completely ignored from there on. This > actually makes it harder to debug these kind of issues since the list of > ignored mails is only visible on the first invocation of

How to debug 'ignoring non-mail file' issues

2014-08-31 Thread David Bremner
Perttu Luukko writes: > The vast majority of these ignored mails are not ignored after I > transfer them with offlineimap to another computer. I can non-ignore > these files probably by copying the renamed file back to the mail > server, so this is fixable. Offlineimap shouldn't mess with the

How to debug 'ignoring non-mail file' issues

2014-08-31 Thread Perttu Luukko
Hi, I indexed my archive of emails from recent years with notmuch (about 10k messages so not much). I have quite a lot of messages 'notmuch new' ignores as non-mail files, about 1000 of them. They are not obviously malformed, meaning that the files certainly look like emails when opened in a text

Re: How to debug 'ignoring non-mail file' issues

2014-08-31 Thread David Bremner
Perttu Luukko perttu.luu...@iki.fi writes: The vast majority of these ignored mails are not ignored after I transfer them with offlineimap to another computer. I can non-ignore these files probably by copying the renamed file back to the mail server, so this is fixable. Offlineimap shouldn't

Re: How to debug 'ignoring non-mail file' issues

2014-08-31 Thread David Bremner
Perttu Luukko perttu.luu...@iki.fi writes: I understand that the list of non-mail files is stored in the notmuch database and the files are completely ignored from there on. This actually makes it harder to debug these kind of issues since the list of ignored mails is only visible on the

[PATCH] lib: make notmuch shared library install_name be full path on Mac OS X

2014-08-31 Thread J. Lewis Muir
The install_name of libnotmuch.dylib on Mac OS X is what is written into a program that links against it. If it is just the name of the shared library file, as opposed to the full path, the program won't be able to find it when it runs and will abort. Instead, the install_name should be the full