tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Len Hause" <rdwt80 () email ! sps ! mot ! com>
To: tru64-unix-managers
Subject: SUMMARY: Sendmail Unbalanced
Date: Wed, 19 Jul 1995 13:58:32 +0000	[thread overview]
Message-ID: <96075321606588.tru64-unix-managers.marc@archive.invalid> (raw)

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 <atp@mssly1.mssl.ucl.ac.uk>
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


 

                 reply	other threads:[~1995-07-19 13:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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