Path: utzoo!attcan!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ncar!tank!oddjob!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.mail.uucp Subject: Re: Sendmail and pathalias Message-ID: <13206@mimsy.UUCP> Date: 25 Aug 88 08:43:33 GMT References: <4540@saturn.ucsc.edu> <23668@uunet.UU.NET> <2390@rtech.rtech.com> <75@volition.dec.com> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 23 In article <75@volition.dec.com> vixie@decwrl.dec.com (Paul Vixie) writes: >I'd like to add to Rick's note: > ># If you just want to do uucp routing, smail or uumail is ok. If ># you want to get tricky and do something complicated BEFORE chosing ># a delivery agent, Comay's hacks are clearly the way to go. > >IDA-enhanced sendmail can do this kind of thing, and as Rick says, it is >much better to be able to rewrite and reroute before you choose a delivery >agent, since which delivery agent you use will depend on the domain or host >you're trying to reach. ... Just as another note, it is possible to do this without modifying sendmail, although the method can only be described as a kludge. (Since sendmail refuses to distinguish between incoming mailers, the situation is even kludgier than it would have to be.) What you do is have sendmail `deliver' everything to a program that does the routing, then hands the message back to sendmail for *real* delivery. You have to pick some `unlikely' string to distinguish between first-time addresses and routed addresses (`host.ROUTING-TRASH'? :-) ). -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris