Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert From: rickert@mp.cs.niu.edu (Neil Rickert) Newsgroups: comp.mail.sendmail Subject: Re: Help with sendmail error: cannot prescan canonical hostname Message-ID: <1991Apr23.233028.29806@mp.cs.niu.edu> Date: 23 Apr 91 23:30:28 GMT References: <1991Apr23.222025.12890@zaphod.mps.ohio-state.edu> Organization: Northern Illinois University Lines: 33 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 Northern Illinois Univ. DeKalb, IL 60115 +1-815-753-6940