diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-12-08 19:28:23 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-12-08 19:28:23 +0000 |
commit | 816b783b4b6deaaeb042460e7f3b482b65227e4e (patch) | |
tree | 056ae9c8d8e3c64d0d463217306444f500731a88 /sendlib.c | |
parent | 7f02ee945ef6c72818234e0c01f023533d00a57f (diff) |
Work around sendmail 8.9.1a invalidating PGP/MIME signatures by
re-ordering MIME headers in the way sendmail does.
Diffstat (limited to 'sendlib.c')
-rw-r--r-- | sendlib.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -424,9 +424,6 @@ int mutt_write_mime_header (BODY *a, FILE *f) fputc ('\n', f); - if (a->encoding != ENC7BIT) - fprintf(f, "Content-Transfer-Encoding: %s\n", ENCODING (a->encoding)); - if (a->description) fprintf(f, "Content-Description: %s\n", a->description); @@ -453,6 +450,9 @@ int mutt_write_mime_header (BODY *a, FILE *f) fputc ('\n', f); } + if (a->encoding != ENC7BIT) + fprintf(f, "Content-Transfer-Encoding: %s\n", ENCODING (a->encoding)); + /* Do NOT add the terminator here!!! */ return (ferror (f) ? -1 : 0); } |