Solved

sendmail logging

Posted on 1997-05-25
4
335 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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

740 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