|
|
1.1 root 1: '\"macro stdmacro
2: .if n .pH g1a.smtpsched %W% of %G%
3: .nr X
4: .if \nX=0 .ds x} smtpsched 1M "" "\&"
5: .if \nX=1 .ds x} smtpsched 1M ""
6: .if \nX=2 .ds x} smtpsched 1M "" "\&"
7: .if \nX=3 .ds x} smtpsched "" "" "\&"
8: .TH \*(x}
9: .SH NAME
10: \f4smtpsched\fP \- process messages queued in the \s-1SMTP\s+1 mail queue
11: .SH SYNOPSIS
12: \f4smtpsched\f1 [ \f4\-c\f1 ] [ \f4\-v\f1 ] [ \f4\-t\f1 ] [ \f4\-s\f2 scheds\f1 ]
13: [ \f4\-r\f2 days\f1 ] [ \f4\-w\f2 days\f1 ] [\f2 qnames\f1 ]
14: .SH DESCRIPTION
15: \f4smtpsched\fP is used to process the messages queued up in the
16: .SM SMTP
17: mail queue \f4/var/spool/smtpq\fP.
18: It is invoked automatically by the
19: .SM SMTP
20: mail surrogate \f4smtpqer\fP,
21: whenever mail is queued for
22: .SM SMTP
23: delivery to a remote host, and by
24: \f4smtpd\fP whenever incoming mail arrives.
25: It should also be run once per hour (from \f4cron\fP) to attempt
26: delivery of any mail that cannot be delivered immediately.
27: .P
28: \f4smtpsched\fP will normally attempt to send all messages queued under all
29: subdirectories of \f4/var/spool/smtpq\fP.
30: However, if \f2qnames\fP are specified, only those listed subdirectories
31: of \f4/var/spool/smtpq\fP will be searched for messages to deliver.
32: The subdirectories each refer to a different remote host.
33: .P
34: The options to \f4smtpsched\fP are as follows:
35: .TP 12
36: \f4\-c\fP
37: Causes empty queue directories to be removed.
38: .TP
39: \f4\-v\fP
40: Causes verbose logging to occur.
41: .TP
42: \f4\-t\fP
43: Test mode.
44: The actions \f4smtpsched\fP would take are logged but not performed.
45: .TP
46: \f4\-s\f2 scheds\f1
47: Specifies the maximum number of concurrent \f4smtpsched\fPs that may be
48: running at once.
49: If more than this number is running, \f4smtpsched\fP will exit.
50: .TP
51: \f4\-r\f2 days\f1
52: Causes mail older than \f2days\fP days to be returned.
53: .TP
54: \f4\-w\f2 days\f1
55: Any mail older than \f2days\fP days will trigger a warning message,
56: which is sent to the originator.
57: .SH FILES
58: .TP 35n
59: \f4/usr/lib/mail/surrcmd/smtp\fP
60: delivers the mail
61: .TP
62: \f4/usr/lib/mail/surrcmd/smtpqer\fP
63: queues the mail
64: .TP
65: \f4/var/spool/smtpq\fP
66: queued mail messages
67: .TP
68: \f4/var/spool/smtpq/LOG*\fP
69: log files
70: .TP
71: \f4/var/spool/smtpq/\f2host\fP\fP
72: mail messages queued for \f2host\fP
73: .SH "SEE ALSO"
74: \f4cron\fP(1M), \f4smtp\fP(1M), \f4smtpqer\fP(1M)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.