Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way I can view / log the email content sent by sendmail?

By default it only shows some header information. I wanted to inspect the actual email content.

My machine is running Fedora 13.

share|improve this question

I see two options to achieve this:

  1. Write your own milter that logs content wherever you want to
  2. Use MIMEDefang to do this
share|improve this answer

There are mail-archival gateway appliances which also perform this function. A quick search on "mail archive hipaa compliance" will get you started. These appliances are often transparent, though some require setting "smarthost" in your server configuration.

share|improve this answer

Your Answer


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.