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:
parent
5c453f78bc
commit
85bd6daaf1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user