Configuring the Sendmail Connection [ Installing and Configuring HP X.400 Administrator's Guide ] MPE/iX 5.0 Documentation
Installing and Configuring HP X.400 Administrator's Guide
Configuring the Sendmail Connection
Configure the Sendmail connection only if you are using elm or mailx. To
configure the local Sendmail connection,
* Select the SENDMAIL item from the Configure X.400 Menu.
This displays the Configure Sendmail Connection screen.
Figure 7-13. Configure Sendmail Connection Screen
The fields on the screen are:
Connection Name
Required. Default: SENDMAIL. This is the
unique name that identifies the Sendmail
connection. This name must be different from
the local and adjacent MTA names, HP X.400/HP
Desk Node names, the OpenMail connection name,
and the API client names. It is a printable
string of up to 32 characters. Use this
connection name as the destination of a route
when configuring additional routes for the
Sendmail connection.
Output Queue
Display. This directory name is always
/usr/spool/x400/oq/oq253.
Country Code
Display. The country configured for the local
MTA.
Administration Domain
Name
Display. The administration domain name
configured for the local MTA.
Private Domain Name
Display. The Private Management Domain Name
configured for the local MTA.
Organization Name
Optional. This is the organization name
assigned to the Sendmail connection and is a
printable string of up to 64 characters.
The wildcard, asterisk (*), and the null
character (#)are not allowed in this attribute
for the primary route.
Organization Unit Name
1-4
These are the organization unit names 1-4
assigned to the Sendmail connection and are
printable strings. If domain defined
attributes are not present in an incoming X.400
message, the organization unit names not
configured here are used as the UNIX address
where the X.400 message is sent. For more
information, refer to the Using HP X.400 with
Elm and Mailx manual.
The wildcard, asterisk (*), and the null
character (#)are not allowed in this attribute
for the primary route.
Each organization unit name is a printable
string of up to 32 characters.
Use keyword addressing
Required. Default: n. Display address of the
received message in keyword format. For more
information on keyword addressing, refer to the
Using Hp X.400 with Elm and Mailx manual.
Use full personal name
as a Sendmail alias name
Required. Default: n. Use the full
personal name in the format of
surname_given_init_generation as a Sendmail
alias name instead of surname.
One primary route to the Sendmail connectionis created automaticallywhen
the Sendmail connection is configured. Additional routes can be
configured for the Sendmail connection by selecting the ROUTES item on
the Configure X.400 Menu. Enough information must be supplied so that
the route generated for the Sendmail connection is unique.
To modifythe Sendmail connection,
* Modify the connection name, organization name, or organization
unit names.
* Press the Perform Task key.
If the route configured to this Sendmail connection is not a valid 1984
X.400 standard address form, a warning message displays. 1984 X.400
systems may not be able to handle such O/R addresses. Take this into
consideration when configuring an O/R address for the first route to a
Sendmail connection. See the O/R Address Attributes and Forms section in
Chapter 2 for more information on 1984 X.400 standard address forms.
NOTE To complete the Sendmail configuration, changes must also be made
to the Sendmail configuration file /usr/lib/sendmail.cf. See the
section Changing the Sendmail Configuration File in this chapter
for more information.
To delete the Sendmail connection,
* Press the Action Menu key to display the Action Menu so you can
select the Delete Sendmail Connection item.
Deleting the Sendmail Connection
To deletethe Sendmail connection,
* Select the SENDMAIL item from the Configure X.400 Menu.
* Press the Action Menu key.
* Select the Delete Sendmail Connection item from the Action Menu.
This displays the Delete Sendmail Connection screen.
Figure 7-14. Delete Sendmail Connection Screen
To delete the connection,
* Press the Confirm key.
To cancel the delete operation,
* Press the Cancel key.
Changing the Sendmail Configuration File
If you have installed /usr/lib/x400/x4maileron your host, you must
configure Sendmail to route X.400 mail to this mailer.
To make changes to /usr/lib/sendmail.cf, you must be the super-user.
You may define a default X.400 gateway host. This allows UNIX mail users
to send X.400 mail without having to know which remote host is the X.400
gateway.
If a default X.400 gateway host is not defined in the local sendmail.cf,
UNIX mail users must explicitly address X.400 mail to the remote host
where the X.400 gateway software is installed.
Using HP's Sendmail.cf.
If you are using a sendmail.cf supplied with HP-UX 7.0 or later, do the
following:
1. To configure the local host as the X.400 gateway, execute the
following command: /usr/lib/x400/x4smupdate
2. To configure a remote host as the default X.400 gateway, refer to
the Using a Customized Sendmail.cf File section in this chapter.
Complete the instructions for the remote host configuration.
Using a Customized Sendmail.cf File.
The following lists the steps to update your customized sendmail.cf file:
1. Edit the file /usr/lib/sendmail.cf.
2. Freeze the configuration file (optional).
3. Restart the Sendmail Daemon.
Editing the Configuration File.
If you are using your own customized version of sendmail.cf, do the
following:
1. In Ruleset 1, if the local host name is stripped off, add the
following line:
R$+/$*/$*/$*/$* $:$1/$2/$3/$4/$5<@$w>
2. In Ruleset 2, if the local host name is stripped off, add the
following line:
R$+/$*/$*/$*/$* $:$1/$2/$3/$4/$5<@$w>
Depending on the desired configuration, do one of the following:
1. If the X.400 gateway is installed on the local host, in Ruleset 0,
add the following lines before the rule for the filename:
# resolve X.400 mail
R/$+=$+ $#x400$@$w$:/$1=$2
R$+/$*/$*/$*/$* $#x400$@$w$:$1/$2/$3/$4/$5
# explicitly distinguish file names from X.400 address
R/$* $#local$:/$1 to absolute file path name
Also, add an X.400 Mailer definition by adding the following
lines:
Mx400,P=/usr/lib/x400/x4mailer,F=CDMFmn,S=14,R=24,A=x4mailer -f $g $u
S14
S24
2. If the X.400 gateway is installed on the remote host and you are
configuring a default X.400 gateway host, define the macro Xby
adding the following lines to the Configuration-Specific Macro and
Class Definitions section:
# X.400 relay if X.400 gateway is not local
DX <gateway_hostname>
where <gateway_hostname> is the name of the default X.400 gateway
host.
Also, in Ruleset 0, add the following lines before the rule for
the filename:
# resolve X.400 mail: remote host is X.400 gateway
R/$+=$+ $#tcp$@$X$:/$1=$2<@$X>
R$+/$*/$*/$*/$* $#tcp$@$X$:$1/$2/$3/$4/$5<@$X>
# explicitly distinguish file names from X.400 address
R/$* $#local$:/$1 to absolute file path name
NOTE Conflicts should not exist between any rulesets previously
established.
Freezing the Configuration File.
Each time Sendmail is invoked, the configuration file /usr/lib/sendmail.cf
is read.
If Sendmail should use a frozen configuration file, as super-user,
execute the following command to create the configuration freeze file:
/usr/lib/sendmail -bz
When the configuration file is frozen, the frozen version of the
configuration file, /usr/lib/sendmail.fc, is used each time Sendmail is
invoked.
If Sendmail should not use the frozen configuration file, execute the
following command to delete the configuration:
rm -f /usr/lib/sendmail.fc
Restarting the Daemon.
If a daemon is already running for Sendmail, kill the daemon before
restarting another to activate the X.400 configuration changes.
To kill the daemon, as super-user, execute the following command:
/usr/lib/sendmail -bk
To restart the daemon, as a super-user, execute the following command:
/usr/lib/sendmail -bd -q30m
The -bd mode invokes Sendmail as a server to receive incoming mail
messages. The -q30m flag causes Sendmail to process the mail queue
every 30 minutes.
Refer to the HP-UX Reference Manual or Installing and Administering ARPA
Services for information on Sendmail.
MPE/iX 5.0 Documentation