Solved

sendmail logging

Posted on 1997-05-25
4
324 Views
Last Modified: 2013-12-16
On an NCR 3550 a user has set up sendmail to some how log its activity to the file /etc/.osm.
Running /etc/fuser shows that gplogger is accessing this file but nowhere in the man pages for gplogger can I find how to turn sendmail logging off.
Any ideas?

Many thanks Phil Tremethick
(philt)

Thanks for your prompt answer.
I've tried your suggestions but there has been no change.
An /etc/fuser on /etc/.osm shows that only one process is accessing it, gplogger. The man page for gplogger does not hold any referances to sendmail.
Incidentally the `platform` command shows we are running svr4.
Thanks again
philt
0
Comment
Question by:philt022797
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
sherwood earned 130 total points
Comment Utility
Most unixes control sendmail logging in the file
/etc/syslog.conf

E.g.
# See syslogd(1M) for information about the format of this file.
#
mail.debug              /var/adm/syslog/mail.log

If you don't want logging comment out this line.
Note:  I'm not familiar the NCR's flavour of unix.
Reject this answer if it doesn't apply.
0
 

Author Comment

by:philt022797
Comment Utility
Edited text of question
0
 
LVL 1

Expert Comment

by:coles
Comment Utility
Even simpler, if it's standard sendmail, load up the sendmail.cf file and find the OL line.

Just change the OL line from OL9 (the default) to OL0 (log nothing).  This saves CPU time because sendmail won't even TRY to log, whereas the other way it tries to log but syslog isn't accepting log requests.
0
 

Author Comment

by:philt022797
Comment Utility
Thankyou to both of you that replied.
I tried Sherwood's answer but, unfortunately, without any
effect.
I tried Coles' idea and yes, it worked fine. Sendmail no
logs to /etc/.osm.

Once again thanks to both of you.

Regards
philt
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now