Hello, I wrote a Guile script to process mail via IMAPS, but I kept getting "Cannot create default mailbox" errors. After some digging I found a typo in the Guile bindings which is corrected by the following patch.
>From 438793c29e9bfb28bcd754e869c5ab33739d5e2f Mon Sep 17 00:00:00 2001 From: Timothy Sample <[email protected]> Date: Tue, 29 Oct 2024 13:33:33 -0600 Subject: [PATCH] Fix "imaps" typo in Guile bindings * libmu_scm/mu_scm.c (format_table): Associate "imaps" with mu_imaps_record (not mu_imap_record). --- libmu_scm/mu_scm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmu_scm/mu_scm.c b/libmu_scm/mu_scm.c index 63a021b4c..07cbe3b9f 100644 --- a/libmu_scm/mu_scm.c +++ b/libmu_scm/mu_scm.c @@ -53,7 +53,7 @@ static struct format_record format_table[] = { { "pop", &mu_pop_record }, { "pops", &mu_pops_record }, { "imap", &mu_imap_record }, - { "imaps", &mu_imap_record }, + { "imaps", &mu_imaps_record }, { "sendmail", &mu_sendmail_record }, { "smtp", &mu_smtp_record }, { NULL, NULL }, -- 2.46.0
