Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!bloom-beacon!oberon!cit-vax!ucla-cs!zen!ucbcad!ames!amdcad!sun!pitstop!sundc!seismo!uunet!ksr!ubglue!dudek From: dudek@ubglue.UUCP Newsgroups: comp.mail.misc Subject: Re: Info on IDA Sendmail kit / pathalias Message-ID: <188@ksr.UUCP> Date: Tue, 29-Sep-87 17:52:53 EDT Article-I.D.: ksr.188 Posted: Tue Sep 29 17:52:53 1987 Date-Received: Sat, 3-Oct-87 01:24:02 EDT References: <20962@ucbvax.BERKELEY.EDU> <1692@umix.cc.umich.edu> Sender: nobody@ksr.UUCP Reply-To: dudek@ksr.UUCP (Glen Dudek) Organization: Kendall Square Research, Cambridge MA Lines: 26 In article <1692@umix.cc.umich.edu> honey@citi.umich.edu (Peter Honeyman) writes: >i suppose it's possible to make the local mailer a router that looks at >the address and passes the message back to sendmail ... maybe not. > >i've seen sendmail hacks (from waterloo?) that let rewrite rules munge >addresses with $>program. > > peter Yes, it is possible, and is how I arranged pathalias to work on Harvard. The only tricks are to be sure and avoid indefinite recursion, and to be prepared for two sendmail invocations for every rewritten address. I avoided recursion by appending ';nopath' to uucp paths which had already been pathaliased - this of course required sendmail configuration support to pass this through ruleset 3 in the right place, and to strip it in ruleset 0 after it was used to suppress another call to pathalias. Any of you who received bounces from Harvard of the form 'host!user;nopath Unknown host' now know where it comes from. Sendmail changes to allow arbitrary rewriting of addresses by programs should be better all around, but if you lack the proper mods feel free to peruse the stuff in 'mail/sendmail.cf.tar' anonymously ftp-able from harvard.harvard.edu. Glen Dudek ex-postmaster@harvard.harvard.edu