Am 2026-02-04 17:43, schrieb Dr Rainer Woitok:
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.

Hello,

from my experience, sudo usually delivers mail to root, e.g.
when a user tries to use sudo who is not allowed to.
On my machine, I have this in /etc/aliases:

root: philipp
philipp: <servername>@philippludwig.net

And then I use mail-mta/msmtp with +mta to deliver the mails
to my IMAP Inbox (I also use this setup with cron).

HTH.

Best Regards

Reply via email to