Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Recently I did an audit of my machine with logwatch and found out that my machine sends around 582 mails everyday.

 STATISTICS
 ----------

 Messages To Recipients:  582
 Addressed Recipients:    582
 Bytes Transferred:       444985
 Messages No Valid Rcpts: 0

 SMTP SESSION, MESSAGE, OR RECIPIENT ERRORS
 ------------------------------------------

Next day

 STATISTICS
 ----------

 Messages To Recipients:  153
 Addressed Recipients:    279
 Bytes Transferred:       8613451
 Messages No Valid Rcpts: 0

 SMTP SESSION, MESSAGE, OR RECIPIENT ERRORS
 ------------------------------------------

How can I audit more to find out the email ids to where did is send, program which schedules this etc?

share|improve this question
add comment

4 Answers

up vote 1 down vote accepted

Use log analyzer to find count of sender, recipient, domain etc. and other details. So that you can analyze the situation better.

Google Keyword: sendmail log analyzer

share|improve this answer
add comment

You need to first fine out which MTA you are running. EXIM, Sendmail, Postfix etc.. Each of these MTA's have different log files. Without knowing your server setup, the best suggestion would be to dig into /var/log/maillog

share|improve this answer
add comment

If you have syslog setup, there may be a /var/log/maillog file containing all the mail to/from lines. I'm sorry that this will not indicate the program that sent the mail however.

share|improve this answer
add comment

Real Postmaser must read real logs, everyday!

500+ emails per day isn't giant number for any mid-size e-mail emitter. Zero bounces is a (somehow) sign of "good nature" of these e-mails

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.