SUMMARY (PARTIAL): Sendmail - remove host from reply/from field

From: Robert D. Worsham (worsham@gaea.aer.com)
Date: Sun Feb 16 1997 - 12:43:59 CST


  Sun-managers,

  The original posting:

  ***********************************************************************
  * Until recently, we were running an older version of Sun's sendmail, *
  * but have now upgraded to Sendmail 8.8.5. We had our reply/from *
  * field set as follows: *
  * *
  * worsham@aer.com *
  * *
  * instead of: *
  * *
  * worsham@gaea.aer.com *
  * *
  * Does anyone understand the new rulesets (I barely understood the *
  * old ones, and now they've changed them ;-( ) enough to lend a *
  * hand? We'd like to strip the hostname from all outgoing mail, and *
  * just have the username@domainname. Our sendmail.cf is currently *
  * identical to the generic solaris sendmail.cf. *
  ***********************************************************************

   One additional note: OS level - Solaris 2.5.1.

   Now for responses:

   They fell into two categories:

   1) use the MASQUERADE_AS option in building sendmail.cf

        i.e. build sendmail.cf using the following parameters:
             (in the .mc file)

           divert(0)dnl
           VERSIONID(`@(#)aer.mc 97/02/10 $')
           OSTYPE(solaris2)dnl
           DOMAIN(generic)dnl
           MASQUERADE_AS(aer.com)dnl
           FEATURE(masquerade_envelope)
           EXPOSED_USER(root)
           MAILER(local)dnl
           MAILER(smtp)dnl

       This produces the following change in the standard sendmail.cf

       # who I masquerade as (null for no masquerading) (see also $=M)
       DM

       changes to

       DM aer.com

   2) the other suggestion was to simply do the above change without
      modifying the .mc file and reruning m4.

   @@@@@@ The RESULTS @@@@@@

   This simply forced all email to "masquerade" as coming from our
   main mailhost, but did NOT remove the hostname from the reply/from
   field. So I'm still left with the original problem, and no solution
   in sight. I also have a second, albeit minor problem, it there a
   version of sendmail.cf for subsidiary machines which works with
   sendmail 8.8.5?

   @@@@@@@@@@@@@@@@@@@@@@@@@

   Thanks to all respondents:

    Marina Daniels <Marina.Daniels@ccd.tas.gov.au>
    Rich Kulawiec <rsk@itw.com>
    Claus Assmann <ca@informatik.uni-kiel.de>
    Karl E. Vogel <vogelke@c17mis.region2.wpafb.af.mil>
    Ellen March <emarch@pinole1.com>
    Dan Pritts <danno@aa.fv.com>
    Frank Pardo <fpardo@tisny.com>
    Christopher L. Barnard <cbarnard@cs.uchicago.edu>
    Reto Lichtensteiger <rali@meitca.com>
    Stephen Harris <sweh@mpn.com>
    Phil Ritzenthaler <phil@cgrg.ohio-state.edu>
    John Justin Hough <john@oncology.uthscsa.edu>

   @@@@@@@@@@@@@@@@@@@@@@@@@

   Any further feedback is appreciated,

   -- Bob

    ____________________________________________________________
      ____ ____ ____
     / \ | / \ |/ \ Atmospheric & Environmental
    / \| /______\ | Research, Inc.
    \ /| \ | 840 Memorial Drive
     \____/ | \____/ | Cambridge, MA 02139 USA
                                          http://www.aer.com

     Robert D. Worsham (Bob) voice: (617) 547-6207
     email: worsham@aer.com fax: (617) 661-6479
    ____________________________________________________________



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:46 CDT