SMTPPD
[/?]
[/WAITFOR string]
[/IFLOCALPOST string]
[/IFREMOTEPOST string]
[/LOCAL string]
[/TIMEOUT number]
[/FOREVER[+|-]]
SMTPPD reads mail from a maildrop area, that has been placed there by (for example) the SMTP Submission service, performs global alias processing on the recipients, and sorts the mail for local or remote delivery. The maildrop is taken to be the working directory of the dæmon.
By default all domains are considered remote. Individual domains must be
explicitly specified as local with the /LOCAL option.
Note: It is strongly recommended that the domains specified as local include all of the domains specified as local to the SMTP Relay dæmon, if one is configured, otherwise mail received for local delivery will be sorted for remote delivery by the Post Office dæmon.
Often one will want to specify at minimum:
/LOCAL:localhost /LOCAL:localhost. /LOCAL:[127.0.0.1]
SMTPPD can be managed as a service under RUNSVC, the Service Manager in the OS/2 Command Line Utilities version 2.2, A run file for such a service typically would look similar to:
chdir %MAILQUEUEDIR% program %APPS%\JdeBP\IU\bin\SMTPPD.exe argument SMTPPD argument /WAITFOR:\SEM32\IU\SMTP\PD argument /IFLOCALPOST:\SEM32\IU\SMTP\LD argument /IFREMOTEPOST:\SEM32\IU\SMTP\RD
[c:\]smtppd /WAITFOR:\SEM32\IU\SMTP\PD /IFLOCALPOST:\SEM32\IU\SMTP\LD /IFREMOTEPOST:\SEM32\IU\SMTP\RD
/WAITFOR/IFLOCALPOST/IFREMOTEPOST/LOCAL/TIMEOUT/FOREVER