Use
The SAP Internet Mail Gateway configuration profile contains the logon data of the R/3 System and the call parameters of the mailing program. Programs Mlsomail and Mlunxsnd read the required information from the configuration profile in order to set up the RFC connection to the R/3 System and to call up the sendmail program.
You create the configuration profile using the programm Mlsomadm. It is then stored in coded form. You also make changes to the profile (for example, the configuration of the trace) using the program Mlsomadm.
Prerequisites
You can choose the storage location and file name of the configuration profile. The path and name must be made known so that the SAP Internet Mail Gateway finds the file.
The file name is copied to the programs Mlsomadm and Mlsomail as the first call parameter. The program Mlunxsnd searches for the configuration profile. It proceeds in the following order:
Process Flow |
Result |
|
The file specified is used as the configuration profile. |
|
Mailgw.ini is used as the configuration file. |
|
Mailgw.ini is used as the configuration file. |
It is recommended that you store the configuration profile under the name Mailgw.ini in the profile directory of the SAP System (/usr/sap/<SID>/SYS/profile/mailgw.ini). You do not then need to set the environment variable GWCONFIG.
Features
The configuration profile must contain the information that is required for the link in the case of incoming and outgoing messages.
Inbox
Field |
Description |
Example |
Client |
Client in the R/3 System in which the Internet messages are received |
001 |
User name |
Name of the RFC user with which the SAP Internet Mail Gateway registers with the R/3 System. |
Mailadm |
Password |
RFC user password |
Init |
Logon language |
One of the logon languages used |
E |
System name |
Logical name of the R/3 System in which the Internet messages are received |
C11 |
Load balancing |
For Y,
load balancing is used, for N, you must enter a specific application server |
Y |
Message server (with load balancing) |
Name of the message server for the relevant R/3 System If load balancing is to be used, the message server port is configured in File/etc/services (for example, with the entry sapmsc11 3601/tcp) |
hp0011 |
Login group (with load balancing) |
Name for the login group |
Public |
Host name (without load balancing) |
Name of the R/3 application server with which the SAP Internet Mail Gateway registers |
|
System number (without load balancing) |
Two-character number of the R/3 System on the application server |
|
Gateway host name (without load balancing) |
Name of the host on which the SAP gateway runs; usually the name of the R/3 application server |
|
Gateway service (without load balancing) |
Name of the SAP Gateway service; usually in /etc/services. As a rule, you do not need to make an entry here. The system uses the default sapgwXX, where XX stands for the system number. |
|
Use SAProuter |
Use the
SAProuter as the proxy if you protect access to your systems with a firewall. The SAProuter is used for Y, but not for N. |
N |
SAProuter string (with SAProuter) |
The SAProuter string describes the link (for example, /H/mysaprouter/S/3299) without specifying the message server, application server or gateway host. |
|
Trace Level |
Specification of the log levels: 0 for Switch off trace 1 for Errors only 2 for Errors and warnings 3 for Errors, warnings and information |
1 |
Trace File |
Path and file name of the file in which the trace entries for incoming messages are written |
/tmp/tracein.txt |
Outbox
Field |
Description |
Example |
Sendmail command |
Command line for calling the sendmail program from the SAP Internet Mail Gateway. You must enter the complete path. By default, no command options are required; however, the options -i and -f<SENDER_ADDRESS> are highly recommended.
Do not use the option -t.
Do not replace the expression <SENDER_ADDRESS> when entering the sendmail command. The sender is assigned later by the program. |
/usr/lib/ sendmail -i-f<SENDER_ADDRESS> |
Code Page |
Iso name of the SAP System code page
SAP Systems with Japanese code page Shift JIS (8000) are exceptions. You have to enter the ISO name for JIS: ISO-2022-JP. |
ISO-8859-1 |
Trace Level |
Specification of the log levels: 0 for Switch off trace 1 for Errors only 2 for Errors and warnings 3 for Errors, warnings and information |
1 |
Trace File |
Path and file name of the file in which the trace entries for incoming messages are written |
/tmp/traceout.txt |
Activities
You
create the configuration profile by answering the questions that the program Mlsomadm asks.