From: atp@mssl.ucl.ac.uk (Andy Phillips)
Subject: Re: OSF/1 v1.3 Sendmail not handling % in address , fix.
Date: 13 Mar 1994 04:46:10 -0600 [thread overview]
Message-ID: <atp.763484911@mssly1.mssl.ucl.ac.uk> (raw)
In-Reply-To: 1994Mar11.191811.13193@news.csuohio.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.
prev parent reply other threads:[~1994-03-13 10:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-03-11 19:18 OSF/1 v1.3 Sendmail not handling % in address Joe Rosenfeld
1994-03-13 10:46 ` Andy Phillips [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox