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