[4243] in testers

home help back first fref pref prev next nref lref last post

8.3 sendmail.cf breaks .LOCAL

daemon@ATHENA.MIT.EDU (James M. Kretchmar)
Wed Jun 16 23:40:49 1999

Message-Id: <199906170340.XAA03897@mission-control>
To: testers@MIT.EDU
Cc: ops@MIT.EDU
Date: Wed, 16 Jun 1999 23:40:43 EDT
From: "James M. Kretchmar" <kretch@MIT.EDU>

There's some trouble with the 8.3 sendmail.cf.  The problem is that
the new resolving section won't deal with .LOCAL's anymore.
Substituting the old resolving rules seems to solve the problem,
although it's also necessary to add an addional OK for .LOCAL in the
check_rcpt section.

i.e. replacing:

# Resolve name (so our CNAMES work)
R$*<@$+.$D>$*		$:$1<@$[$2$]>$3			@something.mit.edu
R$*<@mit>$*		$:$1<@$D>$2			avoid mit.MIT.EDU
R$*<@$->$*		$:$1<@$[$2$]>$3			@something [no .s]

with

# Resolve name (so our CNAMES work)
R$*<@$+.$D>$*		$:$1<$[$2$]:@$2>$3		@something.mit.edu
R$*<@$->$*		$:$1<$[$2$]:@$2>$3		@something [no .s]
# need next because `localhost' resolves to `localhost.' w/ our /etc/hosts
R$*<$*.:$*>$*		$1<$2:$3>$4
R$*<$=w:@$+>$*		$1<@$j>$3			This mail is for us
R$*<$=w.$D:@$+>$*	$1<@$j>$3			also for us
R$*<$*:@$+>$*		$1<@$3>$4			Not for us; don't frob

and adding

R<$+@$=w.LOCAL>		$@ OK
after
R<$+@$=w>		$@ OK
in the check_rcpt section

allows .LOCAL's to work again.  This is not necessarly the Right
solution (it at least won't deal with the mit.MIT.EDU case) but it
illustrates the problem.  Note that there is stuff out there depending
on this, source-reviewers is a good example.

kretch

home help back first fref pref prev next nref lref last post