From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075321606588.tru64-unix-managers.marc@archive.invalid> From: "Len Hause" Date: Wed, 19 Jul 1995 13:58:32 +0000 To: tru64-unix-managers Subject: SUMMARY: Sendmail Unbalanced X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075321606588 My original problem: > When an address of the form user%host1@host2 is sent to the > system, Sendmail produces the following error: > > Mail From:user%host1@host2 > 554 rewrite: cannot prescan new hostname: host1<@host2. > sps.mot.com 554 user%host1@host2... Unbalanced '<' > 554 rewrite: cannot prescan new hostname: host1<@host2.sps.mot.com > Apparently this was an old problem that I have managed to avoid the fix for. Several mods to the sendmail.cf file were suggested. The one that worked for me was to modify the rule 7 block in sendmail.cf as follows: > -------- > ##### 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 > ---------- Then run /sbin/init.d/sendmail restart Problem fixed! Thanks to the following folks for their quick replies: Andy Phillips luchini@siberia.ups-tlse.fr (Marco Luchini) I will use the WAIS search on the archive home page next time! Regards, Len --- Len Hause Motorola Austin,TX rdwt80@email.sps.mot.com