HP Pay per use (PPU) manual Verifying email Masquerading

Page 37

1.Determine the configuration file that is being used by sendmail. You can verify the sendmail configuration file with the following command:

/usr/sbin/sendmail –d0.20 –bv /usr/bin/grep “Def Conf file”

2.Edit the configuration file that your sendmail installation is using (from Step 1) and search for the line starting with DM.

3.To masquerade the domain, ensure the DM line is not commented out (should not have a preceding hash (#) character) and append the specified domain name to the DM macro. For example:

DMcorp.example

This sets corp.example as the masqueraded domain name. (corp.example was verified to have an MX record in DNS.)

4.To configure the SMTP relay, ensure the line DS line is not commented out (should not have a preceding hash (#) character) and append the SMTP relay hostname to the DS macro. For example:

DSsmtp.corp.example

This sets smtp.corp.example as the relay hostname. (smtp.corp.example was verified to have an A record in DNS.)

5.Save and close the file, and then restart sendmail using the commands :

#/sbin/init.d/sendmail stop

#/sbin/init.d/sendmail start

You have completed configuring the Utility Meter's email masquerading and can continue to Verifying email Masquerading.

2.9.3 Verifying email Masquerading

NOTE: You must use Ctrl-Dto exit from the interactive sendmail application.

To verify the email masquerading, execute the following test as root. (The -Coption in the sendmail command defines the location of the sendmail configuration file):

#/usr/sbin/sendmail -bt -C /etc/mail/sendmail.cf > $j

(Where $j is the fully qualified hostname of the Utility Meter)

meter.corp.example

> $M

(Where $M is the effect of masquerading)

corp.example

> /tryflags HS

(This selects the Header of the Sender)

> /try esmtp umeter

(This checks if masquerading gets applied to umeter)

Trying header sender address umeter for mailer esmtp

canonify

input: umeter

Canonify2

input: umeter

Canonify2

returns: umeter

canonify

returns: umeter

1

input: umeter

1

returns: umeter

2.9 email Masquerading 37

Image 37
Contents HP Utility Meter Users Guide for version Page Table of Contents Performing Utility Meter Tasks Troubleshooting the Utility MeterVerifying Utility Meter Operation Site Preparation Form for Utility Ready Storage Site Preparation Form for Pay Per UsePage List of Figures Page Common Utility Meter Tasks Recommended Minimum Hardware List of TablesPage Intended Audience About This DocumentPublishing History Document OrganizationCommon Utility Meter Tasks Typographic Conventions Locating This GuideRelated Documents HP Encourages Your CommentsPage Overview IntroductionIntroduction Reminder of What was New in Version What is New for VersionRecommended Hardware Swapping Utility Meter HardwareEVA Supported URS PlatformsSupported PPU Platforms SoftwareUtility Meter Software Back Up Utility Meter Software DependenciesUtility Meter Directory Structure Data Sent to HP Installation and Support ServicesMissing Usage Reports Data Transport Methods Ordering Utility Pricing Solutions Web PortalIntroduction Installing and Configuring the Utility Meter Software Before Going to the Customer Site Skills RequiredInstalling the HP Systems Insight Manager Software Configuring the HP-UX System ParametersInstalling the Utility Meter Software Usr/sbin/swinstall -s path-to-depotT5462A Usr/sbin/swinstall -s path-to-depotT2805AA# /usr/sbin/swinstall # /usr/sbin/swinstall -s hostnamepathname T2805AA \Completing the Utility Meter Software Installation Configuring the Utility Meter Parameters# /usr/sbin/shutdown -r # /opt/meter/bin/monitor status# export DISPLAY=10.x.x.x0.0 # /usr/bin/X11/xclock# /opt/meter/bin/umGUI Utility Meter GUI Main Window # /opt/meter/bin/monitor stop # /opt/meter/bin/monitor start # /opt/meter/bin/SetupCLI URS XP Only Installing the XP CV AE CLI SoftwareAvoiding CLI Conflicts Email MasqueradingAutomated email Masquerading # /opt/meter/sbin/sendmail-configManual email Masquerading Verifying email Masquerading Try esmtp umeter@hostname.corp.example Try esmtp umeter@localhostCompleting the Utility Meter Installation and Configuration Configuring PPU Partitions and URS DevicesVerifying the Utility Meter Operation Upgrading the Utility Meter Software to VersionInstalling and Configuring the Utility Meter Software Information Performing Utility Meter TasksUtility Meter GUI Main Window should appear Starting the Utility Meter GUIStarting the Utility Meter GUI Main Window Main Window Performing Utility Meter Tasks Utility Meter Help Information Utility Meter Configure Tasks Network Configuration Utility Meter Software Parameters To Change the Utility Meter Software Parameters # /opt/meter/bin/monitor stop # /opt/meter/bin/monitor start Load the Meter’s Configuration Copy the Meters ConfigurationStorage Devices Namespace Configuration Port Protocol https Utility Meter Devices Tasks 10 Devices Tab Configure a Device Add DeviceAdd an EVA Device Performing Utility Meter Tasks Add an XP Device Performing Utility Meter Tasks Add a PPU Wbem Partition/Server 13 Add Device Dialog Box for PPU Wbem Partition/Server Change a non-URS Disk Array to URS Modify DevicePerforming Utility Meter Tasks View Device Change PPU Wbem Partition/Server Configuration ParametersRemove Device 17 View Device Error WindowDiscover Physical Devices Utility Meter Diagnose Tasks 20 Diagnose Tab Meter Connection StatusVerify Device Connection Device ConnectionDevice Connection PPU Wbem Partition/Server Page Transfer Data through CD Task # /opt/meter/bin/monitor stop # /opt/meter/bin/monitor start Transfer Data through CD Task Performing Utility Meter Tasks Verifying Utility Meter Operation # /usr/bin/grep Error /etc/rc.logVerifying the Utility Meter Hardware is Operational Verifying the Utility Meter Software is OperationalVerifying the CIM Server Software Is Operational Verifying the Correct Version of HP SIM is Installed# /usr/sbin/swlist /usr/bin/grep -i sim # /usr/bin/kill -9 processid # /usr/bin/ps -ef /usr/bin/grep cim /usr/bin/grep -v grepData Transfer by Https Verifying Connectivity from the Utility Meter to HP# /opt/wbem/bin/osinfo # /opt/meter/bin/ConnectionTest# /usr/bin/mailq Data Transfer by emailVerify PPU Agent Configuration Verify PPU Wbem Partition/Server ConfigurationVerifying the Data Acquisition Server is Running Verifying the Utility Meter Data Transport MethodTest Connection from PPU Partition to UPS Web Portal Test Connection from PPU Agent to Utility MeterUPS Portal Welcome Page Verifying a Storage Device Verifying a Device is Configured in the Utility MeterVerifying the Connection from the Utility Meter to HP Verifying a Device is Connected to the Utility Meter# /usr/bin/rm /tmp/cli.out Device Manager CLI versionTroubleshooting Overview Troubleshooting the Utility Meter# /usr/bin/hostname # /usr/sbin/shutdown -R -HUtility Meter Software Troubleshooting a Storage Device Troubleshooting a DeviceVerifying the Correct Version of XP CV AE CLI is Installed Troubleshooting a Wbem DeviceFixing a Disconnected Device with Red Box Osinfo -hhostname -s-ulogin# /opt/meter/bin/monitor stop Table A-1 PPU Site Preparation Form Site Preparation Form for Pay Per UseNetworking details on the PPU Wbem Partition/Server Table B-1 PPU Networking Details Form Site Preparation Form for Utility Ready StorageNetworking Details for the Command View XP AE Server Networking Details for the Command View EVA Server 100 Cpuid Data Fields Sent from the Utility Meter to HPData Fields Sent from the Utility Meter to HP CLI Glossary104 Index Index