sendmail problems

Paul Howarth paul at city-fan.org
Tue Jan 11 16:17:39 UTC 2005


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.

Paul.




More information about the fedora-list mailing list