- Timestamp:
- 08/01/2005 04:57:38 AM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- dbacbd80
- Parents:
- ec578e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/mail/postfix.xml
rec578e6 r5690030 90 90 <envar>AUXLIBS</envar> settings listed below.</para> 91 91 92 <para>Here is an example that combines the TLS /SSLand92 <para>Here is an example that combines the TLS and 93 93 <application>Cyrus-SASL</application> arguments:</para> 94 94 95 95 <screen><userinput>make makefiles \ 96 CCARGS="-DUSE_SSL -DUSE_SASL_AUTH \ 97 -I/usr/include/openssl -I/usr/include/sasl" \ 98 AUXLIBS="-L/usr/lib -lssl -lcrypto -lsasl2"</userinput></screen> 96 CCARGS='-DUSE_TLS -DUSE_SASL_AUTH -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \ 97 -DDEF_MANPAGE_DIR=\"/usr/share/man\" -I/usr/include/openssl \ 98 -I/usr/include/sasl' \ 99 AUXLIBS='-L/usr/lib -lssl -lcrypto -lsasl2'</userinput></screen> 99 100 100 101 <sect4> 101 <title> SSL/TLS Authentication</title>102 <title>TLS Authentication</title> 102 103 103 104 <para>To use TLS authentication with postfix … … 105 106 <command>make makefiles</command> command:</para> 106 107 107 <screen><literal>CCARGS= "-DUSE_SSL -I/usr/include/openssl" \108 AUXLIBS= "-L/usr/lib -lssl -lcrypto"</literal></screen>109 110 <para>To use SSL orTLS you will also need108 <screen><literal>CCARGS='-DUSE_TLS -I/usr/include/openssl' 109 AUXLIBS='-L/usr/lib -lssl -lcrypto'</literal></screen> 110 111 <para>To use TLS you will also need 111 112 <xref linkend="cyrus-sasl"/>.</para> 112 113 … … 119 120 <application>Postfix</application>, use the following arguments:</para> 120 121 121 <screen><literal>CCARGS= "-DUSE_SASL_AUTH -I/usr/include/sasl" \122 AUXLIBS= "-L/usr/lib -lsasl2"</literal></screen>122 <screen><literal>CCARGS='-DUSE_SASL_AUTH -I/usr/include/sasl' 123 AUXLIBS='-L/usr/lib -lsasl2'</literal></screen> 123 124 124 125 </sect4> … … 131 132 arguments:</para> 132 133 133 <screen><literal>CCARGS= "-I/usr/include -DHAS_LDAP" \134 AUXLIBS= "-L/usr/lib -lldap -llber"</literal></screen>134 <screen><literal>CCARGS='-I/usr/include -DHAS_LDAP' 135 AUXLIBS='-L/usr/lib -lldap -llber'</literal></screen> 135 136 136 137 </sect4> … … 143 144 arguments:</para> 144 145 145 <screen><literal>CCARGS= "-DHAS_MYSQL -I/usr/include/mysql" \146 AUXLIBS= "-L/usr/lib -lmysqlclient -lz -lm"</literal></screen>146 <screen><literal>CCARGS='-DHAS_MYSQL -I/usr/include/mysql' 147 AUXLIBS='-L/usr/lib -lmysqlclient -lz -lm'</literal></screen> 147 148 148 149 </sect4> … … 155 156 arguments:</para> 156 157 157 <screen><literal>CCARGS= "-DHAS_PGSQL -I/usr/include/postgresql" \158 AUXLIBS= "-L/usr/lib -lpq -lz -lm"</literal></screen>158 <screen><literal>CCARGS='-DHAS_PGSQL -I/usr/include/postgresql' 159 AUXLIBS='-L/usr/lib -lpq -lz -lm'</literal></screen> 159 160 160 161 </sect4> … … 167 168 arguments:</para> 168 169 169 <screen><literal>CCARGS=-DHAS_CDB AUXLIBS=<replaceable>[/path/to/CDB]/</replaceable>libcdb.a</literal></screen> 170 <screen><literal>CCARGS='-DHAS_CDB' 171 AUXLIBS='<replaceable>[/path/to/CDB]/</replaceable>libcdb.a'</literal></screen> 170 172 171 173 </sect4> … … 193 195 following commands:</para> 194 196 195 <screen><userinput>make</userinput></screen> 197 <screen><userinput>make makefiles CCARGS='-DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \ 198 -DDEF_MANPAGE_DIR=\"/usr/share/man\" <replaceable>[additional args]</replaceable>' \ 199 <replaceable>[AUXLIBS='additonal args']</replaceable> && 200 make</userinput></screen> 196 201 197 202 <para>This package does not come with a test suite.</para> … … 199 204 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 200 205 201 <screen role='root'><userinput>sh postfix-install daemon_directory=/usr/sbin \ 202 manpage_directory=/usr/share/man \ 203 sample_directory=/usr/share/doc/postfix \ 204 -non-interactive</userinput></screen> 206 <screen role='root'><userinput>sh postfix-install -non-interactive</userinput></screen> 205 207 206 208 <para>The final installation step is to install the program's documentation … … 218 220 <title>Command Explanations</title> 219 221 220 <para><command>sh postfix-install ... -non-interactive</command> : This221 keeps the install script from asking any questions, thereby accepting222 default destination directories in all but the three cases explicitly223 mentioned.</para>224 225 222 <para><command>make makefiles</command>: This command rebuilds the 226 223 makefiles throughout the source tree to use the options contained in the 227 224 <envar>CCARGS</envar> and <envar>AUXLIBS</envar> variables.</para> 225 226 <para><command>sh postfix-install -non-interactive</command> : This 227 keeps the install script from asking any questions, thereby accepting 228 default destination directories in all but the two cases mentioned in 229 the 'make makefiles' command.</para> 228 230 229 231 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.