Date: Tue, 19 Feb 2002 14:26:44 +0500 From: "Dmitry A. Bondareff" <freebsd@mmk.ru> To: <freebsd-hackers@FreeBSD.ORG> Subject: Default mail.local permission Message-ID: <018b01c1b927$8c6a14b0$02010101@wall>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. ------=_NextPart_000_0188_01C1B951.74A2CB40 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: quoted-printable Hi hackers! Help me to understand next situation: # cd /usr/src # make buildworld # make installworld # make kernel /etc/rc.conf: sendmail_enable=3D"YES" After successfully install I see the next problem: Feb 19 00:00:01 xxx mail.local: lockmailbox /var/mail/other failed; = error code 75 Feb 19 00:00:01 xxx sendmail[23806]: g1FIVkB32458: = to=3D<other@xxx.mmk.ru>, delay=3D3+00 :28:15, xdelay=3D00:00:30, mailer=3Dlocal, pri=3D12729484, dsn=3D4.0.0, = stat=3DDeferred: local m ailer (/usr/libexec/mail.local) exited with EX_TEMPFAIL # ls -l /usr/libexec/mail.local -r-xr-xr-x 1 root wheel 20456 Feb 15 15:10 /usr/libexec/mail.local # chmod u+s /usr/libexec/mail.local # ll -l /usr/libexec/mail.local -r-sr-xr-x 1 root wheel 20456 Feb 15 15:10 /usr/libexec/mail.local After this manipulations all works fine. Why so problems? Why 1555 is not default permission ? Regards, Dmitry. ------=_NextPart_000_0188_01C1B951.74A2CB40 Content-Type: text/html; charset="koi8-r" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Dkoi8-r" http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3D"Arial Cyr" size=3D2>Hi hackers!</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Arial CYR" size=3D2>Help me to understand next=20 situation:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Arial CYR" size=3D2># cd /usr/src</FONT></DIV> <DIV><FONT face=3D"Arial CYR" size=3D2># make buildworld</FONT></DIV> <DIV><FONT face=3D"Arial CYR" size=3D2># make installworld</FONT></DIV> <DIV><FONT face=3D"Arial CYR" size=3D2># make kernel</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Arial CYR" size=3D2>/etc/rc.conf:</FONT></DIV> <DIV><FONT face=3D"Arial Cyr" = size=3D2>sendmail_enable=3D"YES"</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Arial CYR" size=3D2>After successfully install I see = the next=20 problem:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Arial Cyr" size=3D2>Feb 19 00:00:01 xxx mail.local: = lockmailbox=20 /var/mail/other failed; error code 75<BR>Feb 19 00:00:01 xxx = sendmail[23806]:=20 g1FIVkB32458: to=3D<<A = href=3D"mailto:other@xxx.mmk.ru">other@xxx.mmk.ru</A>>,=20 delay=3D3+00<BR>:28:15, xdelay=3D00:00:30, mailer=3Dlocal, = pri=3D12729484, dsn=3D4.0.0,=20 stat=3DDeferred: local m<BR>ailer (/usr/libexec/mail.local) exited with=20 EX_TEMPFAIL</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Arial Cyr" size=3D2># ls -l=20 /usr/libexec/mail.local<BR>-r-xr-xr-x 1 root wheel = 20456 Feb=20 15 15:10 /usr/libexec/mail.local</FONT></DIV> <DIV><FONT face=3D"Arial CYR" size=3D2></FONT> </DIV> <DIV><FONT face=3D"Arial CYR" size=3D2># chmod u+s = /usr/libexec/mail.local<BR><FONT=20 face=3D"Arial Cyr"># ll -l /usr/libexec/mail.local<BR>-r-sr-xr-x 1 = root wheel 20456 Feb 15 15:10=20 /usr/libexec/mail.local</FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Arial CYR" size=3D2>After this manipulations all = works=20 fine.</FONT></DIV> <DIV><FONT face=3D"Arial CYR" size=3D2>Why so problems? Why 1555 is not = default=20 permission ?</FONT></DIV> <DIV> </DIV> <DIV><FONT face=3D"Arial CYR" size=3D2>Regards,</FONT></DIV> <DIV><FONT face=3D"Arial CYR" = size=3D2>Dmitry.</FONT></DIV></BODY></HTML> ------=_NextPart_000_0188_01C1B951.74A2CB40-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018b01c1b927$8c6a14b0$02010101>