I applied this patch by Aaron Schrab, and now mutt generates a top-level
Content-Trasfer-Encoding header. This makes courier leave the message
unmolested, and my PGP signatures verify correctly! Thanks Aaron.
--- sendlib.c.dist Tue Dec 5 12:31:21 2000
+++ sendlib.c Tue Dec 5 14:32:25 2000
@@ -433,7 +433,10 @@
fputc ('\n', f);
- if (a->encoding != ENC7BIT)
+ /* Courier MTA will rewrite messages that don't contain an explicit
+ * Content-Transfer-Encoding, breaking PGP/MIME signatures. */
+ if (a->encoding != ENC7BIT
+ || (a->type == TYPEMULTIPART && mutt_strcmp(a->subtype, "signed") == 0) )
fprintf(f, "Content-Transfer-Encoding: %s\n", ENCODING (a->encoding));
/* Do NOT add the terminator here!!! */
--
Anand