?
Solved

sendmail logging

Posted on 1997-05-25
4
Medium Priority
?
339 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Accepted Solution

by:
sherwood earned 130 total points
ID: 1812246
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
ID: 1812247
Edited text of question
0
 
LVL 1

Expert Comment

by:coles
ID: 1812248
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
ID: 1812249
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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses

777 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