sendmail problems
Sharon Kimble
skimble04 at gmail.com
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;-
============================
./epylog
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/submit.cf: line 545: fileclass: cannot open
'/etc/mail/trusted-users': World writable directory
Traceback (most recent call last):
File "./epylog", line 300, in ?
main(sys.argv)
File "./epylog", line 284, in main
epylog.publish_report()
File "/usr/lib/python2.3/site-packages/epylog/__init__.py", line 369, in
publish_report
self.report.publish(rawfh, unparsed)
File "/usr/lib/python2.3/site-packages/epylog/report.py", line 245, in
publish
rawfh)
File "/usr/lib/python2.3/site-packages/epylog/publishers.py", line 311, in
publish
mail_sendmail(self.smtpserv, msg, logger)
File "/usr/lib/python2.3/site-packages/epylog/publishers.py", line 141, in
mail_sendmail
p.write(msg)
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!
Sharon.
--
15:54:22 up 3 days, 1:39, 3 users, load average: 1.59, 1.52, 1.33
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
More information about the fedora-list
mailing list