[PATCH] restore: Be more liberal in which data to accept.

David Bremner david at tethera.net
Sat Jan 7 05:37:20 PST 2012


On Sat, 29 Oct 2011 12:40:07 +0200, Thomas Schwinge <thomas at schwinge.name> wrote:
> From: Thomas Schwinge <thomas at schwinge.name>
> 
> There are ``Message-ID''s out in the wild that contain spaces.
> 

> Spammers are quite inventive for creating ``interesting Messages-ID''s.
> Apparently, notmuch handles these fine internally, but it breaks a
> dump/restore cycle:

Two questions.

1) Do you think we should change the current regex as well as provide a
new space tolerant format
(id:"1324214111-32079-1-git-send-email-david at tethera.net")? I guess it
doesn't really hurt. Notmuch is probably already creating dump files
that sup can't read in your case.

2) can you share (by private email is a fine) a few of those really
   problematic messages so I can use them to test the new dump/restore code?




More information about the notmuch mailing list