2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00

Document that negating mailto or mailerpath disables sending mail.

This commit is contained in:
Todd C. Miller 2022-02-21 13:50:49 -07:00
parent 98ac09de38
commit 973a8f08f9
2 changed files with 14 additions and 6 deletions

View File

@ -25,7 +25,7 @@
.nr BA @BAMAN@
.nr LC @LCMAN@
.nr PS @PSMAN@
.TH "SUDOERS" "@mansectform@" "February 16, 2022" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.TH "SUDOERS" "@mansectform@" "February 21, 2022" "Sudo @PACKAGE_VERSION@" "File Formats Manual"
.nh
.if n .ad l
.SH "NAME"
@ -4946,7 +4946,9 @@ Defaults to
\fB\-t\fR.
.TP 14n
mailerpath
Path to mail program used to send warning mail.
Path to mail program used to send warning mail (negate to prevent
\fBsudo\fR
from sending mail).
Defaults to the path to sendmail found at configure time.
.TP 14n
mailfrom
@ -4964,7 +4966,9 @@ Defaults to the name of the user running
\fBsudo\fR.
.TP 14n
mailto
Address to send warning and error mail to.
Address to send warning and error mail to (negate to prevent
\fBsudo\fR
from sending mail).
The address should be enclosed in double quotes
(\&"")
to protect against

View File

@ -24,7 +24,7 @@
.nr BA @BAMAN@
.nr LC @LCMAN@
.nr PS @PSMAN@
.Dd February 16, 2022
.Dd February 21, 2022
.Dt SUDOERS @mansectform@
.Os Sudo @PACKAGE_VERSION@
.Sh NAME
@ -4631,7 +4631,9 @@ Flags to use when invoking mailer.
Defaults to
.Fl t .
.It mailerpath
Path to mail program used to send warning mail.
Path to mail program used to send warning mail (negate to prevent
.Nm sudo
from sending mail).
Defaults to the path to sendmail found at configure time.
.It mailfrom
Address to use for the
@ -4647,7 +4649,9 @@ sign.
Defaults to the name of the user running
.Nm sudo .
.It mailto
Address to send warning and error mail to.
Address to send warning and error mail to (negate to prevent
.Nm sudo
from sending mail).
The address should be enclosed in double quotes
.Pq \&""
to protect against