Re: sendmail problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Howarth wrote:

> Sharon Kimble wrote:
>> Paul Howarth wrote:
>>>Sharon Kimble wrote:
>>>
>>>>==============
>>>>I then looked at '/etc/mail/trusted-users' which shows this;-
>>>>==============
>>>># trusted-users - users that can send mail as others without a warning
>>>># apache, mailman, majordomo, uucp, are good candidates
>>>>root
>>>>==============
>>>>and with permissions of rw-rw-rw-.
>>>>
>>>>It now seems that 'sendmail' is not working internally at all, so how do
>>>>I get it to work please?
>>>
>>>/etc/mail/trusted-users should not be world-writable.
>>>
>>>Try:
>>># chmod 644 /etc/mail/trusted-users
>>>
>>>In fact there shouldn't nned to be any world-writable files in /etc/mail
>>>at all - are there any others?
>>>
>> 
>> Thanks Paul.
>> 
>> No there are no others, so I did chmod etc., and /etc/mail/trusted-users
>> now has permissions of rw-r--r--.
>> 
>> I tried running epylog again. Its full error report is shown here;-
>> ============================
>> ./epylog
>> Invoking: "Initializing epylog"...
> 
> (snip)
> 
>> IOError: [Errno 32] Broken pipe
>> =========================
>> which seem to be the same as before. It looks like the crux of the
>> problem is in the line "/etc/mail/submit.cf: line 545: fileclass: cannot
>> open '/etc/mail/trusted-users': World writable directory". But I haven't
>> a clue what it means!
> 
> It means exactly what it says; you have a world-writable directory,
> either / or /etc or /etc/mail.
> 
> What's the output of:
> $ ls -ld / /etc /etc/mail
> 
> All should be 755:
> $ ls -ld / /etc /etc/mail
> drwxr-xr-x  38 root root 4096 Jan  4 10:27 /
> drwxr-xr-x  87 root root 8192 Jan 11 05:34 /etc
> drwxr-xr-x   3 root root 4096 Jan  7 09:55 /etc/mail
> 
> Less restrictive permissions than those represent a security issue.
> 
ls -ld / /etc /etc/mail
drwxr-xrwx  24 root root  4096 Jan  8 14:15 /
drwxr-xr-x  96 root root 12288 Jan 11 14:30 /etc
drwxr-xr-x   3 root root  4096 Jan 10 11:47 /etc/mail

To me it looks like the problem lies with / where it seems to be writable by
'others'. But how to change it I don't know, or if it should be changed
even.

Sharon.
-- 
 16:51:54 up 3 days,  2:36,  3 users,  load average: 1.36, 1.44, 1.36
A taste of linux http://myweb.tiscali.co.uk/efever/index.html
efever http://www.efever.blogspot.com/
Fedora Core 3, KDE 3.3.2-1.2.3, OpenOffice 1.1.4
Registered Linux user 334501



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux