unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* tagging by message-id?
@ 2017-01-28 17:21 ng0
  2017-01-28 18:04 ` Lucas Hoffmann
  0 siblings, 1 reply; 2+ messages in thread
From: ng0 @ 2017-01-28 17:21 UTC (permalink / raw)
  To: notmuch

Hi,

I recently imported some archives.
The problematic parts I have (almost) fixed with some sed
scripts.

But some messages just have message-ids, because the "From:" was
stripped in the past.

Is it possible to apply tags to message-ids, something similar to

notmuch tag -inbox +python +python::list -- python-list-request@python.org OR python-list@python.org OR id:*python-list@python.org

I'm also open to other solutions (the untagged messages share at
least a common folder structure
"/home/user/mail.python.org/.lists-python-1999-March/" as an
example), this runs in a script anyway.

-- 
♥Ⓐ  ng0 -- https://www.inventati.org/patternsinthechaos/

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

* Re: tagging by message-id?
  2017-01-28 17:21 tagging by message-id? ng0
@ 2017-01-28 18:04 ` Lucas Hoffmann
  0 siblings, 0 replies; 2+ messages in thread
From: Lucas Hoffmann @ 2017-01-28 18:04 UTC (permalink / raw)
  To: ng0, notmuch

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

Quoting ng0 (2017-01-28 18:21:10)
> Is it possible to apply tags to message-ids, something similar to
>
> notmuch tag -inbox +python +python::list -- python-list-request@python.org OR python-list@python.org OR id:*python-list@python.org

If notmuch search can find it notmuch tag should be able to tag it. So
you can try notmuch search first (maybe have a look at the man page
notmuch-search and check --output=files).

> I'm also open to other solutions (the untagged messages share at
> least a common folder structure
> "/home/user/mail.python.org/.lists-python-1999-March/" as an
> example), this runs in a script anyway.

And check notmuch-search-terms(1) to see if the folder: or path: search
terms can help you.

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEE96z4mcwnF18GSMtNYLcfxwAaQaEFAliM3ScACgkQYLcfxwAa
QaF/Fgf6Aqz3oM3dWybkh99V4UsnrIR8PGpM2+A2GzC6PPcqnNPr/szBEAJ6lXzN
6pFLURKJ9heuALKXj75o0M38leROh0dwN3ZrMfLTUvnx8HsGt21ReyKqWDBoP/hA
sshQp4+W0zNOQ8DucIlvsAroi7oNvLbdDTP21ockFCDr08uGVJGJMdLntwYs7PoG
ZgYYcM5sW73YqgLkx+VPodK1Je6pBTFKTJ8qe2Vxv+n6xrcBZkveb8jtJJZ0iMch
+TgRom9wSO1UEdYsKxq+Sp45pMeTcHaqm8BWsHdhQ9OL6Blr9IYGpkX4fmZZAlHb
7ZdNEL/RnD455iyP6ns9/OR3GP/A2g==
=nh6a
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2017-01-28 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-28 17:21 tagging by message-id? ng0
2017-01-28 18:04 ` Lucas Hoffmann

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