
smtp <subcommand>


     These commands are used for the Simple  Message  Transport
     Protocol  service (that is, mail).

    smtp batch [yes | no]

     If set smtp will batch the commands into one frame.  When off
     only one command is sent and a response is waited for.  Some old
     and flaky smtp servers cannot handle more than one command at a
     time.  NOS can handle multiple.  If you are not hindered by an
     old smtp server, setting batch reduces bandwidth.

    smtp bidcheck [ON | off]

     Sets or displays status of smtp bidchecking.  Default is ON.
     If ON, incoming messages with dupe bids are rejected.
     
    smtp gateway [<hostid>]

     Displays or sets the host to be used as a "smart" mail relay.
     Any  mail sent to a host not in the host table will instead be
     sent to the gateway for forwarding.

    smtp kick

     Run through the outgoing mail queue and attempt to deliver any
     pending  mail.  This command allows the user to "kick" the mail
     system manually.  Normally, this command is periodically invoked
     by a timer whenever NOS is running.

    smtp kill [<jobid>]

     Kill <jobid> and delete the message.

    smtp list

     List the current jobs. An "L" means locked and in progress.  It
     is wise to add in autoexec.bat a "del /spool/mqueue/*.lck"
     command.  As of JNOS 1.10 (x16), all '.lck' files are
     automatically deleted on startup.

    smtp maxclients [<count>]

     Displays or sets the maximum number of simultaneous outgoing
     SMTP sessions that will be allowed.  The default is 10.  Reduce
     <count> if network congestion is a problem.

    smtp mode [queue | ROUTE]

     Sets the smtp delivery mode.  If 'queue', all messages are left
     in /spool/rqueue for external forwarding and handling.  If
     'route', messages are handled and, if for local, appended to a
     mailbox, or if remote they are forwarded.  Default = 'route'


    smtp quiet [YES | no]

     Enables or disables the message that new mail arrived at this
     system.

    smtp t4 [<seconds>]

     Displays or sets a t4 timer for smtp sessions so that they will
     disconnect after a period of inactivity and prevent lockups.
     Default = 0, i.e., no disconnect for timeout.
     
    smtp timer [<seconds>]


     Displays or sets the interval, between scans of the outbound mail
     queue.  For example, smtp timer 600 will cause the system to
     check for outgoing mail every 10 minutes and attempt to deliver
     anything it finds, subject of course to the smtp maxclients
     limit.  Setting a value of zero disables queue scanning
     altogether.  This value is  recommended  for standalone IP
     gateways that never handle mail, since it saves wear and tear on
     the floppy disk drive.  Default = 0
    

    smtp trace [<value>]

     Displays or sets the trace flag in the SMTP client, allowing you
     to  watch SMTP's conversations as it delivers mail.  Zero (the
     default) disables tracing.
     

    smtp usemx [yes | NO]

     Displays or sets a flag enabling or disabling MX record lookups.
     This can  be enabled if a domain server is available in the near
     distance (reachable).  It should be disabled (default) if no
     domain server is in reach to  satisfy  the MX  query.  Note that
     MX record handling is very limited in NOS.  If an answer from a
     domain name server comes in it is taken to be the destination.


