Den 04.02.2026 19:29, skrev yahoo:
Il 04/02/26 17:43, Dr Rainer Woitok ha scritto:
Greetings,
by default package "app-admin/sudo" is built with USE flag "+sendmail",
and this USE flag is described as "Allow sudo to send emails with send-
mail". Up to now I tried in vain to find information in the Gentoo Wiki
where to configure target mail addresses and conditions triggering mails
to be sent. It's also unclear whether building "app-admin/sudo" with
USE flag "-sendmail" will cause it to just use another programme for
sending mails or won't send any mails at all.
Any pointers and clarifications welcome :-)
[snip]
Does that disable email for sudo? I guess so, although the above is a
bit ambiguous. Also, the second sentence above suggests that sudo only
supports sendmail or equivalent. There are some sendmail alternatives
listed in https://wiki.gentoo.org/wiki/Email.
For the sendmail configuration I cannot help, for local emails I use
nullmailer which is not easy to configure and probably completely
different from sendmail.
I'm certain they mean sendmail the command, not sendmail the package.
From my box:
<code>
$ qlist nullmailer | grep sendmail
/usr/share/man/man1/sendmail.1.bz2
/usr/sbin/sendmail
/usr/lib64/sendmail
</code>