[comp.soft-sys.andrew] Mail munging

janssen@parc.xerox.com (Bill Janssen) (10/26/90)

Folks,

I have a problem with the way that messages re-writes addresses.  If I
specify an address as "janssen.parc", it is re-written (assuming it's
not an alias or bulletin board) as "janssen.parc@holmes.parc.xerox.com".
 This causes problems with our mail setup (which has to support XNS, and
does so with a pseudo-SMTP-address scheme).  So:

Is there a configuration variable I can set to prevent the local host
from being added to the (apparently) local address during re-write, so
that "janssen.parc" remains "janssen.parc"?

Or:

What code in mswp.c should I be changing to add such a configuration variable?

Bill

hans@TRIUMPH-ADLER.DE ("Hans v. Kleist-Retzow") (10/26/90)

Excerpts from dringend: 25-Oct-90 Mail munging Bill Janssen@parc.xerox. (623)

> Folks,

> I have a problem with the way that messages re-writes addresses.  If I
> specify an address as "janssen.parc", it is re-written (assuming it's
> not an alias or bulletin board) as "janssen.parc@holmes.parc.xerox.com".

I also had the problems with the rewriting of mail addresses. I
identified that the mail address is rewritten to the first entry for the
host in the /etc/hosts. I changed the sequence of the aliases in
/etc/hosts and have no problems.

Hans



----------------------------------------------------------------------
Hans von Kleist-Retzow, TA Triumph-Adler AG, Olivetti Office Research
Abt. EF21, Fuerther Str. 212, D-8500 Nuernberg 80, West-Germany
Tel: +49 911 322 6355	E-Mail: hans@triumph-adler.de

nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) (10/26/90)

You can use the AndrewSetup line 

AMS_NoDomainPreferredOnLocalMail: 1

which may or may not be what you want.  It will make "janssen" validate as

Bill Janssen <janssen>

rather than

Bill Janssen <janssen@parc.xerox.com>

If that's not what you want, then I'm not sure how to help.  (Of course,
if you do this, you'll have to make sure your sendmail rewrites the
headers before external delivery.)