From 85bd6daaf1022d92875e9125182a7b3db3f3b183 Mon Sep 17 00:00:00 2001 From: mpp Date: Sun, 16 Feb 1997 18:24:44 +0000 Subject: 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. --- usr.bin/calendar/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/calendar') diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c index 0021811..014a805 100644 --- a/usr.bin/calendar/io.c +++ b/usr.bin/calendar/io.c @@ -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); -- cgit v1.1