[comp.mail.sendmail] Help with sendmail error: cannot prescan canonical hostname

alden@shape.mps.ohio-state.edu (Dave Alden) (04/24/91)

Hello,
  I used to occasionally get the following error:

Apr 23 17:13:14 triangle.mps.ohio-state.edu sendmail[5622]: AA05622: SYSERR:
rewrite: cannot prescan canonical hostname:

But over the last couple of weeks I've been getting it almost once/day.  It
only seems to happen when receiving mail from sites which have send out mail
using a name which is actually a nickname (ie: math.harvard.edu).  Is there
some way to fix this?

...thnx,
...dave
--
 Dave Alden, System Programmer  MaBellNet: (614) 292-4962
 Department of Mathematics      FaxNet:    (614) 292-7174
 The Ohio State University      Internet:  alden@shape.mps.ohio-state.edu
 231 W 18th Avenue              UUCP:      ...!osu-cis!alden
 Columbus, OH USA 43210         BITNET:    alden@ohstpy

rickert@mp.cs.niu.edu (Neil Rickert) (04/24/91)

In article <1991Apr23.222025.12890@zaphod.mps.ohio-state.edu> alden@shape.mps.ohio-state.edu (Dave Alden) writes:
>
>Hello,
>  I used to occasionally get the following error:
>
>Apr 23 17:13:14 triangle.mps.ohio-state.edu sendmail[5622]: AA05622: SYSERR:
>rewrite: cannot prescan canonical hostname:
>
>But over the last couple of weeks I've been getting it almost once/day.  It
>only seems to happen when receiving mail from sites which have send out mail
>using a name which is actually a nickname (ie: math.harvard.edu).  Is there
>some way to fix this?

  Most likely there is a bug somewhere in 'sendmail.cf'.  Try testing some
of these hostnames by hand using 'sendmail -bt'.  You will have to look
through 'sendmail.cf' to find which ruleset might be involved, and
then specifically test the address for that ruleset.

  Look for rules with the $[ ... $] operation in them.  For example
you might see something like:

R$*<@$+>$*	$:$1<@$[$2$]>$3

 The most likely cause is that you are off by one in your count of the $n
variables on the right, or have something else slightly out of order.
If, for example, in the above, the $2 (or what ever was between $[ and $] )
had an unbalanced set of '<' and '>' you would get that error.

-- 
=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  Neil W. Rickert, Computer Science               <rickert@cs.niu.edu>
  Northern Illinois Univ.
  DeKalb, IL 60115                                   +1-815-753-6940