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

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

1 Answer 1

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.