Sujet : sendmail questions: setgid bit, mail.local et cetera De : wagnes (at) *nospam* jemoni.to (Wolfgang Agnes) Groupes :comp.unix.bsd.freebsd.misc Date : 05. Nov 2024, 21:33:05 Autres entêtes Organisation : A noiseless patient Spider Message-ID :<87ikt1pgji.fsf@jemoni.to>
I have a fresh install of FreeBSD-RELEASE 14.0 done by my service provider, which I upgraded to FreeBSD-RELEASE 14.1 yesterday (with help from people here, in fact).
%uname -a FreeBSD my.host.name 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 GENERIC amd64
I'm reviewing sendmail configuration and I came to check whether my sendmail had its setuid bit set. I discovered it does not. But then I thought I'd find it had the setgid bit set. It also does not.
So I guess the FreeBSD designers compiled sendmail with a default group, which must be ``mail'', which is the group in /var/mail, so that must be how sendmail is able to deliver messages to local users.
I expected to find the program mail.local---for local mail delivery. I do not find this program on root's path, but I find its manual page in section 8. Should I not have this program? Where is it?
I'm reading the book
sendmail Bryan Costales, George Jansen, and Claus Afsmann with Gregory Neil Shapiro O'Reilly, fourth edition, 2008, ISBN 978-0-596-51029-9
and they talk about mail.local as the program that delivers local mail.
Date
Sujet
#
Auteur
5 Nov 24
sendmail questions: setgid bit, mail.local et cetera