Solved

sendmail logging

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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
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…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

687 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