[comp.unix.sysv386] Sendmail on ISC 2.2

rolfe@w3vh.UUCP (Rolfe Tessem) (03/28/91)

My situation is so simple, it seems ridiculous to believe I can't
configure sendmail/smail (as delivered on ISC 2.2) to do this, but before
I pull my hair out I'd like a reality check from the net.

All I want to do is punt every uucp *and* domain-style address to uunet
via uucp.  That's it.

None of the provided sendmail.cf files do the trick, and I'm not sure
I want to spend the rest of my life becoming a sendmail guru.  If someone
could mail me a working .cf file, I'd be most grateful.

Oh, yes -- smart-host is defined in /etc/default/smail and in a skeleton
/usr/lib/uucp/paths file as uunet, so I don't think that's the problem.
OTOH, I don't see any sign that smail is touching *anything* in the headers
being created -- even with straight bang-path addresses.

I've looked at smail 3.1 as a sendmail replacement, but it looks just as
arcane as sendmail, so I'd rather avoid that route if I can just get this
simple configuration working.
-- 
Rolfe Tessem        | Lucky Duck Productions
rolfe@w3vh.UUCP	    | 17 Saint Luke's Place
{uunet}!w3vh!rolfe  | New York, NY 10014
(413) 528-5966	    | (212) 463-0029

jim@crom2.uucp (James P. H. Fuller) (03/30/91)

In <113@w3vh.UUCP> rolfe@w3vh.UUCP (Rolfe Tessem) writes:

> My situation is so simple, it seems ridiculous to believe I can't
> configure sendmail/smail (as delivered on ISC 2.2) to do this, but before
> I pull my hair out I'd like a reality check from the net.
>
> All I want to do is punt every uucp *and* domain-style address to uunet
> via uucp.  That's it.
>
> None of the provided sendmail.cf files do the trick, and I'm not sure
> I want to spend the rest of my life becoming a sendmail guru.  If someone
> could mail me a working .cf file, I'd be most grateful.
>
> Oh, yes -- smart-host is defined in /etc/default/smail and in a skeleton
> /usr/lib/uucp/paths file as uunet, so I don't think that's the problem.

     Amen!  I also am using ISC 2.2's sendmail/smail and would like to have
some simple means of using @-style addresses while I fight the battle of
making pathalias compile and otherwise setting up a smart mailer.  I'm using
the unmodified sendmail.cf that ISC supplies for uucp-only sites.

In /usr/default/smail I have

     SMARTHOST=smart-host
     PATHS=/usr/lib/uucp/paths

(These entries weren't put there by me; all I did was uncomment some lines
that were already in the file as distributed.)

In /usr/lib/uucp/paths I have

     smart-host nstar!%s95

(This entry was created by me, not pathalias, by analogy with the extremely
meager examples given in paths(5) so it may be messed up.)

      All I want is for the mail system to accept @-style addresses, decide
they're undeliverable, and kick them up to smart-host for parsing instead of
bouncing them back to the sender, which is what happens now.  What (or
what-all) have I overlooked?

                                           Thanks very much,
                                           James P. H. Fuller
                                           jim%crom2@nstar.rn.com
 
          

det@hawkmoon.MN.ORG (Derek E. Terveer) (03/31/91)

jim@crom2.uucp (James P. H. Fuller) writes:

>In /usr/lib/uucp/paths I have

>     smart-host nstar!%s95

>(This entry was created by me, not pathalias, by analogy with the extremely
>meager examples given in paths(5) so it may be messed up.)

Indeed it is.  You need whitespace between the target and the cost, like this:

smart-host	nstar!%s	95
-- 
Derek "Tigger" Terveer	det@hawkmoon.MN.ORG -- U of MN Women's Lax
I am the way and the truth and the light, I know all the answers; don't need
your advice.  -- "I am the way and the truth and the light" -- The Legendary Pink Dots

brando@uicsl.csl.uiuc.edu (Brandon Brown) (04/02/91)

jim@crom2.uucp (James P. H. Fuller) writes:

>In <113@w3vh.UUCP> rolfe@w3vh.UUCP (Rolfe Tessem) writes:

>> My situation is so simple, it seems ridiculous to believe I can't
>> configure sendmail/smail (as delivered on ISC 2.2) to do this, but before
>> I pull my hair out I'd like a reality check from the net.
>>
>> All I want to do is punt every uucp *and* domain-style address to uunet
>> via uucp.  That's it.

Also, if you are simply using the sysadm mailmgmt to install your sendmail.cf
it creates /etc/resolv.conf with a nameserver called "nameserver" regardless
of whether you use the name server or not. This will cause sendmail to
be seriously screwed up, not sending mail, and in addition, if you are at
init level 3, will cause X windows to fail. To fix this, I was told by
ISC, (of course, assuming you don't use the nameserver) to edit /etc/resolv.conf
and make sure it says "nonameserver".....

Brandon

+-----------------------------------------------------------------------------+
|  Brandon Brown                     | Internet: brando@uicsl.csl.uiuc.edu    |
|  Coordinated Science Laboratory    | UUCP:	 uiucuxc!addamax!brando!brown |
|  University of Illinois            | CompuServe: 73040,447                  |
|  Urbana, IL  61801                 | GEnie:    macbrando                    |
+-----------------------------------------------------------------------------+