Getting smail with ISC 2.2 to work

Gil Kloepfer Jr. gil at limbic.ssdl.com
Tue Oct 16 10:50:16 AEST 1990


Dante_A_Nicolello at cup.portal.com writes:
>I am trying to set up smail to send all my uucp transfers to another
>system for address revision. I set the SMARTHOST=smart-host in the
>/etc/default/smail file and set  a smart-host (my_smart_host)!%1
>in my /usr/lib/uucp/paths file. Doesn't work. Either smail or sendmail
>or whatever does not forward the mail. It just sends it back.

First problem -- the smart host should be set-up as (your-smart-host)!%s,
not %1.


In article <105 at w3vh.UUCP> rolfe at w3vh.UUCP (Rolfe Tessem) writes:
>I'm glad to hear someone else mention this, if only as a sanity check :-).
>
>I've spent an incredible amount of time trying to make sendmail/smail work
>right on a new ISC 2.2 system, to no avail.  Smail is just never getting
>invoked, it appears.  Running smail directly in test mode seems to work
>(at least the right headers are generated locally).

Be careful.  The smail that's on ISC systems is DIFFERENT than the
smail 2.5 that's on the net.  I don't know what the specific differences
are because I junked the entire stock smail/sendmail configuration that
was there and replaced it with smail 2.5.

>My configuration is ridulously simple: uunet is my only UUCP connection, and
>I simply want everything to go to them.  The problem seems to be in getting the
>system to recognize domain addresses without trying to route them locally
>via SMTP.  When using bang style addressing, everything works OK.

My recommendation is to do what I did and junk that configuration as it
is on the stock system.  Move the old smail/sendmail/mail executables
to a floppy so you have them if you need them again.  Install smail
according to the instructions that come with it, and you should be in
business.  Remember to replace the old /bin/mail with smail's svbinmail
program.  This will cause smail to be invoked properly for remote addresses,
and the old /bin/mail (/bin/lmail) to be invoked for local addresses.

I had a problem here where I have a domain, but I'm a uucp-only machine.
I wanted my domained-mail to go to a particular net-neighbor who was
on the internet.  I solved the problem by making that net-neighbor my
smart-host, and removing all the domain-style sites from my paths file.
I also have a program which optimizes the paths down to the first
domain-based site (which can travel over the internet to get to that
destination, rather than using uucp 'hops').  If anyone is interested,
I will post that program.

Hope this helps.

Gil.
-- 
Gil Kloepfer, Jr.              gil at limbic.ssdl.com   ...!ames!limbic!gil 
Southwest Systems Development Labs (Div of ICUS)   Houston, Texas



More information about the Comp.unix.sysv386 mailing list