Date: Sat, 3 Feb 2001 14:52:17 GMT 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 Message-ID: <200102031452.f13EqHH17387@titan.misa.ac.ru>
next in thread | raw e-mail | index | archive | help
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 <mavetju@chello.nl>: > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102031452.f13EqHH17387>