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
jeff@tc.fluke.COM (Jeff Stearns) (05/24/89)
In article <378@ladcgw.ladc.bull.com> frank@ladc.bull.com (Frank Mayhar)
writes with good questions about sendmail, smail, and pathalias.
If I understand these questions (and I think I do) then let me tell you
this: you CAN have it all. I've been doing it for a couple of years now.
My mail gateway is a Sun-2 running release 3.5.2, I use smail 2.5, and
run with a sendmail.cf written totally from scratch (those Berkeley-derived
sendmail.cf files are quite buggy). I wrote the sendmail.cf using ease,
a tool which makes this kind of task conceivable.
You don't need a yet-to-be-released version of smail. Version 2.5 will
handle things just fine.
I agree, configuring email is quite a challenge. I can send you (or other
interested parties) a copy of my sendmail.cf; it may get you started down
the road.
Jeff Stearns jeff@tc.fluke.COM
John Fluke Mfg. Co, Inc. (206) 356-5064
--
Jeff Stearns John Fluke Mfg. Co, Inc. (206) 356-5064
jeff@tc.fluke.COM {uw-beaver,microsoft,sun}!fluke!jeff
PS - Calling all users of the Vitalink TransLAN IV Ethernet bridge! Please
drop me a line.