[comp.mail.uucp] help with SunOS 4.1 HDB uucp aliasing hosts, chat scripts, rerouting

adam@metaware.metaware.com (At these prices, I can't NAME names) (01/23/91)

We have just upgraded our central mail/uucp host to SunOS 4.1 it is a sun3
we have encountered two problems and a possible bug.

Problem #1

	We have a neighbor that was usually called "HOSTNAME A" and now
has decided to change to different machine "HOSTNAME B" BUT they still want
to use "HOSTNAME A" as if it were the host that was the host still exchanging
uucp/mail traffic.

	We have the nutshell handbook on uucp and have RTFM'd but no
clue as to aliasing hosts.

	I hope the answer isn't "modify your sendmail.cf"

Problem #2 

	We have a site that we with to force a bend in the path we reach
them by. I.E. If we mail to host1!user we want to have that translated to
host2!host1!user.

	We are exploring pathalias and other addons to mail, but again
do not want to touch sendmail.cf (not that I haven't tried touching it).


Possible bug (Problem #3, this is interesting so read on!)

	We have a chat script that looks like this

host Any ACU 19200 12344567890 "" \r in: foo word: Slime

and it doesn't work, so we looked at the debug session and we figured out
that the host we were talking to needs a ^J instead of a ^M when you
get to the login and password prompts.

so we modified the chat scripts to suppress ^M and insert a ^J like so:

host Any ACU 19200 12344567890 "" \r in: foo\n\c word: Slime\n\c

and while this works fine for the password part of the chat script
we found (through excessive twiddling) that for some reason sunos will
suppress the ^M on the last (password) field it still sends a ^M on the
login field. This messes up the whole thing, and no amount of kludging will
circumvent it.


any help is, as always, greatly appreciated
-- 
adam margulies                                    metaware incorporated
                                                  INTERNET: adam@metaware.com
                                                  UUCP:     uunet!metaware!adam
                                                  ATT:      (408)429-META x3016