Summary: Sendmail configuration

From: Koonz, Jay (jKoonz@USCO.com)
Date: Mon Dec 04 2000 - 14:22:19 CST


I received the answer to this from SunSolve. What I ended up doing was...

/etc/mail/sendmail.cf comment out Dj,Dw,DM parms
cp /usr/lib/mail/cf/main-v7sun.mc /usr/lib/mail/cf/main-usco.mc
/usr/lib/mail/cf/main-usco.mc (add the following changes)
        divert(0)dnl
        VERSIONID(`@(#)main-v7sun.mc 1.2 (Sun) 01/27/98')
        OSTYPE(solaris2.ml)dnl
        DOMAIN(solaris-generic)dnl
        FEATURE(`masquerade_envelope')dnl #
001201 koonzj
        FEATURE(`masquerade_entire_domain')dnl #
001201 koonzj
        MASQUERADE_AS(domainname you want to masquerade as)dnl #
001201 koonzj
        MASQUERADE_DOMAIN(domainname you want to masquerade as)dnl #
001201 koonzj
        MAILER(local)dnl
        MAILER(smtp)dnl
now I have to re-compile the .mc file to create a new .cf file
cd /usr/lib/mail/cf
/usr/ccs/bin/m4 ../m4/cf.m4 main-usco.mc > main-usco.cf
cd /usr/lib/mail/cf/main-usco.cf /etc/mail/sendmail.cf
/etc/init.d/sendmail stop
/etc/init.d/sendmail start

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-----Original Message-----
Subject: Sendmail configuration

I has an older domain running on our HPUX boxes called "usco.com".
I have a newer NIS+ domain running on our new Sun servers called
"usco2.com".
But our NT mail server doesn't like getting mail from usco2'com, doesn't
know what to do with this domain.
So I want to change the limited amount of mail that I'll be sending from the
Sun servers on the "usco2.com" so it looks like it's coming from "usco.com"
In sendmail.cf, I experimented with the "Dj" and "DM" parms and what I found
was....when doing a mailx from one Sun server to another, the mail shows as

(1) From koonzj@ssnau150.usco2.com Thu Nov 30 15:59:38 2000
        Date: Thu, 30 Nov 2000 15:57:13 -0500 (EST)
(2) From: Jay D Koonz <koonzj@ssnau150.usco.com>
(3) Message-Id:
        <200011302057.PAA04579@ssnau150.usco2.com>
        Content-Length: 243
        
        *150*******************************************************
        * This machine is to be used by authorized personnel only *
        * and only for management approved purposes. *
        ***********************************************************
(1) controlled by ???
(2) controlled by sendmail.cf DM parm
(3) controlled by sendmail.cf Dj parm but you
        can't change both Dj and DM

How can I get all 3 lines to show as "usco.com" ??
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:24 CDT