How to check the number of emails sent out from the Solaris server


 
Thread Tools Search this Thread
Operating Systems Solaris How to check the number of emails sent out from the Solaris server
# 1  
Old 02-28-2011
How to check the number of emails sent out from the Solaris server

Our solaris are configured to send out email and i would like to know the number of emails sent out from the solaris server.

Anyone know can this be done?

Thanks

Last edited by DukeNuke2; 02-28-2011 at 06:04 AM..
# 2  
Old 03-01-2011
man sendmail says:
Code:
      Except for the /etc/mail/sendmail.cf file and the daemon process ID
      file, the below mentioned default pathnames are all specified in the
      configuration file, /etc/mail/sendmail.cf.  These default file names
      can be overridden in the configuration file.
 
               /etc/mail/sendmail.st              collected statistics

Also, it seems to log using syslog(), a local udp packet logging service under root control:
http://www.xs4all.nl/~sjoel/the-netw...il/ch26_01.htm

Last edited by DGPickett; 03-01-2011 at 04:25 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to calculate the number of TPS on Solaris server?

Hi, Please help me to find how to calculate the number of TPS supported by any solaris server for example one server with below configuration . Sun Blade X6270 with two 4-core processors 2 x 300 GB internal disk drives (2 Replies)
Discussion started by: manojkakkar
2 Replies

2. Ubuntu

Any way we can create an SMTP server and use any scripting language to read emails from that server

Is there any way to create an SMTP mail server will all granular permissions to it so that I can read emails which that server receives through any scripting language and also reply from the same server automatically? (3 Replies)
Discussion started by: sandeepcm
3 Replies

3. Shell Programming and Scripting

Samba server with notification emails

I'm creating a ubuntu samba server that sends out email notifications when a file a new file is created in the monitored directory. Currently im using inotifywait to monitor a directory and send out a email notification. Inotify wait works great but it gets triggered whenever any file including... (2 Replies)
Discussion started by: binary-ninja
2 Replies

4. Solaris

How to check when a solaris server got rebooted

In Windows we can check the event viewer for entries 6005,6006,6009 to confirm the system down times, as in when it got down and when it came back up. Is there some similar log files in Solaris/RHEL that I can check the timings and who or what caused the system reboot. I am an absolute newbie. Need... (4 Replies)
Discussion started by: lubu
4 Replies

5. UNIX for Advanced & Expert Users

Routing Emails, Sun One Messaging Server

Hello, i have Sun one Messaging Server 6.3 Up and running, i want to route emails that are destined to a certain email address, let's say test@mydomain.com through the tcp_local channel for example, to another email, and not allowing test@mydomain.com to receive them. So in short, i want... (0 Replies)
Discussion started by: lemonshare
0 Replies

6. Shell Programming and Scripting

Find and Extract all emails from my server

My linux version is: Linux version 2.6.9-89.0.9.ELsmp (gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)) My problem is simple (lol) I need find and extract all e-mail from my server. I know how to extract the e-mail from a text file, the problem is: Where to find the e-mails? How to find all... (2 Replies)
Discussion started by: mauricio_yan
2 Replies

7. Solaris

Server Serial Number from Solaris

This may be an off the wall question but is there anyway in Solaris to snag the serial number of a Sun box? I'm not sure if you can do this but it would save me a long drive to the data center to get the serial number to renew support... (8 Replies)
Discussion started by: kingdbag
8 Replies

8. Solaris

How to check number of files is currenty open by Solaris 10 and Linux

Hi, Anyone know the command as how many files are open in Solaris 10 and Linux - i.e. currently open - real time Thanks (1 Reply)
Discussion started by: civic2005
1 Replies

9. UNIX for Advanced & Expert Users

Solaris 9: How to check if X server is running

Hi, In Solaris 9, how do I know if the X server is running. Please let me know. Thanks (1 Reply)
Discussion started by: R00tSc0rpi0n
1 Replies

10. Shell Programming and Scripting

Check sendmail is not receiving any emails

Hi all, Need some advise again. I am new to sendmail service which is already configured by some other administrators. I would need to write a script to check whether sendmail service is enabled in Solaris and Linux. Using this command "ps -ef | grep sendmail | grep -v grep". Or is there... (6 Replies)
Discussion started by: Kinki
6 Replies
Login or Register to Ask a Question