z/OS Communications Server: IP Programmer's Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Running the sample mail filter program

z/OS Communications Server: IP Programmer's Guide and Reference
SC27-3659-02

Error messages for the sample filter are written to a log file. The log file is defined in lf_smpl.c as follows:
openlog(NULL, LOG_PID, LOG_LOCAL7)
To get error messages, first create a log file. The log reference in the source code can be modified to reference the log file you created. For more information about error messages, see z/OS Communications Server: IP Diagnosis Guide.
The lf_smpl.c sample program accepts the -p argument as follows:
-p socket_reference
Specifying the socket information of the filter, the parameter should be formatted according to the socket specification in the sendmail configuration file.
For example, use the command filter –p inet:3333@localhost with the following configuration:
Xfilter, S=inet:3333@localhost
O InputMailFilters=filter

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014