X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/4548981fb45fbc917cc2c26b7c96b31cfa14bc9b..fc6817f4dcebc81838636ab6dd01f945b80bac2a:/uip/spost.c diff --git a/uip/spost.c b/uip/spost.c index 6defbacc..7454c896 100644 --- a/uip/spost.c +++ b/uip/spost.c @@ -112,6 +112,7 @@ static struct headers NHeaders[] = { { "Bcc", HADR|HTRY|HBCC|HNIL, MINV }, { "Message-Id", HBAD, 0 }, { "Fcc", HFCC, 0 }, + { "Envelope-From",HIGN, 0 }, { NULL, 0, 0 } }; @@ -128,6 +129,7 @@ static struct headers RHeaders[] = { { "Resent-Fcc", HFCC, 0 }, { "Reply-To", HADR, 0 }, { "Fcc", HIGN, 0 }, + { "Envelope-From", HIGN, 0 }, { NULL, 0, 0 } }; @@ -428,7 +430,7 @@ main (int argc, char **argv) if (pushflg && !(watch || verbose)) { /* fork to a child to run sendmail */ - for (i=0; (pid = m_vfork()) == NOTOK && i < 5; i++) + for (i=0; (pid = vfork()) == NOTOK && i < 5; i++) sleep(5); switch (pid) { case NOTOK: @@ -764,7 +766,7 @@ make_bcc_file (void) else { vec[0] = r1bindex (mhlproc, '/'); - for (i = 0; (child_id = m_vfork()) == NOTOK && i < 5; i++) + for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++) sleep (5); switch (child_id) { case NOTOK: @@ -825,7 +827,7 @@ fcc (char *file, char *folder) printf ("%sFcc: %s\n", msgstate == resent ? "Resent-" : "", folder); fflush (stdout); - for (i = 0; (child_id = m_vfork()) == NOTOK && i < 5; i++) + for (i = 0; (child_id = vfork()) == NOTOK && i < 5; i++) sleep (5); switch (child_id) { case NOTOK: