From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2043bcdeca369231 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-03-13 02:46:10 PST Path: gmd.de!Germany.EU.net!EU.net!howland.reston.ans.net!cs.utexas.edu!not-for-mail From: atp@mssl.ucl.ac.uk (Andy Phillips) Newsgroups: comp.unix.osf.osf1 Subject: Re: OSF/1 v1.3 Sendmail not handling % in address , fix. Date: 13 Mar 1994 04:46:10 -0600 Organization: University College London Sender: daemon@cs.utexas.edu Message-ID: References: <1994Mar11.191811.13193@news.csuohio.edu> NNTP-Posting-Host: cs.utexas.edu cowboy@omega.csuohio.edu (Joe Rosenfeld) writes: >Hello. I have noticed that the sendmail which comes with OSF/1 v1.3 >(as patched by the latest DEC sendmail patch) is unable to handle any >percentages in its address form (%). Here is what I see: >> ----- Transcript of session follows ----- >> 554 r1342%csuohio.bitnet@vmcms.csuohio.edu... Unbalanced '<' >> 554 rewrite: cannot prescan new hostname: >> csuohio.bitnet<@vmcms.csuohio.edu >I was hoping someone coversant with sendmail.cf files might be able to >help get around the address problem with these two formats: >1. bitnet addresses through a gateway at vmcms.csuohio.edu >2. addresses of this format: name%taonode@vmcms.csuohio.edu Hi, I thought I was the only one :-). I've made about 4 manual patches to the DEC supplied sendmail.cf, after the M4 macro processing stage. I had thought that this was due to our strange setup, but I have had bounces from several OSF/1 machines with this specific problem. I enclose my fix to sendmail.cf. Usual as-is no-warranties apply. ------from.my.sendmail.cf.use.at.own.risk--------- ##### special local conversions (exit path from S3) S7 # atp 1994 repeated use of %->@ in S3 (R$+%$+) on a name already # containing an @ (atp%mssly1.mssl.ucl.ac.uk@ucl.ac.uk) # causes a rewrite error in S9 # so has to be undone here (defocus back to one) R$*<@$+<@$+>>$* $1%$2<@$3>$4 undo damage in S3 R$*<@$+%$+>$* $1%$2<@$3>$4 move @ right after % R$+<@POP>$* $@$1<@POP>$2 POP already OK R$*<@$->$* $@$1<@$2.$N>$3 qualify hostnames -----end.of.extract------ Note extra line. I can't remember details about this now, (sendmail does tend to have a small memory-retention half-life), but there was a reason for not fixing this by putting a $: in the offending ruleset 3 rewriting rule. share+enjoy Andy Phillips -- atp@mssly1.mssl.ucl.ac.uk Andy Phillips atp@mssl.ucl.ac.uk Mullard Space Science Laboratory, phillips@isass1.solar.isas.ac.jp Dept. Space and Climate Physics, 19709::atp University College London.