Subject: error in /usr/src/usr.sbin/sendmail/cf/m4/proto.m4 ?
To: current-users <current-users@NetBSD.ORG>
From: Iain Hibbert <plunky@skate.demon.co.uk>
List: current-users
Date: 07/07/1995 22:34:40
Hi,
    excuse me, I'm fairly new to sendmail.. but there seems (to me) to
be an error in /usr/src/usr.sbin/sendmail/cf/m4/proto.m4 at line 447,
where it says (in ruleset 96) something like this:

R$* < @@ $=w > $*       $: $1 < $j . > $3               self-literal

(NB this editor doesn't do tabs)

  I've been kicking sendmail around for most of the afternoon, because
I couldn't get a config file made that accept mail to any of the sites
listed in the w class, but if I change the @@ to @ it works fine..

  It seems to have been this way since 1.0 at least, which makes me
think its ignorant me missing something else..  I include a larger
part of the ruleset below, to put it in context..  any sendmail guru's
know for sure?

]ain


################################################
###  Ruleset _SET_96_ -- bottom half of ruleset 3  ###
################################################

#  At this point, everything should be in a "local_part<@domain>extra" format.
S`'_SET_96_

# handle special cases for local names
R$* < @ localhost > $*          $: $1 < @ $j . > $2             no domain at all
R$* < @ localhost . $m > $*     $: $1 < @ $j . > $2             local domain
ifdef(`_NO_UUCP_', `dnl',
`R$* < @ localhost . UUCP > $*  $: $1 < @ $j . > $2             .UUCP domain')
R$* < @ [ $+ ] > $*             $: $1 < @@ [ $2 ] > $3          mark [a.b.c.d]
R$* < @@ $=w > $*               $: $1 < @ $j . > $3             self-literal
R$* < @@ $+ > $*                $@ $1 < @ $2 > $3               canon IP addr
ifdef(`DOMAIN_TABLE', `
# look up unqualified domains in the domain table
R$* < @ $- > $*                 $: $1 < @ $(domaintable $2 $) > $3',
`dnl')
undivert(2)dnl