Results 1 to 5 of 5
hello I just installed sendmail from fedora 10 server package.
When I write /etc/rc.d/init.d/sendmail in command mode than the following problem happens:
[root@localhost farid]# /etc/rc.d/init.d/sendmail start
Starting sendmail: 451 4.0.0 ...
- 03-24-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 5
sendmail config problem
hello I just installed sendmail from fedora 10 server package.
When I write /etc/rc.d/init.d/sendmail in command mode than the following problem happens:
[root@localhost farid]# /etc/rc.d/init.d/sendmail start
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 87: fileclass: cannot open '/etc/mail/local-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 594: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
could anyone please tell me what I've to do in here, though I didn't
configure anything in sendmail here.
Any idea/suggestion will be appreciated.
Thanks in advance
- 03-24-2009 #2Linux Newbie
- Join Date
- Feb 2009
- Location
- Third ring of Pergatory
- Posts
- 199
Look in /etc/mail/Code:sendmail.cf: line 87: fileclass: cannot open '/etc/mail/local-host-names': World writable directory 451 4.0.0 /etc/mail/sendmail.cf: line 594: fileclass: cannot open '/etc/mail/trusted-users': World writable directory
Do you have a file named "local-host-names"? Generally it's using an internal configuration file because it can't resolve the fqdn for the host, it you don't have a domain name, you can put "localhost" in the file and it will probably start listening to the IP 127.0.0.1 for server traffic. You can also look in /etc/hosts and see if there are any other hosts listed there besides your fqdn or localhost. It's probably trying the "local-host-name" file because "/etc/hosts" confuses it.
Do you have a file named "trusted-users"? If you created one and put the system names of your trusted users in the file, does it work? If you look at your sendmail.cf it has comments written into it to guide you in how to structure the names. Also, it's telling you the line numbers the sendmail.cfg is failing on (line 87, line 594). Those are specific to your machine, so you have to look them up and tell us what they say if tweaking the files doesn't fix the problem
- 03-24-2009 #3
This looks like sendmail is doing a security check on the /etc/mail directory. You don't want your mail server configuration directory writable by everyone, as it is complaining about. The following may help:
Code:# chmod o-w /etc/mail
- 03-25-2009 #4
yes,i agree with Ziplock,change the permission mode,that should work.
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------
- 06-14-2009 #5Just Joined!
- Join Date
- Jun 2009
- Posts
- 2
I's a security problem
Check yours folders rights
ls -lad / /etc /etc/mail
This must be
drwxr-xr-x 25 root root 4096 jun 14 18:31 /
drwxr-xr-x 133 root root 12288 jun 14 18:32 /etc
drwxr-xr-x 2 root root 4096 jun 14 18:39 /etc/mail
if not do
chmod 755 /
chmod 755 /etc
chmod 755 /etc/mail
I guess this will solve the problem
I have teh same issue then of an upgrade


Reply With Quote