From 2f8f8fbd31ee0b305e2edd5883878e0ca861edb8 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 4 Sep 2021 22:14:43 +0200 Subject: feeds: ignore upstream wrt. message-id --- user-profiles/feeds/imm-notmuch-insert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user-profiles/feeds') diff --git a/user-profiles/feeds/imm-notmuch-insert.py b/user-profiles/feeds/imm-notmuch-insert.py index 98a05c7e..2790abd0 100644 --- a/user-profiles/feeds/imm-notmuch-insert.py +++ b/user-profiles/feeds/imm-notmuch-insert.py @@ -20,7 +20,7 @@ def main(): msg['From'] = f"{callbackMessage['feed_definition']['title']} ({authors}) " msg['To'] = f"{notmuchConfig['user']['name']} <{notmuchConfig['user']['primary_email']}>" msg['Subject'] = callbackMessage['feed_item']['title'] - msg['Message-ID'] = f"{callbackMessage['feed_item']['identifier']}@imm.invalid" + msg['Item-Identifier'] = f"{callbackMessage['feed_item']['identifier']}@imm.invalid" for link in callbackMessage['feed_item']['links']: msg.add_header('Link', link['uri']) if 'date' in callbackMessage['feed_item']: -- cgit v1.2.3