FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Red Hat Linux

 
 
LinkBack Thread Tools
 
Old 06-25-2010, 05:01 AM
James Corteciano
 
Default RHEL 5.5 - Sendmail acting strange behaviour

Hi All,

I have strange behaviour of sendmail. I have installed fresh vanilla of RHEL
5.5 and able to send test mail outside. After less than 6 hours, this is the
error I got.

# /etc/init.d/sendmail restart
Shutting down sm-client: [FAILED]
Shutting down sendmail: [FAILED]
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass:
cannot open '/etc/mail/local-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 588: fileclass: cannot open
'/etc/mail/trusted-users': World writable directory
[FAILED]
Starting sm-client: /etc/mail/submit.cf: line 544: fileclass: cannot open
'/etc/mail/trusted-users': World writable directory
[FAILED]

# ls -l /etc/mail/local-host-names
-rw-r--r-- 1 root root 64 Jan 22 20:37 /etc/mail/local-host-names
# ls -l /etc/mail/trusted-users
-rw-r--r-- 1 root root 127 Jan 22 20:37 /etc/mail/trusted-users


How to fix this?

Thanks.

Regards,
James
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 06-25-2010, 05:23 AM
Barry Brimer
 
Default RHEL 5.5 - Sendmail acting strange behaviour

On Fri, 25 Jun 2010, James Corteciano wrote:


Hi All,

I have strange behaviour of sendmail. I have installed fresh vanilla of RHEL
5.5 and able to send test mail outside. After less than 6 hours, this is the
error I got.

# /etc/init.d/sendmail restart
Shutting down sm-client: [FAILED]
Shutting down sendmail: [FAILED]
Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass:
cannot open '/etc/mail/local-host-names': World writable directory
451 4.0.0 /etc/mail/sendmail.cf: line 588: fileclass: cannot open
'/etc/mail/trusted-users': World writable directory
[FAILED]
Starting sm-client: /etc/mail/submit.cf: line 544: fileclass: cannot open
'/etc/mail/trusted-users': World writable directory
[FAILED]

# ls -l /etc/mail/local-host-names
-rw-r--r-- 1 root root 64 Jan 22 20:37 /etc/mail/local-host-names
# ls -l /etc/mail/trusted-users
-rw-r--r-- 1 root root 127 Jan 22 20:37 /etc/mail/trusted-users


How to fix this?


I suspect the /etc/mail directory itself is world-writable as indicated by
the message above. Please examine the permissions of the /etc/mail
directory. I believe the correct permissions for /etc/mail are 755.


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 
Old 06-25-2010, 05:36 AM
James Corteciano
 
Default RHEL 5.5 - Sendmail acting strange behaviour

Hi Barry,

The current permission of "/etc/mail" directory is rwxr-xr-x. It's kinda
weird because I didn't touch it before.

Thanks for your reply.

Regards,
James

On Fri, Jun 25, 2010 at 1:23 PM, Barry Brimer <lists@brimer.org> wrote:

>
>
> On Fri, 25 Jun 2010, James Corteciano wrote:
>
> Hi All,
>>
>> I have strange behaviour of sendmail. I have installed fresh vanilla of
>> RHEL
>> 5.5 and able to send test mail outside. After less than 6 hours, this is
>> the
>> error I got.
>>
>> # /etc/init.d/sendmail restart
>> Shutting down sm-client: [FAILED]
>> Shutting down sendmail: [FAILED]
>> Starting sendmail: 451 4.0.0 /etc/mail/sendmail.cf: line 91: fileclass:
>> cannot open '/etc/mail/local-host-names': World writable directory
>> 451 4.0.0 /etc/mail/sendmail.cf: line 588: fileclass: cannot open
>> '/etc/mail/trusted-users': World writable directory
>> [FAILED]
>> Starting sm-client: /etc/mail/submit.cf: line 544: fileclass: cannot open
>> '/etc/mail/trusted-users': World writable directory
>> [FAILED]
>>
>> # ls -l /etc/mail/local-host-names
>> -rw-r--r-- 1 root root 64 Jan 22 20:37 /etc/mail/local-host-names
>> # ls -l /etc/mail/trusted-users
>> -rw-r--r-- 1 root root 127 Jan 22 20:37 /etc/mail/trusted-users
>>
>>
>> How to fix this?
>>
>
> I suspect the /etc/mail directory itself is world-writable as indicated by
> the message above. Please examine the permissions of the /etc/mail
> directory. I believe the correct permissions for /etc/mail are 755.
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
 

Thread Tools




All times are GMT. The time now is 02:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org