tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Sendmail Unbalanced
@ 1995-07-19 13:58 Len Hause
  0 siblings, 0 replies; only message in thread
From: Len Hause @ 1995-07-19 13:58 UTC (permalink / raw)
  To: tru64-unix-managers

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


 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-07-19 13:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-07-19 13:58 SUMMARY: Sendmail Unbalanced Len Hause

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox