Operating System - Linux
1753857 Members
7328 Online
108809 Solutions
New Discussion юеВ

Re: send mail is not working

 
ramizkhan
Advisor

send mail is not working

Environment
==========

OS: OEL 5.3
Linux: 64 bit

Mail status and permissions
===========================

[root@at1oebsap101 etc]# uname -a
Linux at1oebsap101.mycompany.com 2.6.18-128.el5 #1 SMP Wed Jan 21 08:45:05 EST 2009 x86_64 x86_64 x86_64 GNU/Linux

[permission mail dir]

drwxr-xr-x 3 root root 4096 Apr 14 2010 mail

[permissions inside mail]

[root@at1oebsap101 etc]# ls -al mail
total 276
drwxr-xr-x 3 root root 4096 Apr 14 2010 .
drwxr-xr-x 97 root root 12288 Dec 14 13:59 ..
-rw-r--r-- 1 root root 355 Jun 6 2007 access
-rw-r----- 1 root root 12288 Apr 14 2010 access.db
-rw-r--r-- 1 root root 0 Jun 6 2007 domaintable
-rw-r----- 1 root root 12288 Apr 14 2010 domaintable.db
-rw-r--r-- 1 root root 5521 Jun 6 2007 helpfile
-rw-r--r-- 1 root root 64 Jun 6 2007 local-host-names
-rw-r--r-- 1 root root 0 Jun 6 2007 mailertable
-rw-r----- 1 root root 12288 Apr 14 2010 mailertable.db
-rw-r--r-- 1 root root 1048 Jun 6 2007 Makefile
-rw-r--r-- 1 root root 58184 Apr 14 2010 sendmail.cf
-rw-r--r-- 1 root root 7209 Jun 6 2007 sendmail.mc
drwxr-xr-x 2 root root 4096 Apr 14 2010 spamassassin
-r--r--r-- 1 root root 41265 Jun 6 2007 submit.cf
-rw-r--r-- 1 root root 940 Jun 6 2007 submit.mc
-rw-r--r-- 1 root root 127 Jun 6 2007 trusted-users
-rw-r--r-- 1 root root 0 Jun 6 2007 virtusertable
-rw-r----- 1 root root 12288 Apr 14 2010 virtusertable.db



[root@at1oebsap101 etc]# service sendmail status
sendmail (pid 5284 5277) is running...


[root@at1oebsap101 etc]# service iptables status
Firewall is stopped.


Issue I am facing:
==================


# echo "tesT" | mail -s testsubjet myname@mycompany.com

[root@at1oebsap101 mail]# /etc/mail/submit.cf: line 544: fileclass: cannot open '/etc/mail/trusted-users': World writable directory


This is a production server so i don't want to restart the sendmail service although it is up and running

Thanks

2 REPLIES 2
Steven Schweda
Honored Contributor

Re: send mail is not working

> [...] /etc/mail/trusted-users': World writable directory

ls -ld /
ls -ld /etc
ls -ld /etc/mail

Generous permissions anywhere on the path
could cause this problem. (If the error
message is correct.)
Dennis Handly
Acclaimed Contributor

Re: send mail is not working

>This is a production server so I don't want to restart the sendmail service

Why worry? Mail will just be slightly delayed, nothing should be lost.