Well, this is a bit of mystery then.
All my check_local stuff has the dnl before and after.
However I have some things in the definition area that appear to be used only for check local:
define(`confREJECT_MSG',`552 Spammer $&{client_addr} $&f Rejected by PostMaster@$j - check_mail or check_relay')dnl
define(`confCF_VERSION', `check_local-5')dnl
define(`_QUIET_FREEWARE_')dnl
The CF_VERSION I can comment out without a problem, this apparently just addes to the version info to the header.
The _QUIET_FREEWARE_ is an option for the header when check_local is on.
However I still see stuff in my /var/log/maillog for check_mail and check_relay.
Example:
Sep 5 05:56:50 mail sendmail[27679]: h85CuoHM027679: ruleset=check_rcpt, arg1=<robinb@foo.com>, relay=mailer75.otherfoo.com [aa.bb.cc.dd] (may be forged), reject=552 5.0.0 Spammer \002. \002f Rejected by PostMaster@mail.foo.com - check_mail or check_relay
Thoughts?