Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!att!linac!palkovic From: palkovic@linac.fnal.gov (John A. Palkovic) Newsgroups: comp.mail.sendmail Subject: Re: *Long* bang paths Summary: One down, ? to go. Message-ID: Date: 3 Jan 91 02:46:59 GMT References: Reply-To: palkovic@linac.fnal.gov (John A. Palkovic) Organization: Bob's School of Quantum Mechanics Lines: 37 In article karl_kleinpaste@cis.ohio-state.edu writes: >So you _like_ being flamed for Rabid Rerouting? :-) I prefer to call it "Delivery Optimization." :-) >The following will do what you want. I put it in S3. > ># Strip many-hop !-paths to the right-most FQDN; DARR. ># >R$*.$*!$*@$* $1.$2!$3 lose @-portion >R$*!$*.$*!$* $2.$3!$4 strip excess left-hand >R$*.$*!$* $3@$1.$2 invert to @-format So did I. It failed coming out of the starting gate: linac% sendmail -bt -Ctest.cf test.cf: line 692: invalid rewrite line "R*.*!*@* 1.2!3 lose @-portion" test.cf: line 693: invalid rewrite line "R*!*.*!* 2.3!4 strip excess left-hand" test.cf: line 694: invalid rewrite line "R*.*!* 3@1.2 invert to @-format" ADDRESS TEST MODE Enter
[Note: No initial ruleset 3 call] > /* :-( */ Looking in the log file shows a "NOQUEUE: SYSERR:" associated with each "invalid rewrite" line. For reference this is sendmail 5.65a/IDA-1.4.2. -- palkovic@linac.fnal.gov "A Superconductor generates electricity without resistance when cooled." - Chicago Tribune, Oct. 21, 1990, A-18