Article View: comp.mail.misc
Article #1256Re: is uunet breaking your headers?
From: Jeff Makey
Date: Fri, 25 May 1990 20:12
Date: Fri, 25 May 1990 20:12
30 lines
1772 bytes
1772 bytes
In article <KARL.90May25090924@giza.cis.ohio-state.edu> 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
Technical Details
Message-ID:
<661@logicon.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucsd!helios.ee.lbl.gov!nosc!logicon.com!MakeyReferences:
<KARL.90May23204613@giza.cis.ohio-state.edu> <8955@gouda.quad.com> <KARL.90May25090924@giza.cis.ohio-state.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <KARL.90May23204613@giza.cis.ohio-state.edu> <8955@gouda.quad.com> <KARL.90May25090924@giza.cis.ohio-state.edu> Organization: Logicon, Inc., San Diego, California Lines: 30 X-Local-Date: 25 May 90 13:12:31 PDT