Home | History | Annotate | Line # | Download | only in mantools
make_soho_readme revision 1.1.1.1.2.3
      1 #!/bin/sh
      2 
      3 cat <<'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
     26 office" applications into one document so that they are easier to
     27 find. The text describes the mail sending side only. If your machine
     28 does not receive mail directly (i.e. it does not have its own
     29 Internet domain name and its own fixed IP address), then you will
     30 need a solution such as "fetchmail", which is outside the scope of
     31 the 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
     42 Internet 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
     51 Postfix SMTP client</a></li>
     52 
     53 <li><a href="#client_sasl_sender">Configuring Sender-Dependent SASL
     54 authentication </a></li>
     55 
     56 </ul>
     57 
     58 </ul>
     59 
     60 <p> See the SASL_README and STANDARD_CONFIGURATION_README documents for
     61 further information on these topics. </p>
     62 
     63 EOF
     64 
     65 sed -n '/^<h2><a name="stand_alone">/,${
     66         /^<h2><a name="null_client">/q
     67         p
     68 }' STANDARD_CONFIGURATION_README.html
     69 
     70 sed -n '/^<h2><a name="fantasy">/,${
     71 	/^<\/body>/q
     72 	p
     73 }' STANDARD_CONFIGURATION_README.html
     74 
     75 sed -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 
     81 cat <<'EOF'
     82 </body>
     83 
     84 </html>
     85 EOF
     86