
From jc@irbs.com Wed Sep  3 15:51:27 1997
Date: Tue, 6 May 1997 12:38:56 -0400
From: John Capo <jc@irbs.com>
To: "Christopher X. Candreva" <chris@westnet.com>
Subject: Re: check_compat revisited

ftp://ftp.irbs.com/pub/sendmail/ contains a patch to sendmail and
rulesets for check_mail and check_rcpt.  There are no docs there. :-(

check_rcpt.m4 uses domain names for access control but they can
be spoofed.  check_rcpt_1.m4 uses IP address for access control.

The .m4 files should be placed in the sendmail cf/hack directory
and included in your .mc file.

HACK(check_mail)
HACK(check_rcpt)   or check_rcpt_1

If you have specific questions I will try to answer them.  I haven't
had time to document what I have done.

John Capo	                        Embedded Hardware/Software Design
IRBS Engineering                 Unix/Internet Consulting - ISP Solutions

Quoting Christopher X. Candreva (chris@westnet.com):
> On Tue, 15 Apr 1997, John Capo wrote:
> 
> > I modified Ed's idea a bit and call the check_rcpt rule with the
> > envelope from and to addresses and handle all of the processing in
> > the check_rcpt rule.  I have this scheme running at 2 client sites
> > and at my site.  I should be able to release the patches and rules
> > soon.
> 
> I'm in the same boat as Homer when he initially posted this: I do mail
> forwarding for many domains, and have just started to be used as a mail
> relay by spammers.
> 
