Check Usage in Email server

Posted on 1999-07-22
Medium Priority
Last Modified: 2010-04-20
My email server is Linux Ret hat 5.2
I want to check the Usage of my smtp and pop.
How can I to do this ?
Question by:logout

Expert Comment

ID: 1635689
i have no idea wheater the popper daemon or sendmail support some kind of statistics. for sendmail however you could have a look at www.sendmail.org or just simply search for "sendmail +statistic"...

Accepted Solution

jtg earned 400 total points
ID: 1635690
Sendmail should be running an ongoing stats file (check for sendmail.st in your sendmail.cf file). If this file/cf entry does not exist, it will not be recording stats.

Check the stats by typing :

# mailstats

For your pop daemon then you need to look at the data coming through the log files and aprse that througha script to produce an HTML page which you can view thorugh a browser. The availability of the ionformation in your log files is vital here! If the pop daemon is not configured to write the data, then you cannot see it!

Try looking out for scripts such as:


for checking the logs for you.

Author Comment

ID: 1635691
After I type mailstate, they screen show the following,
Statistics from Sun Apr 25 04:02:32 1999
 M msgsfr bytes_from  msgsto   bytes_to  Mailer
 5  72919   40961379K  98743   42565841K  esmtp
 8  20174    3873127K  56315    5796082K  local
 T  93093   44834506K 155058   48361923K

I have some question

What is the meaning of M?
esmtp means go through outside?
local means same domain?

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
This installment of Make It Better gives Media Temple customers the latest news, plugins, and tutorials to make their Grid shared hosting experience that much smoother.
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Suggested Courses

601 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