unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Perttu Luukko <perttu.luukko@iki.fi>
To: notmuch@notmuchmail.org
Subject: Re: How to debug 'ignoring non-mail file' issues
Date: Thu, 4 Sep 2014 14:01:27 +0300	[thread overview]
Message-ID: <20140904110127.GA17618@lakka.kapsi.fi> (raw)
In-Reply-To: <20140901064106.GA3901@lakka.kapsi.fi>

On 2014-09-01 09:41:06, Perttu Luukko wrote:
> Yes, that indeed works. I'll probably move these ignored files to a
> separate folder for inspection.

I looked at the mails that are still ignored after upgrading GMime to
latest version, and I think I have found what they have in common. All
of my ignored emails are from 2010-2011, and for some reason these mails
contain a line like this:

From username  Wed Sep 28 16:43:49 2011

somewhere among the headers. Note the '>' at the beginning of the line.
The mails that are still ignored after upgrading GMime are those where
this line happens to be the first line. Also, all of them have
attachments for some reason. That line certainly doesn't look right, and
I don't know where it came from. It might be some byproduct of mail
redirection, since it shows my username, but the mails are not sent by
me.

I moved these problematic lines to the second line of each message, and
now they are imported without problems. I probably won't file a bug for
GMime because I have no idea whether this is just some oddity caused by
my mail setup. Let this information reside here in case someone else has
a similar problem.

-- 
Perttu

      reply	other threads:[~2014-09-04 11:01 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
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 [this message]

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=20140904110127.GA17618@lakka.kapsi.fi \
    --to=perttu.luukko@iki.fi \
    --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).