Add some more default MIME content suffixes.
[mmh] / uip / spost.c
index 43d3d10..93283cc 100644 (file)
@@ -87,6 +87,7 @@ static struct headers NHeaders[] = {
        { "Bcc", HADR|HTRY|HBCC, MINV },
        { "Message-Id", HBAD, 0 },
        { "Fcc", HFCC, 0 },
+       { "Envelope-From", HIGN, 0 },
        { NULL, 0, 0 }
 };
 
@@ -103,6 +104,7 @@ static struct headers RHeaders[] = {
        { "Resent-Fcc", HFCC, 0 },
        { "Reply-To", HADR, 0 },
        { "Fcc", HIGN, 0 },
+       { "Envelope-From", HIGN, 0 },
        { NULL, 0, 0 }
 };
 
@@ -477,7 +479,7 @@ finish_headers(FILE *out)
        char *resentstr = (msgstate == resent) ? "Resent-" : "";
 
        if (!(msgflags & MDAT)) {
-               fprintf(out, "%sDate: %s\n", resentstr, dtimenow(0));
+               fprintf(out, "%sDate: %s\n", resentstr, dtimenow());
        }
 
        strncpy(from, getusername(), sizeof(from));