Programm GETMAIL requests email from secondary SMTP server to primary.
If your SMTP server is not connected to Internet by fixed line, there must be another SMTP server (almost at your ISP) to which is mail sent. This ISP server tries in given intervals if your server is connected and able to receive mail.
This process can be speed up by ETRN command. ISP server realize from ETRN, that your queued mail should be sent to your server. Program GETMAIL sends ETRN command in specified times directly from NetWare 386 file server. Post servers PostOffice use command QSND for this purpose which is also supported by GETMAIL.
There are cases in which special characters should be inserted before name in ETRN (e.g. @ or #). GetMail can do it with parameter /o. I recommend to consult use of this parameter with administrator of your backup SMTP server.
Notes:
History: 980216 0.10: port & myMailer as parameters 980217 0.20: several send times 980306 0.21: ETRN sends per session is optional; max sends is 7 980319 0.23: 4xETRN, 'now' may be uppercase 981002 0.24: Added support for QSND 981003 0.25: increased max time (/s) parameters to 10 981005 0.26: added ONLY parameter for CRON use 981130 0.27: added ETRN option character 981208 0.28: added timeout parameter (/t) with default to 120 sec 990709 0.30: added delay parameter to /n, changed internal time control (/n1 should work now) 990712 0.31: log filename as parameter, logging can be shut off 990908 0.32: corrected invalid error message "SMTP Status 1" 000918 0.41: added DNS name resolution and GETMAIL.NCF launching