RHEL 5.5 - Sendmail acting strange behaviour

James Corteciano james at linux-source.org
Fri Jun 25 05:36:53 UTC 2010


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 at 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 at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



More information about the redhat-list mailing list