From cfb0e04190cff0d086ef08bbad0ff0bbd8313335 Mon Sep 17 00:00:00 2001 From: Paul Janzen Date: Tue, 20 Apr 1999 23:03:26 +0000 Subject: Don't call sendmail with "-f root" since sendmail isn't run by a "trusted user". Removes the X-Authentication-Warning. From FreeBSD. --- usr.bin/calendar/io.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/calendar/io.c b/usr.bin/calendar/io.c index cb19c8e9628..6c05544dfaa 100644 --- a/usr.bin/calendar/io.c +++ b/usr.bin/calendar/io.c @@ -1,4 +1,4 @@ -/* $OpenBSD: io.c,v 1.6 1998/12/13 07:31:08 pjanzen Exp $ */ +/* $OpenBSD: io.c,v 1.7 1999/04/20 23:03:25 pjanzen Exp $ */ /* * Copyright (c) 1989, 1993, 1994 @@ -43,7 +43,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)calendar.c 8.3 (Berkeley) 3/25/94"; #else -static char rcsid[] = "$OpenBSD: io.c,v 1.6 1998/12/13 07:31:08 pjanzen Exp $"; +static char rcsid[] = "$OpenBSD: io.c,v 1.7 1999/04/20 23:03:25 pjanzen Exp $"; #endif #endif /* not lint */ @@ -384,7 +384,7 @@ closecal(fp) (void)setuid(geteuid()); (void)setgid(getegid()); execl(_PATH_SENDMAIL, "sendmail", "-i", "-t", "-F", - "\"Reminder Service\"", "-f", "root", NULL); + "\"Reminder Service\"", NULL); warn(_PATH_SENDMAIL); _exit(1); } -- cgit v1.2.3