Batch tagging - add id_list as tag possible?

David Bremner david at tethera.net
Sat Mar 2 08:13:51 PST 2013


Rainer M Krug <r.m.krug at gmail.com> writes:

> Hi
>
> I would like to tag my mails automatically by using the id_list as the tag
> name, but as far as I can se in the manual, this is not possible yet. Is
> this true?
>

That's correct.

> It would be great if I could have
> +%id_list
>
> And it would automatically tag my mails with the list I'd?

It should be possible to script that, using e.g. formail to extract the
list id. Be aware that the list-id header is often not really suitable
for use as a tag, since it has quotes, spaces, and various punctuation
in it. I guess you can make that work if you really want to.

d


More information about the notmuch mailing list