make_soho_readme   [plain text]


#!/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=us-ascii">

</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