Article View: comp.mail.sendmail
Article #78Re: newaliases invokes rule zero?
From: Neil Rickert
Date: Wed, 05 Aug 1992 00:06
Date: Wed, 05 Aug 1992 00:06
21 lines
1393 bytes
1393 bytes
In article <BsHCAt.38n@world.std.com> rhs@world.std.com (Richard H Schwartz) writes: > >But as a result, I have found that when I run newaliases it is >rejecting all the aliases in /usr/lib/aliases with the error >message "Cannot define an alias for names that are not local." >It started doing this right after I started mucking with rule >zero in sendmail.cf to transform all single-token addresses >into the form user@sys.domain. > >So, question #1 is why does newaliases apply the rewriting rules >to aliases? When an address is processed, it goes through some rewriting, and the rewritten result (assuming the address is local) is used to look up aliases. For consistency, an alias in the alias file must be rewritten the same way before storing in the alias database, otherwise it might not be recognized. Incidently, your problem is not that the addresses contain an '@', but that when processed by ruleset 0, they do not select the local mailer.
Technical Details
Message-ID:
<1992Aug5.000627.21289@mp.cs.niu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!mips!sdd.hp.com!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickertReferences:
<BsHCAt.38n@world.std.com>Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.sendmail Path: arc1-ca.pugleaf.net!sparky!uunet!haven.umd.edu!darwin.sura.net!mips!sdd.hp.com!ux1.cso.uiuc.edu!mp.cs.niu.edu!rickert From: rickert@mp.cs.niu.edu (Neil Rickert) Subject: Re: newaliases invokes rule zero? Message-ID: <1992Aug5.000627.21289@mp.cs.niu.edu> Organization: Northern Illinois University References: <BsHCAt.38n@world.std.com> Date: Wed, 5 Aug 1992 00:06:27 GMT Lines: 22