[comp.mail.sendmail] domain routing

kandall@sgitokyo.nsg.sgi.com (Michael Kandall) (02/08/91)

Hi!  I am new to sendmail and crawling up the learning curve.

The sendmail.cf on my system has this at the top.

	#  Copyright (c) 1983 Regents of the University of California.
	#  All rights reserved.  The Berkeley software License Agreement
	#  specifies the terms and conditions for redistribution.
	#
	#       $Revision: 1.4 $

What I would like to do is take all mail destined for one domain,
and send it through a given UUCP host.

In particular any mail headed for top level domain ".jp" should
be rerouted.

Mail destined for

	user@subdomain.jp
or	user%dom1@subdomain.jp

should get mapped to

	jpgateway!subdomain.jp!user
or	jpgateway!subdomain.jp!dom1!user

I would like to do this without loading complete maps of Japanese UNIX
Net into a pathalias database.

Does anyone have rules to do this, or something similar?  I would deeply
appreciate the head start.


Thanks,


Mike

-- 
----
Michael Kandall
Independent Consultant to
Nihon Silicon Graphics