[comp.mail.sendmail] IDA Sendmail questions...

hogan@csl.sri.com (Emmett Hogan) (05/18/91)

Hello everyone out there in netland....

I have a couple of questions/problems with Sendmail 5.65b with IDA
1.4.3 enhancements:

1) I got it from UIUC, but for the life of me I cannot get it to work
   with phquery...I have qi/ph installed and it seems to work fine.  Does
   anyone know the magic incantations to make sendmail call phquery to
   check for an email address ?

2) How does one set up the PATHALIAS table to use the Internet names
   of sites to make UUCP mail delivery more efficient?  For example,
   the path from here to username at the uucp site unisql is:

	fernwood!ames!cs.utexas.edu!uudell!sequoia!unisql!username

   but since cs.utexas.edu is on the Internet, the message could be
   delivered much more efficiently to:

	uudell!sequoia!unisql!username@cs.utexas.edu

   Or mail to username@xanth.UUCP, gets rewritten (based upon the
   pathalias table) to:

	fernwood!ames!xanth!username

   Where it could better be sent to:

	username@xanth.cs.odu.edu


Any help would be greatly appreciated, pointers to the correct FM or
whatever.

Thanks in advance,
Emmett
--
-------------------------------------------------------------------
Emmett Hogan              Computer Science Lab, SRI International
Inet: hogan@csl.sri.com
UUCP: {ames, decwrl, pyramid, sun}!fernwood!hercules!hogan
USMAIL: EL231, 333 Ravenswood Ave, Menlo Park, CA  94025
PacBell: (415)859-3232 (voice), (415)859-2844 (fax)
ICBM: 37d 27' 14" North, 122d 10' 52" West
-------------------------------------------------------------------

paul@uxc.cso.uiuc.edu (Paul Pomes - UofIllinois CSO) (05/19/91)

In message <HOGAN.91May17113404@cujo.csl.sri.com> you write:

|I have a couple of questions/problems with Sendmail 5.65b with IDA
|1.4.3 enhancements:
|
|1) I got it from UIUC, but for the life of me I cannot get it to work
|   with phquery...I have qi/ph installed and it seems to work fine.  Does
|   anyone know the magic incantations to make sendmail call phquery to
|   check for an email address ?

Assuming you are a) using ida/cf/Sendmail.mc file as your base, and b)
want to send foo@sri.com addresses through phquery, edit the following
files as follows:

1) ida/cf/yourhost.m4
Add the line
define(ALTERNATENAMES, sri.com)

2) /usr/local/lib/mail/mailertable	(or wherever mailertable lives)
Add the line

PH!cujo.csl.sri.com	sri.com

This assumes that cujo has phquery installed.

|2) How does one set up the PATHALIAS table to use the Internet names
|   of sites to make UUCP mail delivery more efficient?  For example,
|   the path from here to username at the uucp site unisql is:
|
|	fernwood!ames!cs.utexas.edu!uudell!sequoia!unisql!username

The trick here is to have merge a local addition to the UUCP map data
that lists a series of pseudo-connections.  Example:

cujo	rutgers(DIRECT), mcsun(DIRECT), inria(DIRECT),
	xanth(DIRECT), cs.utexas.edu(DIRECT)

combined with the published map data would generate the pathalias entry
of cs.utexas.edu!uudell!sequoia!unisql!%s

For each UUCP name in the list above, a mailertable entry is needed to
locate the corresponding Internet domain name:

TCP-U:rutgers.edu	rutgers.uucp
TCP-U:mcsun.eu.net	mcsun.uucp
TCP-U:inria.inria.fr	inria.uucp
TCP-U:xanth.cs.odu.edu	xanth.uucp

Mail sent to rutgers!foo!user will be sent to rutgers.edu via TCP while
preserving a UUCP address in the header.  Mail sent to user@rutgers.edu
won't be affected and will have the usual domain address in the header.

|   Or mail to username@xanth.UUCP, gets rewritten (based upon the
|   pathalias table) to:
|
|	fernwood!ames!xanth!username
|
|   Where it could better be sent to:
|
|	username@xanth.cs.odu.edu

This could also be handled with domaintable.

/pbp
--
Paul Pomes, Computing Services Office
University of Illinois - Urbana
Email to Paul-Pomes@uiuc.edu