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 Manual Pages </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 21 1.1 tron Manual Pages </h1> 22 1.1 tron 23 1.1 tron <hr> 24 1.1 tron 25 1.1 tron <h2> Information for new Postfix users </h2> 26 1.1 tron 27 1.1 tron <p> New Postfix users should first look at the following introductory 28 1.1 tron documents. These introductions are hyperlinked to more advanced 29 1.1 tron documents and to UNIX-style manual pages. The UNIX-style manual 30 1.1 tron pages are intended for people who are already familiar with Postfix. 31 1.1 tron </p> 32 1.1 tron 33 1.1 tron <ul> 34 1.1 tron 35 1.1 tron <li> <a href="OVERVIEW.html"> Postfix architecture overview </a> 36 1.1 tron 37 1.1 tron <li> <a href="BASIC_CONFIGURATION_README.html"> Basic configuration 38 1.1 tron </a> 39 1.1 tron 40 1.1 tron <li> <a href="DEBUG_README.html"> Trouble shooting </a> 41 1.1 tron 42 1.1 tron <li> <a href="CONTENT_INSPECTION_README.html"> Content inspection 43 1.1 tron overview</a> 44 1.1 tron 45 1.1 tron <li> <a href="SMTPD_ACCESS_README.html">Relay/access control overview 46 1.1 tron </a> 47 1.1 tron 48 1.1 tron <li> <a href="DATABASE_README.html"> Lookup table overview </a> 49 1.1 tron 50 1.1 tron </ul> 51 1.1 tron 52 1.1 tron <h2> Postfix manual page organization </h2> 53 1.1 tron 54 1.1 tron <p> Each Postfix manual page is numbered after a section of the 55 1.1 tron UNIX manual: examples are mailq(1) or access(5). Unfortunately, 56 1.1 tron there is no single universal method to organize manual pages; each 57 1.1 tron UNIX flavor appears to be different. Postfix documentation assumes 58 1.1 tron the following convention: </p> 59 1.1 tron 60 1.1 tron <blockquote> 61 1.1 tron 62 1.1 tron <table cellpadding="0" cellspacing="0"> 63 1.1 tron 64 1.1 tron <tr><th> Section </th> <th> Topic </th> </tr> 65 1.1 tron 66 1.1 tron <tr><td colspan="2"> <hr> </td> </tr> 67 1.1 tron 68 1.1 tron <tr><td align="center"> 1 </td> <td> Commands </td> </tr> 69 1.1 tron 70 1.1 tron <tr><td align="center"> 3 </td> <td> Library routines </td> </tr> 71 1.1 tron 72 1.1 tron <tr><td align="center"> 5 </td> <td> File formats </td> </tr> 73 1.1 tron 74 1.1 tron <tr><td align="center"> 8 </td> <td> Daemons </td> </tr> 75 1.1 tron 76 1.1 tron </table> 77 1.1 tron 78 1.1 tron </blockquote> 79 1.1 tron 80 1.1 tron EOF 81 1.1 tron 82 1.1.1.2 christos srctoman "$@" | sed 's/\\-/-/g' | awk ' 83 1.1 tron 84 1.1 tron NR == 1,/SH "*SEE ALSO"*/ { next } 85 1.1 tron 86 1.1 tron /^Other:$/ { print ul; exit } 87 1.1 tron 88 1.1 tron /^[A-Z].*:$/ { print ul "<h2>", $0, "</h2>\n\n<ul>\n\n"; ul = "</ul>\n\n" } 89 1.1 tron 90 1.1 tron /^[a-z][-a-z0-9_]+\(/ { print "<li>", $0, "\n" } 91 1.1 tron 92 1.1 tron ' | sed 's;: </h2>$; </h2>;' 93 1.1 tron 94 1.1 tron cat <<EOF 95 1.1 tron </body> 96 1.1 tron 97 1.1 tron </html> 98 1.1 tron EOF 99