summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-04-14 10:56:15 -0400
committerJune McEnroe <june@causal.agency>2020-04-14 10:56:15 -0400
commitd33ff8191a032835c7d148c509f4555510cd4944 (patch)
treef91e5c25edc3d6e6d1d5e66a47534b8bacd1f35c
parentFetch .TEXT of single-part nested messages (diff)
downloadbubger-d33ff8191a032835c7d148c509f4555510cd4944.tar.gz
bubger-d33ff8191a032835c7d148c509f4555510cd4944.zip
Use mid: URLs for Atom IDs
Diffstat (limited to '')
-rw-r--r--atom.c2
-rw-r--r--bubger.111
2 files changed, 11 insertions, 2 deletions
diff --git a/atom.c b/atom.c
index 1ed940a..5f7e3c7 100644
--- a/atom.c
+++ b/atom.c
@@ -29,7 +29,7 @@ static char *atomID(const struct Envelope *envelope) {
 		{ "messageID", envelope->messageID },
 		{0},
 	};
-	return templateURL("mailto:?Message-Id=[messageID]", vars);
+	return templateURL("mid:[messageID]", vars);
 }
 
 static int atomAuthor(FILE *file, struct Address addr) {
diff --git a/bubger.1 b/bubger.1
index 68e3219..77f93fa 100644
--- a/bubger.1
+++ b/bubger.1
@@ -1,4 +1,4 @@
-.Dd April 13, 2020
+.Dd April 14, 2020
 .Dt BUBGER 1
 .Os
 .
@@ -122,6 +122,15 @@ Rendered Atom, HTML and mboxrd files for each thread.
 .Bl -item
 .It
 .Rs
+.%A E. Levinson
+.%T Content-ID and Message-ID Uniform Resource Locators
+.%I IETF
+.%N RFC 2392
+.%D August 1998
+.%U https://tools.ietf.org/html/rfc2392
+.Re
+.It
+.Rs
 .%A M. Crispin
 .%T INTERNET MESSAGE ACCESS PROTOCOL - VERSION 4rev1
 .%I IETF