Whe trying to start sendmail i getting following error


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Whe trying to start sendmail i getting following error
# 1  
Old 06-09-2008
Whe trying to start sendmail i getting following error

Hi expert ,

When i trying to start sendmail i getting the following error : pls help me

# ./sendmail start
# 451 4.0.0 /etc/mail/sendmail.cf: line 77: fileclass: cannot open /etc/mail/local-host-names: World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 472: fileclass: cannot open /etc/mail/trusted-users: World writable directory.

*************************************************
****My local-host-name file is empty****
****my trusted-users file contains root***

What to do now ! what to check now!

thanks in advance.
# 2  
Old 06-09-2008
The error message suggests that /etc/mail is world writable, so you have to change the permissions to whatever sendmail requires.
# 3  
Old 06-09-2008
hi sysgate,

if i gave 777 also same error !

i have used
# chmod 777 mail & chmod 777 for local-host-names & chmod 777 for trusted-users
# 4  
Old 06-09-2008
It complains because the permissions are insecure, not because they are too tight. You need to set them to something like 400. chmod 777 is basically never correct, anyway.
# 5  
Old 06-09-2008
Quote:
Originally Posted by saisivakumar
hi sysgate,

if i gave 777 also same error !

i have used
# chmod 777 mail & chmod 777 for local-host-names & chmod 777 for trusted-users
try chmod 775 which withdraws the world writeable privilege.
# 6  
Old 06-09-2008
Quote:
Originally Posted by johnf
try chmod 775 which withdraws the world writeable privilege.
hi era,johnf

I have tried both the permission 400 and 755 !

i m getting same error.

what to do?
thanks

Last edited by saisivakumar; 06-09-2008 at 06:38 AM..
# 7  
Old 06-09-2008
Read the documentation to see what the permissions should really be.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Sendmail Error

Hello, we have a mailserver named vision.mailhost.com 192.168.10.10 ( solaris 10) We have an test server named visionway 192.168.10.5 ( solaris 10) we want to run a cron job on test server and send an email if the cronjob fails Question is how does the test server sendmail know the... (1 Reply)
Discussion started by: nimika
1 Replies

2. UNIX for Dummies Questions & Answers

Sendmail error message

Hi i am having a probleme with my sendmail server. using it as a mta to send out email. keem on getting this error message back. ----- The following addresses had permanent fatal errors ----- <XXX@XXXX.co.za> (reason: 554 Denied (Mode: normal)) ----- Transcript of session... (1 Reply)
Discussion started by: sakie
1 Replies

3. Red Hat

sendmail error

Hi, Need help here in sendmail error encountered # tail /var/log/maillog Aug 18 16:36:01 dot-123-my-server sendmail: q7IKa1GJ001123: to=<munin@dot-123-my-server>, ctladdr=<munin@dot-123-my-server> (101/102), delay=00:00:00, xdelay=00:00:00, mailer=local, pri=30898, dsn=2.0.0, stat=Sent Aug... (2 Replies)
Discussion started by: edwin rosales
2 Replies

4. UNIX for Dummies Questions & Answers

opensuse 12.1 - dual sendmail service start

Hi there! A bit of a background: I am running an opensuse 11.3 box for fetching mails, scanning them for viruses and spam with amavis and deliver them to the user mailboxes in a dual sendmail daemon configuration: fetchmail -> sendmail-1 -> amavis -> sendmail-2 -> Exchange. Everything is... (1 Reply)
Discussion started by: lpacor
1 Replies

5. SuSE

opensuse 12.1 - dual sendmail service start

Hi there! A bit of a background: I am running an opensuse 11.3 box for fetching mails, scanning them for viruses and spam with amavis and deliver them to the user mailboxes in a dual sendmail daemon configuration: fetchmail -> sendmail-1 -> amavis -> sendmail-2 -> Exchange. Everything is... (0 Replies)
Discussion started by: lpacor
0 Replies

6. UNIX for Advanced & Expert Users

opensuse 12.1 - dual sendmail service start

Hi there! A bit of a background: I am running an opensuse 11.3 box for fetching mails, scanning them for viruses and spam with amavis and deliver them to the user mailboxes in a dual sendmail daemon configuration: fetchmail -> sendmail-1 -> amavis -> sendmail-2 -> Exchange. Everything is just... (0 Replies)
Discussion started by: lpacor
0 Replies

7. Linux

Sendmail takes too long to start and the host is unable to send emails

Hello All, Sendmail takes too long to start and the host is unable to send emails, below are the steps followed, Please let me know if I'm missing anything, is there a debug mode for mailx? # time service sendmail restart Shutting down sm-client: Shutting... (6 Replies)
Discussion started by: lovesaikrishna
6 Replies

8. UNIX for Dummies Questions & Answers

getting some error periodically - sendmail

Hi all, When ever i open unix, periodically after every 3 minutes(approximately) i get the below error. "Dec 29 23:56:01 "domain name" sendmail: unable to qualify my own domain name ("domain name") -- using short name". This is interrupting me while writing a program. Please... (2 Replies)
Discussion started by: rakeshbharadwaj
2 Replies

9. UNIX for Dummies Questions & Answers

Sendmail error

I have faced the following error : Feb 8 11:56:10 test sendmail: unable to qualify my own domain name (test) -- using short name I searched the forum and tested the required in the posts , but it doesn't work ... I have changed the IP and local host in /etc/hosts to be as follows : ... (1 Reply)
Discussion started by: atiato
1 Replies

10. UNIX for Dummies Questions & Answers

sendmail error :-(

Hi all, My problem is on : SunOS "MY_HOSTNAME" 5.7 Generic_106541-14 sun4u sparc SUNW,Ultra-60 I get the following message on the console login screen: sendmail: MAA 23665: SYSERR: putoutmsg (NO-HOST): error on output channel sending "550 none...User unknown": I/O error. Does anyone... (11 Replies)
Discussion started by: guest100
11 Replies
Login or Register to Ask a Question