unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Ignoring nmh mail files
@ 2016-12-29 21:15 Axel Jantsch
  2017-01-01 19:26 ` David Edmondson
  0 siblings, 1 reply; 9+ messages in thread
From: Axel Jantsch @ 2016-12-29 21:15 UTC (permalink / raw)
  To: notmuch

Hi,

I try to build a notmuch database from my nmh files.

I have about 220k emails and about half of them is ignored by
notmach new with the note, e.g.:

  Note: Ignoring non-mail file: /home/jantsch/Mail/ARTEMIS-MPSOC/1

Here is the header of that particular email:

=============================================================================
From nobody@nowhere  Sun Aug 02 21:21:17 2009
From nobody@nowhere  Sun Aug 02 21:21:17 2009
From: "Axel Jantsch" <axel@kth.se>
Organization: Royal Institute of Technology
To: Joe.Someone <joe@Somewhere.com>
Subject: Re: Artemis and MPSOC 
In-Reply-To: Message from Joe.Someone <joe@Somewhere.com>
   of "Tue, 09 Jan 2007 15:10:34 +0100."
 <009c01c733f7$edea4340$7766e882@amdht> 
X-Image-URL: http://www.it.kth.se/~axel/axel.png
X-Mailer: MH-E 7.83; nmh 1.0.4; GNU Emacs 21.2.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
Date: Wed, 10 Jan 2007 15:47:09 +0100
Sender: axel@bee.imit.kth.se


Joe, 

...

=============================================================================

Any idea why so many emails are not recognized by notmuch?

Best,
Axel


-- 
Axel Jantsch, Prof. of Systems on Chip
TU Wien
Gusshausstrasse 27-29/384, 1040 Vienna, Austria
Phone: +43 1 58801 38415
Email: axel.jantsch@tuwien.ac.at
Web: www.ict.tuwien.ac.at

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ignoring nmh mail files
  2016-12-29 21:15 Ignoring nmh mail files Axel Jantsch
@ 2017-01-01 19:26 ` David Edmondson
  2017-01-02 16:03   ` Axel Jantsch
  0 siblings, 1 reply; 9+ messages in thread
From: David Edmondson @ 2017-01-01 19:26 UTC (permalink / raw)
  To: axel.jantsch, notmuch

On Thu, Dec 29 2016, Axel Jantsch wrote:

> Hi,
>
> I try to build a notmuch database from my nmh files.
>
> I have about 220k emails and about half of them is ignored by
> notmach new with the note, e.g.:
>
>   Note: Ignoring non-mail file: /home/jantsch/Mail/ARTEMIS-MPSOC/1
>
> Here is the header of that particular email:
>
> =============================================================================
> From nobody@nowhere  Sun Aug 02 21:21:17 2009
> From nobody@nowhere  Sun Aug 02 21:21:17 2009

Maybe the double "From " lines?

> From: "Axel Jantsch" <axel@kth.se>
> Organization: Royal Institute of Technology
> To: Joe.Someone <joe@Somewhere.com>
> Subject: Re: Artemis and MPSOC 
> In-Reply-To: Message from Joe.Someone <joe@Somewhere.com>
>    of "Tue, 09 Jan 2007 15:10:34 +0100."
>  <009c01c733f7$edea4340$7766e882@amdht> 
> X-Image-URL: http://www.it.kth.se/~axel/axel.png
> X-Mailer: MH-E 7.83; nmh 1.0.4; GNU Emacs 21.2.1
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 8bit
> Date: Wed, 10 Jan 2007 15:47:09 +0100
> Sender: axel@bee.imit.kth.se
>
>
> Joe, 
>
> ...
>
> =============================================================================
>
> Any idea why so many emails are not recognized by notmuch?
>
> Best,
> Axel
>
>
> -- 
> Axel Jantsch, Prof. of Systems on Chip
> TU Wien
> Gusshausstrasse 27-29/384, 1040 Vienna, Austria
> Phone: +43 1 58801 38415
> Email: axel.jantsch@tuwien.ac.at
> Web: www.ict.tuwien.ac.at
>
> _______________________________________________
> notmuch mailing list
> notmuch@notmuchmail.org
> https://notmuchmail.org/mailman/listinfo/notmuch

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ignoring nmh mail files
  2017-01-01 19:26 ` David Edmondson
@ 2017-01-02 16:03   ` Axel Jantsch
  2017-01-02 16:43     ` David Edmondson
  0 siblings, 1 reply; 9+ messages in thread
From: Axel Jantsch @ 2017-01-02 16:03 UTC (permalink / raw)
  To: David Edmondson; +Cc: notmuch

[-- Attachment #1: Type: text/plain, Size: 2556 bytes --]

Hi David,
Thanks for your quick response.

The double From lines do not seem to be the problem, because when I
remove one of them, no change.

Also, many problem mails do not have double From lines, like the one I
attach below

So again, any idea is highly welcome!
--Axel

>>>>> On Sun, 01 Jan 2017 19:26:07 +0000, David Edmondson <dme@dme.org> said:

    > On Thu, Dec 29 2016, Axel Jantsch wrote:
    >> Hi,
    >> 
    >> I try to build a notmuch database from my nmh files.
    >> 
    >> I have about 220k emails and about half of them is ignored by
    >> notmach new with the note, e.g.:
    >> 
    >> Note: Ignoring non-mail file: /home/jantsch/Mail/ARTEMIS-MPSOC/1
    >> 
    >> Here is the header of that particular email:
    >> 
    >> =============================================================================
    >> From nobody@nowhere  Sun Aug 02 21:21:17 2009
    >> From nobody@nowhere  Sun Aug 02 21:21:17 2009

    > Maybe the double "From " lines?

    >> From: "Axel Jantsch" <axel@kth.se>
    >> Organization: Royal Institute of Technology
    >> To: Joe.Someone <joe@Somewhere.com>
    >> Subject: Re: Artemis and MPSOC 
    >> In-Reply-To: Message from Joe.Someone <joe@Somewhere.com>
    >> of "Tue, 09 Jan 2007 15:10:34 +0100."
    >> <009c01c733f7$edea4340$7766e882@amdht> 
    >> X-Image-URL: http://www.it.kth.se/~axel/axel.png
    >> X-Mailer: MH-E 7.83; nmh 1.0.4; GNU Emacs 21.2.1
    >> MIME-Version: 1.0
    >> Content-Type: text/plain; charset=us-ascii
    >> Content-Transfer-Encoding: 8bit
    >> Date: Wed, 10 Jan 2007 15:47:09 +0100
    >> Sender: axel@bee.imit.kth.se
    >> 
    >> 
    >> Joe, 
    >> 
    >> ...
    >> 
    >> =============================================================================
    >> 
    >> Any idea why so many emails are not recognized by notmuch?
    >> 
    >> Best,
    >> Axel
    >> 
    >> 
    >> -- 
    >> Axel Jantsch, Prof. of Systems on Chip
    >> TU Wien
    >> Gusshausstrasse 27-29/384, 1040 Vienna, Austria
    >> Phone: +43 1 58801 38415
    >> Email: axel.jantsch@tuwien.ac.at
    >> Web: www.ict.tuwien.ac.at
    >> 
    >> _______________________________________________
    >> notmuch mailing list
    >> notmuch@notmuchmail.org
    >> https://notmuchmail.org/mailman/listinfo/notmuch


-- 
Axel Jantsch, Prof. of Systems on Chip
TU Wien
Gusshausstrasse 27-29/384, 1040 Vienna, Austria
Phone: +43 1 58801 38415
Email: axel.jantsch@tuwien.ac.at
Web: www.ict.tuwien.ac.at


[-- Attachment #2: Type: message/rfc822, Size: 9084 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 536 bytes --]

Dear all,

 

The eBook has just become available online from the following link:

 

http://link.springer.com/book/10.1007/978-3-319-31596-6

 

Best regards,

Amir

 

------------------------------------

Amir M. Rahmani, PhD (Tech.), MBA

 

Marie Curie Global Fellow

University of California Irvine, USA

Vienna University of Technology (TU Wien), Austria

 

Adjunct Professor (Docent)

Department of Information Technology

University of Turku, Finland

 

 <http://www.ics.uci.edu/~amirr1/> http://www.ics.uci.edu/~amirr1/

 


[-- Attachment #2.1.2: Type: text/html, Size: 3772 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ignoring nmh mail files
  2017-01-02 16:03   ` Axel Jantsch
@ 2017-01-02 16:43     ` David Edmondson
  2017-01-02 17:43       ` Axel Jantsch
  0 siblings, 1 reply; 9+ messages in thread
From: David Edmondson @ 2017-01-02 16:43 UTC (permalink / raw)
  To: axel.jantsch; +Cc: notmuch

On Mon, Jan 02 2017, Axel Jantsch wrote:

> Hi David,
> Thanks for your quick response.
>
> The double From lines do not seem to be the problem, because when I
> remove one of them, no change.
>
> Also, many problem mails do not have double From lines, like the one I
> attach below

If I save the attached message and then add it to my database, it works
fine.

Could you share an exact copy of the failing message as a file
somewhere? It's possible that whatever is wrong with it was fixed during
the attach/detach process.

> So again, any idea is highly welcome!
> --Axel
>
>>>>>> On Sun, 01 Jan 2017 19:26:07 +0000, David Edmondson <dme@dme.org> said:
>
>     > On Thu, Dec 29 2016, Axel Jantsch wrote:
>     >> Hi,
>     >> 
>     >> I try to build a notmuch database from my nmh files.
>     >> 
>     >> I have about 220k emails and about half of them is ignored by
>     >> notmach new with the note, e.g.:
>     >> 
>     >> Note: Ignoring non-mail file: /home/jantsch/Mail/ARTEMIS-MPSOC/1
>     >> 
>     >> Here is the header of that particular email:
>     >> 
>     >> =============================================================================
>     >> From nobody@nowhere  Sun Aug 02 21:21:17 2009
>     >> From nobody@nowhere  Sun Aug 02 21:21:17 2009
>
>     > Maybe the double "From " lines?
>
>     >> From: "Axel Jantsch" <axel@kth.se>
>     >> Organization: Royal Institute of Technology
>     >> To: Joe.Someone <joe@Somewhere.com>
>     >> Subject: Re: Artemis and MPSOC 
>     >> In-Reply-To: Message from Joe.Someone <joe@Somewhere.com>
>     >> of "Tue, 09 Jan 2007 15:10:34 +0100."
>     >> <009c01c733f7$edea4340$7766e882@amdht> 
>     >> X-Image-URL: http://www.it.kth.se/~axel/axel.png
>     >> X-Mailer: MH-E 7.83; nmh 1.0.4; GNU Emacs 21.2.1
>     >> MIME-Version: 1.0
>     >> Content-Type: text/plain; charset=us-ascii
>     >> Content-Transfer-Encoding: 8bit
>     >> Date: Wed, 10 Jan 2007 15:47:09 +0100
>     >> Sender: axel@bee.imit.kth.se
>     >> 
>     >> 
>     >> Joe, 
>     >> 
>     >> ...
>     >> 
>     >> =============================================================================
>     >> 
>     >> Any idea why so many emails are not recognized by notmuch?
>     >> 
>     >> Best,
>     >> Axel
>     >> 
>     >> 
>     >> -- 
>     >> Axel Jantsch, Prof. of Systems on Chip
>     >> TU Wien
>     >> Gusshausstrasse 27-29/384, 1040 Vienna, Austria
>     >> Phone: +43 1 58801 38415
>     >> Email: axel.jantsch@tuwien.ac.at
>     >> Web: www.ict.tuwien.ac.at
>     >> 
>     >> _______________________________________________
>     >> notmuch mailing list
>     >> notmuch@notmuchmail.org
>     >> https://notmuchmail.org/mailman/listinfo/notmuch
>
>
> -- 
> Axel Jantsch, Prof. of Systems on Chip
> TU Wien
> Gusshausstrasse 27-29/384, 1040 Vienna, Austria
> Phone: +43 1 58801 38415
> Email: axel.jantsch@tuwien.ac.at
> Web: www.ict.tuwien.ac.at
>
>    From: Amir Rahmani <amirr1@uci.edu>
> Subject: The Dark Side of Silicon
>      To: axel.jantsch@tuwien.ac.at, 'Ahmed Hemani' <hemani@kth.se>, hannu@kth.se, Pasi Liljeberg <pakrli@utu.fi>
>    Date: Sat, 31 Dec 2016 14:05:16 -0800
>
> Dear all,
>
>  
>
> The eBook has just become available online from the following link:
>
>  
>
> http://link.springer.com/book/10.1007/978-3-319-31596-6
>
>  
>
> Best regards,
>
> Amir
>
>  
>
> ------------------------------------
>
> Amir M. Rahmani, PhD (Tech.), MBA
>
>  
>
> Marie Curie Global Fellow
>
> University of California Irvine, USA
>
> Vienna University of Technology (TU Wien), Austria
>
>  
>
> Adjunct Professor (Docent)
>
> Department of Information Technology
>
> University of Turku, Finland
>
>  
>
>  <http://www.ics.uci.edu/~amirr1/> http://www.ics.uci.edu/~amirr1/
>
>  

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ignoring nmh mail files
  2017-01-02 16:43     ` David Edmondson
@ 2017-01-02 17:43       ` Axel Jantsch
  2017-01-02 19:14         ` David Edmondson
  0 siblings, 1 reply; 9+ messages in thread
From: Axel Jantsch @ 2017-01-02 17:43 UTC (permalink / raw)
  To: David Edmondson; +Cc: notmuch

David,
I have uploaded the same email as file to dropbox:

https://www.dropbox.com/s/i95dbadddmekau9/151?dl=0

Best,
Axel

>>>>> On Mon, 02 Jan 2017 16:43:30 +0000, David Edmondson <dme@dme.org> said:

    > On Mon, Jan 02 2017, Axel Jantsch wrote:

    >> Hi David,
    >> Thanks for your quick response.
    >> 
    >> The double From lines do not seem to be the problem, because when I
    >> remove one of them, no change.
    >> 
    >> Also, many problem mails do not have double From lines, like the one I
    >> attach below

    > If I save the attached message and then add it to my database, it works
    > fine.

    > Could you share an exact copy of the failing message as a file
    > somewhere? It's possible that whatever is wrong with it was fixed during
    > the attach/detach process.

    >> So again, any idea is highly welcome!
    >> --Axel
    >> 
    >>>>>>> On Sun, 01 Jan 2017 19:26:07 +0000, David Edmondson <dme@dme.org> said:
    >> 
    >> > On Thu, Dec 29 2016, Axel Jantsch wrote:
    >> >> Hi,
    >> >> 
    >> >> I try to build a notmuch database from my nmh files.
    >> >> 
    >> >> I have about 220k emails and about half of them is ignored by
    >> >> notmach new with the note, e.g.:
    >> >> 
    >> >> Note: Ignoring non-mail file: /home/jantsch/Mail/ARTEMIS-MPSOC/1
    >> >> 
    >> >> Here is the header of that particular email:
    >> >> 
    >> >> =============================================================================
    >> >> From nobody@nowhere  Sun Aug 02 21:21:17 2009
    >> >> From nobody@nowhere  Sun Aug 02 21:21:17 2009
    >> 
    >> > Maybe the double "From " lines?
    >> 
    >> >> From: "Axel Jantsch" <axel@kth.se>
    >> >> Organization: Royal Institute of Technology
    >> >> To: Joe.Someone <joe@Somewhere.com>
    >> >> Subject: Re: Artemis and MPSOC 
    >> >> In-Reply-To: Message from Joe.Someone <joe@Somewhere.com>
    >> >> of "Tue, 09 Jan 2007 15:10:34 +0100."
    >> >> <009c01c733f7$edea4340$7766e882@amdht> 
    >> >> X-Image-URL: http://www.it.kth.se/~axel/axel.png
    >> >> X-Mailer: MH-E 7.83; nmh 1.0.4; GNU Emacs 21.2.1
    >> >> MIME-Version: 1.0
    >> >> Content-Type: text/plain; charset=us-ascii
    >> >> Content-Transfer-Encoding: 8bit
    >> >> Date: Wed, 10 Jan 2007 15:47:09 +0100
    >> >> Sender: axel@bee.imit.kth.se
    >> >> 
    >> >> 
    >> >> Joe, 
    >> >> 
    >> >> ...
    >> >> 
    >> >> =============================================================================
    >> >> 
    >> >> Any idea why so many emails are not recognized by notmuch?
    >> >> 
    >> >> Best,
    >> >> Axel
    >> >> 
    >> >> 
    >> >> -- 
    >> >> Axel Jantsch, Prof. of Systems on Chip
    >> >> TU Wien
    >> >> Gusshausstrasse 27-29/384, 1040 Vienna, Austria
    >> >> Phone: +43 1 58801 38415
    >> >> Email: axel.jantsch@tuwien.ac.at
    >> >> Web: www.ict.tuwien.ac.at
    >> >> 
    >> >> _______________________________________________
    >> >> notmuch mailing list
    >> >> notmuch@notmuchmail.org
    >> >> https://notmuchmail.org/mailman/listinfo/notmuch
    >> 
    >> 
    >> -- 
    >> Axel Jantsch, Prof. of Systems on Chip
    >> TU Wien
    >> Gusshausstrasse 27-29/384, 1040 Vienna, Austria
    >> Phone: +43 1 58801 38415
    >> Email: axel.jantsch@tuwien.ac.at
    >> Web: www.ict.tuwien.ac.at
    >> 
    >> From: Amir Rahmani <amirr1@uci.edu>
    >> Subject: The Dark Side of Silicon
    >> To: axel.jantsch@tuwien.ac.at, 'Ahmed Hemani' <hemani@kth.se>, hannu@kth.se, Pasi Liljeberg <pakrli@utu.fi>
    >> Date: Sat, 31 Dec 2016 14:05:16 -0800
    >> 
    >> Dear all,
    >> 
    >> 
    >> 
    >> The eBook has just become available online from the following link:
    >> 
    >> 
    >> 
    >> http://link.springer.com/book/10.1007/978-3-319-31596-6
    >> 
    >> 
    >> 
    >> Best regards,
    >> 
    >> Amir
    >> 
    >> 
    >> 
    >> ------------------------------------
    >> 
    >> Amir M. Rahmani, PhD (Tech.), MBA
    >> 
    >> 
    >> 
    >> Marie Curie Global Fellow
    >> 
    >> University of California Irvine, USA
    >> 
    >> Vienna University of Technology (TU Wien), Austria
    >> 
    >> 
    >> 
    >> Adjunct Professor (Docent)
    >> 
    >> Department of Information Technology
    >> 
    >> University of Turku, Finland
    >> 
    >> 
    >> 
    >> <http://www.ics.uci.edu/~amirr1/> http://www.ics.uci.edu/~amirr1/
    >> 
    >> 


-- 
Axel Jantsch, Prof. of Systems on Chip
TU Wien
Gusshausstrasse 27-29/384, 1040 Vienna, Austria
Phone: +43 1 58801 38415
Email: axel.jantsch@tuwien.ac.at
Web: www.ict.tuwien.ac.at

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ignoring nmh mail files
  2017-01-02 17:43       ` Axel Jantsch
@ 2017-01-02 19:14         ` David Edmondson
  2017-01-03 11:23           ` Axel Jantsch
  0 siblings, 1 reply; 9+ messages in thread
From: David Edmondson @ 2017-01-02 19:14 UTC (permalink / raw)
  To: axel.jantsch; +Cc: notmuch

On Mon, Jan 02 2017, Axel Jantsch wrote:

> David,
> I have uploaded the same email as file to dropbox:
>
> https://www.dropbox.com/s/i95dbadddmekau9/151?dl=0

This file also works fine for me.

What version of notmuch, gmime, etc. are you using?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ignoring nmh mail files
  2017-01-02 19:14         ` David Edmondson
@ 2017-01-03 11:23           ` Axel Jantsch
  2017-01-03 11:57             ` David Edmondson
  0 siblings, 1 reply; 9+ messages in thread
From: Axel Jantsch @ 2017-01-03 11:23 UTC (permalink / raw)
  To: David Edmondson; +Cc: notmuch

I use notmuch version 0.17
on Ubuntu 15.04 which runs on a Virtual box with Windows as a host OS.

I use libgmime-2.6-0, but no binaries.
What else should I check?

How can I see, which files are included in the database which are not?

Best,
Axel


>>>>> On Mon, 02 Jan 2017 19:14:39 +0000, David Edmondson <dme@dme.org> said:

    > On Mon, Jan 02 2017, Axel Jantsch wrote:

    >> David,
    >> I have uploaded the same email as file to dropbox:
    >> 
    >> https://www.dropbox.com/s/i95dbadddmekau9/151?dl=0

    > This file also works fine for me.

    > What version of notmuch, gmime, etc. are you using?


-- 
Axel Jantsch, Prof. of Systems on Chip
TU Wien
Gusshausstrasse 27-29/384, 1040 Vienna, Austria
Phone: +43 1 58801 38415
Email: axel.jantsch@tuwien.ac.at
Web: www.ict.tuwien.ac.at

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ignoring nmh mail files
  2017-01-03 11:23           ` Axel Jantsch
@ 2017-01-03 11:57             ` David Edmondson
  2017-01-03 13:11               ` David Bremner
  0 siblings, 1 reply; 9+ messages in thread
From: David Edmondson @ 2017-01-03 11:57 UTC (permalink / raw)
  To: axel.jantsch; +Cc: notmuch

On Tue, Jan 03 2017, Axel Jantsch wrote:

> I use notmuch version 0.17
> on Ubuntu 15.04 which runs on a Virtual box with Windows as a host OS.
>
> I use libgmime-2.6-0, but no binaries.
> What else should I check?

0.17 is pretty old - it may be that someone will remember having fixed a
bug since then (we're on 0.23 now!).

Can anyone think of something immediately relevant?

> How can I see, which files are included in the database which are not?

I just saw that it was successfully added (by `notmuch new') and then
the message appears in my tag:inbox search.

`notmuch search --output=files "*"' should output all of the files known
to the database.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Ignoring nmh mail files
  2017-01-03 11:57             ` David Edmondson
@ 2017-01-03 13:11               ` David Bremner
  0 siblings, 0 replies; 9+ messages in thread
From: David Bremner @ 2017-01-03 13:11 UTC (permalink / raw)
  To: David Edmondson, axel.jantsch; +Cc: notmuch

David Edmondson <dme@dme.org> writes:

> On Tue, Jan 03 2017, Axel Jantsch wrote:
>
>> I use notmuch version 0.17
>> on Ubuntu 15.04 which runs on a Virtual box with Windows as a host OS.
>>
>> I use libgmime-2.6-0, but no binaries.
>> What else should I check?
>
> 0.17 is pretty old - it may be that someone will remember having fixed a
> bug since then (we're on 0.23 now!).
>
> Can anyone think of something immediately relevant?
>

Yes, there are several fixes related to mboxes since 0.17. It won't help
with double "From " lines, but it will tolerate a single "From " line in
current notmuch.

d

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-01-03 13:12 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-29 21:15 Ignoring nmh mail files Axel Jantsch
2017-01-01 19:26 ` David Edmondson
2017-01-02 16:03   ` Axel Jantsch
2017-01-02 16:43     ` David Edmondson
2017-01-02 17:43       ` Axel Jantsch
2017-01-02 19:14         ` David Edmondson
2017-01-03 11:23           ` Axel Jantsch
2017-01-03 11:57             ` David Edmondson
2017-01-03 13:11               ` David Bremner

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).