Annotation of researchv10dc/man/man8/smtp.8, revision 1.1.1.1

1.1       root        1: .TH SMTP 8
                      2: .CT 1 sa_auto
                      3: .SH NAME
                      4: smtp, smtpqer, smtpd, smtpsched \- handle simple mail transfer protocol 
                      5: .SH SYNOPSIS
                      6: .B /usr/lib/upas/smtp
                      7: [
                      8: .I option ...
                      9: ]
                     10: .I replyaddr
                     11: .I dest
                     12: .I recipient ...
                     13: .PP
                     14: .B /usr/lib/upas/smtpqer
                     15: [
                     16: .I option ...
                     17: ]
                     18: .I replyaddr
                     19: .I dest
                     20: .I recipient ...
                     21: .PP
                     22: .B /usr/lib/upas/smtpd
                     23: [
                     24: .B -n
                     25: ] [
                     26: .B -H
                     27: .I host
                     28: ]
                     29: .PP
                     30: .B /usr/lib/upas/smtpsched
                     31: [
                     32: option ...
                     33: ] [
                     34: .I queue ...
                     35: ]
                     36: .SH DESCRIPTION
                     37: .I Smtp
                     38: reads a mail message from the standard input,
                     39: and sends it with the Internet SMTP protocol
                     40: to the named
                     41: .I recipients
                     42: at
                     43: network address
                     44: .IR dest .
                     45: .I Dest
                     46: has default network
                     47: .B tcp
                     48: and default
                     49: service
                     50: .B tcp.25
                     51: (the conventional Internet SMTP port).
                     52: Error reports are mailed to local address
                     53: .IR replyaddr .
                     54: .PP
                     55: .I Smtp
                     56: operates in two modes, `Internet' (default) and `Unix'.
                     57: In Internet mode
                     58: .I recipient
                     59: addresses should be in full domain form.
                     60: .L From:
                     61: and
                     62: .L Date:
                     63: headers will be inserted as necessary
                     64: to conform to Internet standards.
                     65: In Unix mode
                     66: addresses and message contents
                     67: are not touched.
                     68: The options are
                     69: .TP
                     70: .B -u
                     71: Run in Unix mode.
                     72: .TP
                     73: .BI -H " host"
                     74: Use
                     75: .I host
                     76: as the name of the sending system (taken from
                     77: .IR whoami (5)
                     78: by default).
                     79: .TP
                     80: .BI -d " domain
                     81: Append the specified domain suffix to
                     82: incomplete addresses.
                     83: .PP
                     84: .I Smtpqer
                     85: reads a mail message from the standard input
                     86: and stashes it away
                     87: to be sent later
                     88: by
                     89: .IR smtpsched .
                     90: By default,
                     91: .I smtpsched
                     92: is started immediately;
                     93: option
                     94: .B -n
                     95: prevents this.
                     96: Other options and arguments are the same as for
                     97: .IR smtp .
                     98: .PP
                     99: .I Smtpd
                    100: receives a message by
                    101: speaking the server part of SMTP
                    102: on the standard input and output.
                    103: The message is stashed in a queue for later delivery
                    104: as by
                    105: .IR smtpqer .
                    106: Option
                    107: .B -n
                    108: prevents
                    109: .I smtpsched
                    110: from running immediately;
                    111: option
                    112: .B -H
                    113: is as for
                    114: .I smtp.
                    115: .PP
                    116: .I Smtpsched
                    117: processes the queues assembled by
                    118: .I smtpqer
                    119: and
                    120: .IR smtpd ,
                    121: calling
                    122: .IR mail (1)
                    123: for local messages and
                    124: .I smtp
                    125: for others.
                    126: It should be run occasionally from
                    127: .IR cron (8).
                    128: .PP
                    129: The
                    130: .I queue
                    131: arguments name particular queue directories to be processed;
                    132: if no queue is named,
                    133: all queues are processed.
                    134: The options are
                    135: .TF "-s\0nproc"
                    136: .TP
                    137: .BI -w " days"
                    138: Send a warning about each message more than
                    139: .I days
                    140: old to the reply address.
                    141: .TP
                    142: .BI -r " days"
                    143: Mail an error reply about each message more than
                    144: .I days
                    145: old,
                    146: and discard the message.
                    147: .TP
                    148: .BI -s " nproc"
                    149: Do not run more than
                    150: .I nproc
                    151: simultaneous copies of
                    152: .I smtpsched
                    153: started with this option.
                    154: .TP
                    155: .B -c
                    156: Remove empty directories and inconsistent files.
                    157: .TP
                    158: .B -t
                    159: Log actions without performing them. 
                    160: .TP
                    161: .B -C
                    162: Process `C' command files
                    163: .RI ( smtp
                    164: calls) only.
                    165: .TP
                    166: .B -X
                    167: Process `X' command files
                    168: .RI ( rmail
                    169: calls) only.
                    170: .TP
                    171: .B -v
                    172: Enable verbose logging.
                    173: .PD
                    174: .PP
                    175: The queues are kept in subdirectories of
                    176: .FR /usr/spool/smtpq ,
                    177: named by splitting the lower case remote system name
                    178: into components separated by
                    179: periods,
                    180: concatenating the last two or fewer components,
                    181: taking the last 14 characters,
                    182: and stripping leading periods.
                    183: .SH FILES
                    184: .TF /usr/spool/smtpq/smtpqsched.log
                    185: .TP
                    186: .B /usr/spool/smtpq
                    187: spooling directory
                    188: .TP
                    189: .B /usr/spool/smtpq/smtpqsched.log
                    190: logging
                    191: .TP
                    192: .B /usr/spool/smtpq/.consumers
                    193: list of process IDs running
                    194: .I smptqsched -s
                    195: .SH SEE ALSO
                    196: .IR mail (1),
                    197: .IR upas (8),
                    198: .IR smstat (8)
                    199: .br
                    200: DARPA standards RFC 822, RFC 976

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.