Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
Hi hackers!

Help me to understand next situation:

# cd /usr/src
# make buildworld
# make installworld
# make kernel

/etc/rc.conf:
sendmail_enable="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=<other@xxx.mmk.ru>, delay=3+00
:28:15, xdelay=00:00:30, mailer=local, pri=12729484, dsn=4.0.0, stat=Deferred: 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.

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=koi8-r" http-equiv=Content-Type>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face="Arial Cyr" size=2>Hi hackers!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CYR" size=2>Help me to understand next 
situation:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CYR" size=2># cd /usr/src</FONT></DIV>
<DIV><FONT face="Arial CYR" size=2># make buildworld</FONT></DIV>
<DIV><FONT face="Arial CYR" size=2># make installworld</FONT></DIV>
<DIV><FONT face="Arial CYR" size=2># make kernel</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CYR" size=2>/etc/rc.conf:</FONT></DIV>
<DIV><FONT face="Arial Cyr" size=2>sendmail_enable="YES"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CYR" size=2>After successfully install I see the next 
problem:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial Cyr" size=2>Feb 19 00:00:01 xxx mail.local: lockmailbox 
/var/mail/other failed; error code 75<BR>Feb 19 00:00:01 xxx sendmail[23806]: 
g1FIVkB32458: to=&lt;<A href="mailto:other@xxx.mmk.ru">other@xxx.mmk.ru</A>&gt;, 
delay=3+00<BR>:28:15, xdelay=00:00:30, mailer=local, pri=12729484, dsn=4.0.0, 
stat=Deferred: local m<BR>ailer (/usr/libexec/mail.local) exited with 
EX_TEMPFAIL</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial Cyr" size=2># ls -l 
/usr/libexec/mail.local<BR>-r-xr-xr-x&nbsp; 1 root&nbsp; wheel&nbsp; 20456 Feb 
15 15:10 /usr/libexec/mail.local</FONT></DIV>
<DIV><FONT face="Arial CYR" size=2></FONT>&nbsp;</DIV>
<DIV><FONT face="Arial CYR" size=2># chmod u+s /usr/libexec/mail.local<BR><FONT 
face="Arial Cyr"># ll -l /usr/libexec/mail.local<BR>-r-sr-xr-x&nbsp; 1 
root&nbsp; wheel&nbsp; 20456 Feb 15 15:10 
/usr/libexec/mail.local</FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CYR" size=2>After this manipulations all works 
fine.</FONT></DIV>
<DIV><FONT face="Arial CYR" size=2>Why so problems? Why 1555 is not default 
permission ?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face="Arial CYR" size=2>Regards,</FONT></DIV>
<DIV><FONT face="Arial CYR" size=2>Dmitry.</FONT></DIV></BODY></HTML>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018b01c1b927$8c6a14b0$02010101>