Summary: Sendmail configuration

From: Koonz, Jay (
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/ comment out Dj,Dw,DM parms
cp /usr/lib/mail/cf/ /usr/lib/mail/cf/
/usr/lib/mail/cf/ (add the following changes)
        VERSIONID(`@(#) 1.2 (Sun) 01/27/98')
        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
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 >
cd /usr/lib/mail/cf/ /etc/mail/
/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 "".
I have a newer NIS+ domain running on our new Sun servers called
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 "" so it looks like it's coming from ""
In, 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 Thu Nov 30 15:59:38 2000
        Date: Thu, 30 Nov 2000 15:57:13 -0500 (EST)
(2) From: Jay D Koonz <>
(3) Message-Id:
        Content-Length: 243
        * This machine is to be used by authorized personnel only *
        * and only for management approved purposes. *
(1) controlled by ???
(2) controlled by DM parm
(3) controlled by Dj parm but you
        can't change both Dj and DM

How can I get all 3 lines to show as "" ??
sunmanagers mailing list

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