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