Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!husc6!sri-unix!sri-spam!ames!sdcsvax!ucsdhub!hp-sdd!hplabs!hpcea!hpfcdc!hpfclp!diamant From: diamant@hpfclp.UUCP Newsgroups: comp.mail.misc Subject: Re: Info on IDA Sendmail kit / pathalias Message-ID: <8120010@hpfclp.HP.COM> Date: Sat, 26-Sep-87 23:59:31 EDT Article-I.D.: hpfclp.8120010 Posted: Sat Sep 26 23:59:31 1987 Date-Received: Tue, 29-Sep-87 02:55:38 EDT References: <117@rdlvax.RDL.COM> Organization: HP, Fort Collins, CO Lines: 33 > In the referenced article, diamant@hpfclp.HP.COM (John Diamant) writes: > > try to use the domain server first, > and only use pathalias if that fails. > > The call to search the pathalias > generated database had better not be in a sendmail mailer definition, > where I've already committed to delivering by something other than > SMTP. It has to be somewhere in the address canonicalization routines, > which requires hacking on sendmail. > > Erik E. Fair ucbvax!fair fair@ucbarpa.berkeley.edu This is a good point. However, in the HP version of sendmail, this doesn't require a change to the source. The reason is that our version allows you to invoke an external program just like a ruleset, using "<" instead of ">." For example, here is a rule that calls pathalias ($P is set to the pathalias binary) on UUCP syntax addresses: DP/usr/bin/uupath R$+<@$-.UUX> $:$