Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

sendmail logging

Posted on 1997-05-25
4
Medium Priority
?
346 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
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 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…
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.

618 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