Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-2261085.1
Update Date:2017-05-07
Keywords:

Solution Type  Technical Instruction Sure

Solution  2261085.1 :   Supercluster:How to setup sendmail masquerade?  


Related Items
  • Oracle SuperCluster M7 Hardware
  •  
  • Solaris Operating System
  •  
Related Categories
  • PLA-Support>Eng Systems>Exadata/ODA/SSC>SPARC SuperCluster>DB: SuperCluster_EST
  •  


How to enable sendmail masquerade in Solaris 10/11

In this Document
Goal
Solution


Created from <SR 3-14753337911>

Applies to:

Oracle SuperCluster M7 Hardware - Version All Versions to All Versions [Release All Releases]
Solaris Operating System - Version 10 3/05 and later
Oracle Solaris on x86-64 (64-bit)
If you have a requirement for sendmail masquerade configuration. Then here are the steps to complete.

Goal

How to setup sendmail masquerade?

Solution

Open your sendmail config file /etc/mail/sendmail.mc (all examples are oracle.com):

  # vi /etc/mail/sendmail.mc

  Append/add/modify the lines as follows:

  define('SMART_HOST','oracle')
  MASQUERADE_AS(oracle.com)dnl
  FEATURE(masquerade_envelope)dnl
  FEATURE(masquerade_entire_domain)dnl
  MASQUERADE_DOMAIN(oracle.com)dnl

Save and close the file.

# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
# m4 /etc/mail/sendmail.mc > /etc/mail/submit.cf

This Sendmail version requires you use the make command against the Makefile in /etc/mail/cf/cf


make

/etc/mail/cf/cf/sendmail.cf

Then perform this edit the sendmail.cf:

Find this section:
#####################
# Trusted users #
#####################

# this is equivalent to setting class "t"
Ft/etc/mail/trusted-users
Troot
Tdaemon
Tuucp
Tsmmsp                                                          <---------------------- Add this line

Save and close the file.


Copy sendmail.cf and submit.cf to /etc/mail

Add smmsp to /etc/mail/trusted-users

If this is what your sendmail services look like
# svcs -a |grep sendmail
online Mar_18 svc:/network/sendmail-client:default
online Mar_18 svc:/network/smtp:sendmail
# svcadm restart svc:/network/sendmail-client:default
# svcadm restart svc:/network/smtp:sendmail
 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback