Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail and check_local

Status
Not open for further replies.

datadan

IS-IT--Management
Jul 22, 2002
283
US
I have a section in my sendmail.cf file for check_local with the *HACK entries.

I have commented all of those out with the "dnl" entry.

How can I be sure that check_local is no longer running?


Thanks,
 
Dan,
You can be pretty sure that check_local is not being used any more as long as dnl preceeds it. If you want to go to the extreme you can always use the divert(-1) command (in your sendmail.mc) to force the output of that command to be discarded before being written to an output file.

There is no God, only 10001010
 
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?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top