sendmail problems

Sharon Kimble skimble04 at
Tue Jan 11 15:59:15 UTC 2005

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;-
Invoking: "Initializing epylog"...
Initializing epylog...done
Invoking: "Restoring log offsets"...
Restoring log offsets...done
Invoking the module execution routines:
Invoking: "Processing internal modules"...
  /var/log/messages[.#]: [     4322 of 26615 lines parsed    ]
  /var/log/secure[.#]: [         0 of 9 lines parsed         ]
  /var/log/maillog[.#]: [      47 of 1353 lines parsed       ]
  Telling all threads to quit
  Waiting for threads to finish: [      all threads done     ]
  Invoking: "Finished all matching, now finalizing"...
    Invoking: "Finalizing "Logins""...
    Finalizing "Logins"...done
    Invoking: "Finalizing "Packet Filter""...
    Finalizing "Packet Filter"...done
    Invoking: "Finalizing "Mail Report""...
    Finalizing "Mail Report"...done
    Invoking: "Finalizing "Notices""...
    Finalizing "Notices"...done
    Invoking: "Finalizing "Weedeater""...
    Finalizing "Weedeater"...done
  (Hanging from "Finished all matching, now finalizing")....done
(Hanging from "Processing internal modules")....done
Finished processing modules
Invoking: "Making the report"...
Making the report...done
Invoking: "Publishing the report"...
/etc/mail/ line 545: fileclass: cannot open
'/etc/mail/trusted-users': World writable directory
Traceback (most recent call last):
  File "./epylog", line 300, in ?
  File "./epylog", line 284, in main
  File "/usr/lib/python2.3/site-packages/epylog/", line 369, in
publish_report, unparsed)
  File "/usr/lib/python2.3/site-packages/epylog/", line 245, in
  File "/usr/lib/python2.3/site-packages/epylog/", line 311, in
    mail_sendmail(self.smtpserv, msg, logger)
  File "/usr/lib/python2.3/site-packages/epylog/", line 141, in
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/ line 545: fileclass: cannot open
'/etc/mail/trusted-users': World writable directory". But I haven't a clue
what it means!

 15:54:22 up 3 days,  1:39,  3 users,  load average: 1.59, 1.52, 1.33
A taste of linux
Fedora Core 3, KDE 3.3.2-1.2.3, OpenOffice 1.1.4
Registered Linux user 334501

More information about the users mailing list