Don't call sendmail with "-f root" when run with "-a". This

eliminates the "X-authentication-warning" header line that
has been coming out since I made it so that sendmail is
run totally as the user whose calendar file is currently
being processed.
This commit is contained in:
mpp 1997-02-16 18:24:44 +00:00
parent 5c453f78bc
commit 85bd6daaf1

View File

@ -334,7 +334,7 @@ closecal(fp)
_exit(1);
}
execl(_PATH_SENDMAIL, "sendmail", "-i", "-t", "-F",
"\"Reminder Service\"", "-f", "root", NULL);
"\"Reminder Service\"", NULL);
(void)fprintf(stderr,
"calendar: %s: %s.\n", _PATH_SENDMAIL, strerror(errno));
_exit(1);