X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fspost.c;h=369f03e24341150d731ff0df1700bf4ede912597;hp=69d470824d5507cd4b26b94cc809438e897301c2;hb=412b2e54251ff6e20537f83b95c8ee76ea8c5c40;hpb=2e5668919988fce4e523cbf2294698841b1106a0 diff --git a/uip/spost.c b/uip/spost.c index 69d4708..369f03e 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 } }; @@ -652,12 +654,12 @@ fcc(char *file, char *folders) folders); fflush(stdout); } - if (strlen(fileproc)+strlen(file)+strlen(folders)+100 > sizeof cmd) { + if (100+strlen(file)+strlen(folders) > sizeof cmd) { adios(NULL, "Too much Fcc data"); } /* hack: read from /dev/null and refile(1) won't question us */ - snprintf(cmd, sizeof cmd, "