0

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?

Mike B
  • 11,871
  • 42
  • 107
  • 168

1 Answers1

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.

adamo
  • 6,925
  • 3
  • 30
  • 58