Starting the SAP Internet Mail Gateway 
Purpose
In order to put the SAP Internet Mail Gateway into operation, you must start the mailing program. At the activation type Registration you must also start the program Mlunxsnd. If you have installed an R/3 stand alone gateway, you must start this. In all other cases, SAP Internet Mail Gateway programs are started automatically.
Process Flow
1. Start mailing program
Unix and Windows NT:
The Unix Mailing Program Sendmail is usually started automatically when the system is started. For further information see your Unix Mailing Program documentation.OS/400: For information on how you start AnyMail/400, see Start AnyMail/400.
How program Mlunxsnd is started depends on with which activation type the RFC destination for the program has been created:
2. Start Mlunxsnd (only for registration)
In this case, program Mlunxsnd must register for the SAP Gateway and run constantly .
Unix and Windows NT
The entry you use to start Mlunxsnd depends on how you
register the program:Registering |
Entry |
Example |
Via the Saprfc.ini |
mlunxsnd -D<RFC-Destination> |
mlunxsnd -dSIMG_Mlunxsnd |
direct |
mlunxsnd -a<Program ID> -g<Gateway Host> -x<Gateway Service> |
mlunxsnd -ahs3333.mlunxsnd.c11001 -ghs3333 -xsapgw00 |
OS/400
For information on which entries you use to start program Mlunxsnd under OS/400, see
Starting Mlunxsnd under OS/400.Possibilities for the program start
The following possibilities exist to start the program:
Manually
Enter the entry directly in the command line of the SAP Internet Mail Gateway Server. You should only use the manual start of program Mlunxsnd for test purposes. In production operation it is preferable for the operating system to perform the start.
By the operating system
In production operation, you should let the operating system start program Mlunxsnd . If you register Mlunxsnd via file Saprfc.ini, this file must be in the current directory of Mlunxsnd. In order for Mlunxsnd to be started by the operating system, you must carry out the following activities depending on your operating system:
You must configure a service which will automatically start program Mlunxsnd. You can set up the service with the help program Srvany, which is contained in the Windows NT Resource Kit. For further information see the relevant documentation.
Start the program Mlunxsnd in the background, for example via /etc/inittab or in the system startup scripts. For further information see your system documentation.
·
OS/400:You can include the Mlunxsnd call up in your R/3 start profile. Important: the R/3 System must be running before the commands can be executed.
Start R/3 stand alone gateway (only for Windows NT with starting on an explicit host without remote shell)
There are several possible ways of starting the gateway:
Via the SAP service manager
For information see the SAP service manager documentation.
With direct command entry
Enter: gwrd pf=<complete path to gateway profile>