Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

SendMail | CentOS

For debugging/troubleshooting purposes, I'd like to examine the raw information that sendmail is sending to a local milter (and also the data being returned by a milter). Is that possible? Would I be able to see this if I changed confLOG_LEVEL to maximum?

share|improve this question

You can install one of two milters right before the milter you want to check:

1- Install MIMEDefang and then write your own version of the filter_* routines so as to log anything you need, the way you need it.

2- Modify and install sample_milter to achieve the same purpose.

Just make sure that any of the two milters that you install do not alter or reject any incoming message.

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.