Xref: utzoo comp.mail.misc:3412 comp.mail.sendmail:1654 Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucsd!helios.ee.lbl.gov!nosc!logicon.com!Makey From: Makey@Logicon.COM (Jeff Makey) Newsgroups: comp.mail.misc,comp.mail.sendmail Subject: Re: is uunet breaking your headers? Message-ID: <661@logicon.com> Date: 25 May 90 20:12:31 GMT References: <8955@gouda.quad.com> Organization: Logicon, Inc., San Diego, California Lines: 30 X-Local-Date: 25 May 90 13:12:31 PDT In article karl_kleinpaste@cis.ohio-state.edu writes: >The complete set is: > >R$*.$*!$*@$* $1.$2!$3 lose @-portion >R$*!$*.$*!$* $2.$3!$4 strip excess left-hand >R$*.$*!$* $3@$1.$2 invert to @-format If you insist on doing Rabid Rerouting (a controversial decision I see no point in discussing here), then this looks like a good way to do it, except that I would replace all of the "$*" elements with "$+" to keep from rewriting such obvious garbage as "!.!@". I believe the original question was simply how to change "host.domain!user" into "user@host.domain", with no suggestion that rerouting was desired. Here is one way to do it in sendmail: R$+.$+!$+ $@$3<@$1.$2> resolve mixed UUCP/domain It belongs near the end of ruleset 3, *after* this rule: R$*<@$+> $@$1<@$2> already canonical Note that if either of these rules is applied it will result in the current ruleset being exited. Your usage may vary. :: Jeff Makey Department of Tautological Pleonasms and Superfluous Redundancies Department Disclaimer: All opinions are strictly those of the author. Internet: Makey@Logicon.COM UUCP: {nosc,ucsd}!logicon.com!Makey