summaryrefslogtreecommitdiffstats
path: root/mantools/make_soho_readme
blob: fb94c3f651e623c72c09ec38a3d2c75061f6ed0a (plain)
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
#!/bin/sh

cat <<'EOF'
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/html4/loose.dtd">

<html>

<head>

<title>Postfix Small/Home Office Hints and Tips</title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

</head>

<body>

<h1><img src="postfix-logo.jpg" width="203" height="98" ALT="">Postfix Small/Home Office Hints and Tips</h1>

<hr>

<h2>Overview</h2>

<p> This document combines hints and tips for "small office/home
office" applications into one document so that they are easier to
find. The text describes the mail sending side only. If your machine
does not receive mail directly (i.e. it does not have its own
Internet domain name and its own fixed IP address), then you will
need a solution such as "fetchmail", which is outside the scope of
the Postfix documentation.  </p>

<ul>

<li> <p> Selected topics from the STANDARD_CONFIGURATION_README document: </p>

<ul>

<li><a href="#stand_alone">Postfix on a stand-alone Internet host</a>

<li><a href="#fantasy">Postfix on hosts without a real
Internet hostname</a>

</ul>

<p> Selected topics from the SASL_README document: </p>

<ul>

<li><a href="#client_sasl_enable">Enabling SASL authentication in the
Postfix SMTP client</a></li>

<li><a href="#client_sasl_sender">Configuring Sender-Dependent SASL
authentication </a></li>

</ul>

</ul>

<p> See the SASL_README and STANDARD_CONFIGURATION_README documents for
further information on these topics. </p>

EOF

sed -n '/^<h2><a name="stand_alone">/,${
        /^<h2><a name="null_client">/q
        p
}' STANDARD_CONFIGURATION_README.html

sed -n '/^<h2><a name="fantasy">/,${
	/^<\/body>/q
	p
}' STANDARD_CONFIGURATION_README.html

sed -n '/^<h3><a name="client_sasl_enable"/,${
	/^<h3><a name="client_sasl_policy"/q
	s/h3>/h2>/g
	p
}' SASL_README.html

cat <<'EOF'
</body>

</html>
EOF