From owner-freebsd-questions Sat Feb 3 3:51:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from titan.misa.ac.ru (alloy.misa.ac.ru [193.232.119.130]) by hub.freebsd.org (Postfix) with ESMTP id B815D37B401 for ; Sat, 3 Feb 2001 03:50:52 -0800 (PST) Received: (from prof@localhost) by titan.misa.ac.ru (8.11.1/8.11.1) with UUCP id f13EqHH17387; Sat, 3 Feb 2001 14:52:17 GMT (envelope-from prof) Date: Sat, 3 Feb 2001 14:52:17 GMT Message-Id: <200102031452.f13EqHH17387@titan.misa.ac.ru> From: Dmitry.Karpov@misa.ac.ru To: edwin@d9168.upc-d.chello.nl, freebsd-questions@FreeBSD.ORG Subject: Re: root-SetUID for /usr/libexec/mail.local Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dmitry.Karpov@misa.ac.ru: >> In FreeBSD'4.1.1 file /usr/libexec/mail.local is: >> -r-sr-xr-x 1 root wheel 20360 Sep 26 2000 /usr/libexec/mail.local >> but in FreeBSD'4.2 (from ftp://ftp.gamma.ru) this file >> has not SetUID bit and local mail not working: "Deferred". :-( >> When I set SetUID bit - Ok! >> What is the reason for this problem? Are files "bin.??" bad? Edwin Groothuis : > http://www.FreeBSD.org/cgi/cvsweb.cgi/src/libexec/mail.local/Makefile > > ------------------------------------------------------------------------------- > Revision 1.13 / (download) - annotate - [select for diffs], Tue Oct 10 18:12:30 2000 UTC (3 months, 3 weeks ago) by gshapiro > Branch: MAIN > Changes since 1.12: +1 -3 lines > Diff to previous 1.12 (colored) > > mail.local(8) is no longer installed as a set-user-id binary. > > Users may have to adjust their configuration to call mail.local as root > by adding the F=S flag to the local mailer. Most probably already have this. > ------------------------------------------------------------------------------- > > Don't know why this is done btw. Sorry, I am very little speak english. My problem was: When I install FreeBSD'4.2 on computer, my computer can't receive local mail and put it into mailbox. I remember, some time ago today-installed FreeBSD don't relay e-mail - Ok, I am understand, the reason is spam-danger open mail-relay (spammes may use open mial-relay to send spam). Does anybody know: why mail.local has no SetUID, and F=S flag is absent in local mailer, both? Is SetUID for mail.local some "security hole"? Will SetUID for mail.local in next FreeBSD versions? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message