unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Perttu Luukko <perttu.luukko@iki.fi>
To: Jani Nikula <jani@nikula.org>
Cc: notmuch@notmuchmail.org
Subject: Re: How to debug 'ignoring non-mail file' issues
Date: Wed, 3 Sep 2014 07:54:39 +0300	[thread overview]
Message-ID: <20140903045439.GA5022@rakuuna.dhcp.inet.fi> (raw)
In-Reply-To: <87r3ztvjwn.fsf@nikula.org>

On 2014-09-02 23:37:12, Jani Nikula wrote:
> On Mon, 01 Sep 2014, Perttu Luukko <perttu.luukko@iki.fi> wrote:
> > Yes, upgrading to GMime 2.6.20 caused all the messages on my server
> > classified as mail.
> 
> What was the old version? If it was 2.4 we should probably consider
> dropping support for that in future notmuch.

It was 2.4.33. It might still work for other people, I don't know. I
still have some ignored mails. If I can nail down why they are ignored
we might now more about why GMime 2.4 ignored even more mail. They were
from around the same time period, so it might have something to do with
the email setup I had at that time.

> > Even more reason to give a separate warning for GMime parse errors.
> 
> Not sure. We only get a binary success/fail from GMime, and that gets
> printed for all non-email files. I'm not sure it's helpful.

What I mean that there would be a separate error for cases "Does not
resemble an email message at all", i.e., some control file your mail
server happens to store in the mailbox, and "Looks like mail but we
can't parse it", i.e., better find out why it can't be parsed to avoid
potentially important messages going missing from the database.

-- 
Perttu

  reply	other threads:[~2014-09-03  4:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-31  7:40 How to debug 'ignoring non-mail file' issues Perttu Luukko
2014-08-31 14:41 ` David Bremner
2014-09-01  6:52   ` Perttu Luukko
2014-09-01  7:15     ` Perttu Luukko
2014-09-02 20:37       ` Jani Nikula
2014-09-03  4:54         ` Perttu Luukko [this message]
2014-09-03 16:03           ` Jani Nikula
2014-09-04  4:34             ` Perttu Luukko
2014-09-01  7:48     ` Tomi Ollila
2014-08-31 16:46 ` David Bremner
2014-09-01  6:41   ` Perttu Luukko
2014-09-04 11:01     ` Perttu Luukko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140903045439.GA5022@rakuuna.dhcp.inet.fi \
    --to=perttu.luukko@iki.fi \
    --cc=jani@nikula.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).