[BusyBox] Busybox 1.0.0-pre10 and sendmail

Michael Shearer mshearer at aastra.com
Mon May 10 15:28:20 UTC 2004


Hi,

Has anyone every successfully used Sendmail on Busybox?  I'm not sure if it's a BB issue but I can't seem to figure this one out and I was wondering if anyone had encountered the same problems I had.  It looks like when start Sendmail, it checks the directory and file permissions on certain files used by Sendmail.  The owner:group and permissions are set to root:root and rwx-rx-rx on /etc, /etc/mail and /etc/mail/*.  The problem seems to be the root directory '/'?!?  I need to do a "chmod go-w /" before I can use Sendmail.  Shouldn't the Busybox mount command be setting these permissions correctly?

Here's the Sendmail trace:


# [dir /] mode 40777 FATAL
# sendmail -v -d44.4 -bv postmaster
safefile(/etc/mail/sendmail.cf, uid=0, gid=0, flags=6000, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=6000, level=0, offset=0):
        [dir /] mode 40777 WARNING
        [dir /etc/mail] OK
        [uid 0, nlink 1, stat 100644, mode 400]         OK
safefile(/etc/mail/local-host-names, uid=0, gid=0, flags=6580, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=6580, level=0, offset=0):
        [dir /] mode 40777 FATAL
        [dir /etc/mail] World writable directory
/etc/mail/sendmail.cf: line 91: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
safefile(/etc/mail/relay-domains, uid=0, gid=0, flags=6580, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=6580, level=0, offset=0):
        [dir /] mode 40777 FATAL
        [dir /etc/mail] World writable directory
Warning: Option: AuthOptions requires SASL support (-DSASL)
safefile(/etc/mail/trusted-users, uid=0, gid=0, flags=6580, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=6580, level=0, offset=0):
        [dir /] mode 40777 FATAL
        [dir /etc/mail] World writable directory
/etc/mail/sendmail.cf: line 568: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
safefile(/etc/mail/service.switch, uid=0, gid=0, flags=6480, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=6580, level=0, offset=0):
        [dir /] mode 40777 FATAL
        [dir /etc/mail] World writable directory
        No such file or directory
safefile(/etc/mail/service.switch, uid=0, gid=0, flags=6480, mode=400):
safedirpath(/etc/mail, uid=0, gid=0, flags=6580, level=0, offset=0):
        [dir /] mode 40777 FATAL
        [dir /etc/mail] World writable directory
        No such file or directory
safedirpath(/var/spool/mqueue, uid=0, gid=0, flags=4, level=0, offset=0):
        [dir /] mode 40777 WARNING
        [dir /var/spool/mqueue] OK

Michael Shearer
CVX SS7 Gateway (CSG) Engineer
Aastra Telecom US, CVX Division
8 Federal Street
Billerica, MA, USA, 01821-3570
* Phone (978) 436-4248
* Fax (978) 436-4233
* Internet Mail mshearer at aastra.com
* Web www.aastra.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20040510/6c80805e/attachment-0001.htm 


More information about the busybox mailing list