NOTE: For detailed information on email masquerading, see the appropriate (HP-UX 11i v2, or 11i v3)

HP-UX Mailing Services Administrator's Guide at: http://docs.hp.com.

2.9.1 Automated email Masquerading

To automatically masquerade the Utility Meter's email, execute the following command:

# /opt/meter/sbin/sendmail-config

The sendmail-config program:

Uses the default values in the sendmail.cf configuration file.

Uses the Utility Meter's domain if the masquerading domain is not set.

Automatically restarts sendmail.

Verifies that the Utility Meter can contact the SMTP relay host.

Restores the previous sendmail configuration if any of the sendmail configuration changes are rejected by sendmail.

You must provide the following information to the sendmail-configprogram:

Domain to masquerade as

Outbound SMTP relay host

Here is an example of running the /opt/meter/sbin/sendmail-configprogram:

# /opt/meter/sbin/sendmail-config

sendmail-config: This program configures sendmail(1m) on HP-UX for

sendmail-config: domain masquerading and outbound SMTP relaying.

sendmail-config: Domain masquerading forces sendmail to originate

sendmail-config: all email with the specified domain.

sendmail-config: The outbound SMTP relay is required when internal hosts

sendmail-config: are not allowed direct email connections to the internet.

sendmail-config: To disable domain masquerading or the SMTP relay, enter a

sendmail-config: single dash ('-') when prompted for the host/domain to use.

sendmail-config: Domain to masquerade as ('-' for no masquerading)

sendmail-config: [subdomain.busines.example]: business.example

sendmail-config: Outbound SMTP relay host ('-' for no relay)

sendmail-config: []: smtp-out.business.example

sendmail-config: Verifying connectivity with smtp-out.business.example...ok.

sendmail-config: Setting sendmail masquerading to business.example.

sendmail-config: Setting sendmail SMTP relay to smtp-out.business.example.

sendmail-config: Edits complete, restarting sendmail.

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

2.9.2 Manual email Masquerading

To manually masquerade the Utility Meter's email, perform this procedure:

36 Installing and Configuring the Utility Meter Software