File: smtp-refuser.8

package info (click to toggle)
smtp-refuser 1.0.5.0.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 84 kB
  • ctags: 18
  • sloc: ansic: 209; sh: 70; makefile: 43
file content (64 lines) | stat: -rw-r--r-- 1,807 bytes parent folder | download | duplicates (4)
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
.TH SMTP-REFUSER 8 "15th May, 1999"
.SH NAME
smtp-refuser \- refuse SMTP receival with an informative explanation
.SH SYNOPSIS
.B smtp-refuser
[
.I explanation
[
.I argument...
] ]
.SH DESCRIPTION
.B smtp-refuser
is usually used along with
.BR tcpd (8)
or some other TCP security daemon to bounce messages from IP addresses of
known spammers. Advantages of
.B smtp-refuser
over just blocking connections are that the remote SMTP server will not
retry, and legitimate e-mail senders will see a polite message telling them
why their mail was blocked and who to call to get around the blocking.
.PP
Upon SMTP commands
.BR DEBU ,
.BR EXPN ,
.BR RCPT ,
and
.BR VRFY ,
.B smtp-refuser
will report a 550 (no such recipient) error, followed by the contents of the
file
.IR explanation .
.SS "smtp-refuser.conf configuration file"
.I /etc/smtp-refuser.conf
consists of two lines.  First should contain the name of the person who is
to be contacted if blocking prevents legitimate mail transfer. The second
line should contain the means of contact (i. e. a telephone number, or an
e-mail address).  All other lines will be ignored.
.SS "Substitutions in the explanation"
The following character sequences in the
.I explanation
file will be substituted:
.IP `$C'
Replaced by the first line of
.I smtp-refuser.conf
(see above).
.IP `$P'
Replaced by the second line of
.I smtp-refuser.conf
(see above).
.IP "`$1', `$2', ... `$9'"
Replaced by the first, second, etc. command-line
.I argument
after
.IR explanation .
.PP
Substitution can be prevented using backslash (`\e') characters: the
character following a backslash will be displayed literally (the backslash
will be discarded).
.SH FILES
.I /etc/smtp-refuser.conf
.SH AUTHORS
Bruce Perens <bruce@perens.com>
.br
Manual page written by Matej Vela <vela@debian.org>.