File: smrsh.8

package info (click to toggle)
manpages-ja 0.5.0.0.20061115-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 19,788 kB
  • ctags: 4
  • sloc: sh: 13,215; perl: 157; makefile: 117
file content (90 lines) | stat: -rw-r--r-- 3,007 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
.\" Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
.\"	 All rights reserved.
.\" Copyright (c) 1993 Eric P. Allman.  All rights reserved.
.\" Copyright (c) 1993
.\"     The Regents of the University of California.  All rights reserved.
.\"
.\" By using this file, you agree to the terms and conditions set
.\" forth in the LICENSE file which can be found at the top level of
.\" the sendmail distribution.
.\"
.\"
.\"     %Id: smrsh.8,v 8.11.16.2 2000/12/15 19:50:46 gshapiro Exp %
.\"
.\" %FreeBSD: src/contrib/sendmail/smrsh/smrsh.8,v 1.3.6.2 2001/02/01 00:54:44 gshapiro Exp %
.\"
.\" $FreeBSD: doc/ja_JP.eucJP/man/man8/smrsh.8,v 1.7 2001/05/14 01:09:59 horikawa Exp $
.\"
.TH SMRSH 8 "%Date: 2000/12/15 19:50:46 %"
.SH ̾
smrsh \- sendmailѤ¤줿
.SH 
.B smrsh
.B \-c
command
.SH 
.I smrsh
ϡ
.IR sendmail (8)
եǡ
.I sh
 ``prog'' ᡼ȤƻѤŪȤƤޤ
.I smrsh
ϡƥŪʥƥ뤿ˡ
.I sendmail
 ``|program'' 񼰤ˤ굯ưǤ륳ޥɤ¤ޤ
Ĥޤꡢ⤷ ``''  alias ե forward եͳ
sendmail ץ¹ԤǤȤƤ⡢
.I smrsh
ȤС(뤤)¹ԤǤץ¤ǤΤǤ
.PP
ñ˸ȡ
.I smrsh
ϡ¹ԲǽʥץñΥǥ쥯ȥ¸ߤΤȡ
Ȥ߹ߥޥɤ ``exec'', ``exit'', ``echo''
˸ꤷޤ
Υǥ쥯ȥϡǥեȤǤϡ/usr/libexec/sm.bin Ǥ
ˤꡢƥԤѲǽʥޥɤ򤹤
Ǥޤ
ˡ
.I smrsh
ϡ``end run'' ɤˡޥɹԤ
`\`', `<', `>', `;', `$', `(', `)', `\er' (ʸ),
`\en' (ʸ)
ʸޤॳޥɤϼ¹Ԥޤ
``||''  ``&&'' ϡĤƤꡢΤ褦ʥޥɤѲǽǤ:
``"|exec /usr/local/bin/procmail -f- /etc/procmailrcs/user || exit 75"''
.PP
ץ̾ˤѥ̾Ƽ뤿ᡢ
``/usr/bin/vacation'', ``/home/server/mydir/bin/vacation'', ``vacation''
ʤɤ ``/usr/libexec/sm.bin/vacation'' Ȳᤵޤ
.PP
ƥԤϡ
sm.bin ǥ쥯ȥ֤ץֺݤˤϿŤ
ȽǤ򤹤٤ǤŬڤʪȤƤϡ
.IR vacation (1)

.IR procmail (1)
ʤɤǤ礦ʤ˾äƤ⡢䡢
.IR perl (1)
ʤɤΥ˻ץ
sm.bin
ƤϤޤ
ϡñǤդΥץ¹Ԥ¤ǡ
``#!''񼰤Ѥ륹ץȤ perl ץȤ
sm.bin
ǥ쥯ȥ¤ǤϤޤ
.SH ѥ
ѥϤۤȤɤΥƥǤĤޤʤΤǤ
ǥեȤΥѥ
(ǥեȤǤ``/bin:/usr/bin'')
ѹ뤿ˤϡ\-DPATH=\e"\fIpath\fP\e" 
Ѥɬפꡢޤ
ǥեȤΥץǥ쥯ȥ
(ǥեȤǤ ``/usr/libexec/sm.bin'')
ѹ뤿ˤϡ\-DCMDBIN=\e"\fIdir\fP\e" 
Ѥɬפޤ
.SH Ϣե
/usr/libexec/sm.bin \- ¤줿ץѤΥǥ쥯ȥ
.SH Ϣ
sendmail(8)