ClamAV-Milter behavior change 0.94.2 -> 0.95.1?
If you update your ClamAV from an older version, don’t panic like I did when the ClamAV milter stops appending headers to your e-mail messages. Somewhere, someone changed the configuration behavior of the milter to not append headers by default. You can enable the headers with the following setting in the milter configuration file.
# If this option is set to Yes, an "X-Virus-Scanned" and an "X-Virus-Status" # headers will be attached to each processed message, possibly replacing # existing headers. # Default: No AddHeader Yes
In the meantime, I learned a bit more about debugging milters since I cranked up the Sendmail logging to 15 to make sure the milter was running correctly.
define(`confLOG_LEVEL',`15')
Indeed it was, since these events were being logged:
Apr 18 03:58:27 sm-mta[74401]: n3I7wRZt074401: milter=greylist, action=body, continue
Since the milter was performing actions, but I wasn’t seeing the header it occurred to me that perhaps the header behavior was a configuration setting that changed. Yet another mystery solved!