[comp.mail.sendmail] Help with smail/sendmail domain gateway configuration.

frank@ladcgw.ladc.bull.com (Frank Mayhar) (05/11/89)

The summary pretty much covers it.  I have a Sun 3/160 set up as a gateway
into our local domain (ladc.bull.com).  I want to be able to deliver a
message to "user@host.ladc.bull.com" where "host" is in /etc/hosts, and
is defined in our domain, in the pathalias input.  Right now, smail complains
that the resolve failed, I assume because the address resolved to "user@host",
and smail doesn't like that.  How can I change this behavior?  I want smail
to resolve the address to "user@host" and pass it on to sendmail, which will
deliver it via SMTP.  Will I have to hack smail?  Will the newer version of
smail (currently in beta test) do the trick?  FYI, in defs.h, DOMGATE and
HIDDENNET are both *undefined*.  I have the pathalias input set up as:

		ladcgw	.ladc.bull.com(LOCAL)
		ladcgw = ladc.bull.com
		ladc.bull.com = @{host1, host2}(LOCAL)
		ladcgw	uunet(DEMAND), hacgate(DIRECT)

Is there something I should be doing differently?  If it matters, I'm 
running SunOS 3.3, smail 2.5, and have a uucp link to uunet, which is
my forwarder.

My second question concerns sendmail (hence the crosspost).  Two questions,
really.  First, do I need to worry about delivering mail to "user@my.dom.ain"?
Currently, sendmail resolves this to smartuucp and passes it off to smail,
which resolves it to "user" (unless it's user@host.my.dom.ain, see above),
which passes it back to sendmail for delivery.  If I do need to worry,
I can certainly come up with a couple of rulesets that would handle things.

Secondly, is there any quick-and-dirty way to forward mail that can't be
delivered locally to an SMTP-connected host?  By that I mean, an address
resolves to "user" (no "@", a local address), and "user" is not on the
gateway machine.  Is there any way (short of putting several hundred entries
in /usr/lib/aliases) to forward this to "user@host"?  I'm currently looking
at putting a front-end on the "local" delivery program (/bin/mail) to 
solve the problem (using the SMTP VRFY command), but if someone has already
solved this problem, I would very much like to hear from you.

Thanks in advance for any help.  Maybe someday this beast will be working
right.
-- 
Frank Mayhar  ..!uunet!ladcgw!frank (frank@ladc.bull.com)
              Frank-Mayhar%l66a@ladc.bull.com
              Bull HN Los Angeles Development Center
              5250 W. Century Blvd., LA, CA  90045  Phone:  (213) 216-6241

frank@ladc.bull.com (Frank Mayhar) (05/12/89)

My last posting had mangled addresses in the From and Reply-To lines.  This
one is correct.  (If you replied using the .signature address, you're OK.)
-- 
Frank Mayhar  ..!uunet!ladcgw!frank (frank@ladc.bull.com)
              Frank-Mayhar%l66a@ladc.bull.com
              Bull HN Los Angeles Development Center
              5250 W. Century Blvd., LA, CA  90045  Phone:  (213) 216-6241