Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 1998 19:57:39 -0700 (PDT)
From:      Dan Busarow <dan@dpcsys.com>
To:        laszlo vagner <vagner@mutsgo.dyn.ml.org>
Cc:        questions@FreeBSD.ORG
Subject:   Re: domain resolve for email
Message-ID:  <Pine.BSF.3.96.980414193853.8800A-100000@java.dpcsys.com>
In-Reply-To: <199804150129.UAA00903@mutsgo.dyn.ml.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I've Cc'd the list in case anyone else made the same mistake.

On Tue, 14 Apr 1998, laszlo vagner wrote:
> is there any special position this code must be in and do i also have to 
> include the "Scheck_mail"  line?

I put ours at the end of S98 (The local rules) but anywhere outside
of another rule should work.

> i didnt put Scheck_mail as i thought this is a header of some sort?

YES, you need the Scheck_mail

Lines that start with an "S" define rulesets in sendmail.cf, so this
is rule check_mail

Without the Scheck_mail the tests in the ruleset will be executed
by wharever rule they happen to follow. (The start of one rule is
what determines the end of another rule)

> i put everything after the #verify line at the end of my sendmail.cf
> is this ok?

If your .cf is similar to mine, in that the existing lines at the
end were mailer defs then yes, it's OK.  But add the Scheck_mail
to make it work :)

I have a web page describing the check_* rules at
http://www.beach.net/~dan that describes Claus Assman's
rules (and has a link to them)

It's a little out of date, missing some of the newer tricks,
including this one, but reading through it should help you
understand what's going on with these rules.  And whenever
you implement rules that toss mail away you really *should*
understand what's happening.

Dan
-- 
 Dan Busarow                                                  714 443 4172
 DPC Systems / Beach.Net                                    dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980414193853.8800A-100000>