summaryrefslogtreecommitdiffstats
path: root/usr.bin/calendar
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>1997-02-16 18:24:44 +0000
committermpp <mpp@FreeBSD.org>1997-02-16 18:24:44 +0000
commit85bd6daaf1022d92875e9125182a7b3db3f3b183 (patch)
treec780858dede221d26a8cc5ec6613f7218158fe44 /usr.bin/calendar
parent5c453f78bcef58871a9d41d4319df3f71742b3eb (diff)
downloadFreeBSD-src-85bd6daaf1022d92875e9125182a7b3db3f3b183.zip
FreeBSD-src-85bd6daaf1022d92875e9125182a7b3db3f3b183.tar.gz
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.
Diffstat (limited to 'usr.bin/calendar')
-rw-r--r--usr.bin/calendar/io.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud