[BusyBox] Busybox 1.0.0-pre10 and sendmail

Tzafrir Cohen tzafrir at technion.ac.il
Mon May 10 17:35:58 UTC 2004


On Mon, May 10, 2004 at 11:28:20AM -0400, Michael Shearer wrote:
> Hi,
> 
> Has anyone every successfully used Sendmail on Busybox?  

One possily-silly question: why sendmail? What do you need it for? Don't
you have anything better/simpler ?

> 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?

Why would the busybox mount command set permissions to that dir?

In what environment do you run it?

> 
> 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
> 

> _______________________________________________
> busybox mailing list
> busybox at mail.busybox.net
> http://busybox.net/mailman/listinfo/busybox


-- 
Tzafrir Cohen                       +---------------------------+
http://www.technion.ac.il/~tzafrir/ |vim is a mutt's best friend|
mailto:tzafrir at technion.ac.il       +---------------------------+



More information about the busybox mailing list