1#!/bin/sh
2
3cat <<'EOF'
4<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
5        "http://www.w3.org/TR/html4/loose.dtd">
6
7<html>
8
9<head>
10
11<title>Postfix Small/Home Office Hints and Tips</title>
12
13<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
14
15</head>
16
17<body>
18
19<h1><img src="postfix-logo.jpg" width="203" height="98" ALT="">Postfix Small/Home Office Hints and Tips</h1>
20
21<hr>
22
23<h2>Overview</h2>
24
25<p> This document combines hints and tips for "small office/home
26office" applications into one document so that they are easier to
27find. The text describes the mail sending side only. If your machine
28does not receive mail directly (i.e. it does not have its own
29Internet domain name and its own fixed IP address), then you will
30need a solution such as "fetchmail", which is outside the scope of
31the Postfix documentation.  </p>
32
33<ul>
34
35<li> <p> Selected topics from the STANDARD_CONFIGURATION_README document: </p>
36
37<ul>
38
39<li><a href="#stand_alone">Postfix on a stand-alone Internet host</a>
40
41<li><a href="#fantasy">Postfix on hosts without a real
42Internet hostname</a>
43
44</ul>
45
46<p> Selected topics from the SASL_README document: </p>
47
48<ul>
49
50<li><a href="#client_sasl_enable">Enabling SASL authentication in the
51Postfix SMTP client</a></li>
52
53<li><a href="#client_sasl_sender">Configuring Sender-Dependent SASL
54authentication </a></li>
55
56</ul>
57
58</ul>
59
60<p> See the SASL_README and STANDARD_CONFIGURATION_README documents for
61further information on these topics. </p>
62
63EOF
64
65sed -n '/^<h2><a name="stand_alone">/,${
66        /^<h2><a name="null_client">/q
67        p
68}' STANDARD_CONFIGURATION_README.html
69
70sed -n '/^<h2><a name="fantasy">/,${
71	/^<\/body>/q
72	p
73}' STANDARD_CONFIGURATION_README.html
74
75sed -n '/^<h3><a name="client_sasl_enable"/,${
76	/^<h3><a name="client_sasl_policy"/q
77	s/h3>/h2>/g
78	p
79}' SASL_README.html
80
81cat <<'EOF'
82</body>
83
84</html>
85EOF
86