X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fspost.c;h=93283cc172e5579e88a2e899b0e5f7a85d225139;hb=12fc1bc3b016c93fa00712de76a286c09dc1ee39;hp=046f3403a66ed6ad758ff85bf563d61f3cf509e1;hpb=3eaeef7c3cf27aa9d715e20ebb72982406ab1d53;p=mmh diff --git a/uip/spost.c b/uip/spost.c index 046f340..93283cc 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -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)); @@ -692,7 +694,7 @@ process_bccs(char *origmsg) fprintf(out, "------------\n"); fclose(out); - snprintf(buf, sizeof buf, "%s%s %s", sendproc, + snprintf(buf, sizeof buf, "send%s %s", pushflg ? " -push" : "", bccdraft); if (system(buf) != 0) { admonish(invo_name, "Problems to send Bcc to %s",