Changeset 58f0b91 for server/mail


Ignore:
Timestamp:
01/25/2013 06:12:00 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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:
efe28817
Parents:
c3c56b2
Message:

Updated postfix, sharutils and isc dhcp. Updated postfix bootscript to reflect latest changes to postfix instructions.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10977 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/mail/postfix.xml

    rc3c56b2 r58f0b91  
    77  <!ENTITY postfix-download-http " ">
    88  <!ENTITY postfix-download-ftp
    9   "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-&postfix-version;.tar.gz">
    10   <!ENTITY postfix-md5sum "230bc3c00c051946eccd850058d75f6c">
    11   <!ENTITY postfix-size "3.6 MB">
    12   <!ENTITY postfix-buildsize "126 MB">
    13   <!ENTITY postfix-time "0.4 SBU">
     9           "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-&postfix-version;.tar.gz">
     10  <!ENTITY postfix-md5sum        "588e1c54588e6da0c4b3436f1c2c2fb3">
     11  <!ENTITY postfix-size          "3.6 MB">
     12  <!ENTITY postfix-buildsize     "185 MB">
     13  <!ENTITY postfix-time          "0.5 SBU">
    1414]>
    1515
     
    8282    </para>
    8383
     84    <bridgehead renderas="sect4">Recommended</bridgehead>
     85    <para role="recommended">
     86      <xref linkend="cyrus-sasl"/> and
     87      <xref linkend="openssl"/>
     88    </para>
     89
    8490    <bridgehead renderas="sect4">Optional</bridgehead>
    8591    <para role="optional">
     92      <xref linkend="mysql"/>,
     93      <xref linkend="openldap"/>,
    8694      <xref linkend="pcre"/>,
    87       <xref linkend="openssl"/>,
    88       <xref linkend="openldap"/>,
    89       <xref linkend="cyrus-sasl"/>,
    90       <xref linkend="sqlite"/>,
    91       <xref linkend="mysql"/>,
    92       <xref linkend="postgresql"/>, and
    93       <ulink url="http://cr.yp.to/cdb.html">cdb</ulink> or
     95      <xref linkend="postgresql"/>,
     96      <xref linkend="sqlite"/> and
     97      <ulink url="http://cr.yp.to/cdb.html">CDB</ulink> or
    9498      <ulink url="http://www.corpit.ru/mjt/tinycdb.html">TinyCDB</ulink>
    9599    </para>
    96100
    97101    <para>
    98       Note that <application>Sqlite</application>,
    99       <application>Mysql</application>, <application>Postgresql</application>
    100       and <application>cdb</application> are only useful if there is a known
     102      Note that <application>SQLite</application>,
     103      <application>MySQL</application>, <application>PostgreSQL</application>
     104      and <application>CDB</application> are only useful if there is a known
    101105      need for them.
    102106    </para>
     
    112116    <sect3>
    113117      <title>Adding Users and Groups</title>
     118
    114119      <para>
    115120        Before you compile the program, you need to create users and groups that
     
    121126<screen role="root"><userinput>groupadd -g 32 postfix &amp;&amp;
    122127groupadd -g 33 postdrop &amp;&amp;
    123 useradd -c "Postfix Daemon User" -d /dev/null -g postfix \
    124     -s /bin/false -u 32 postfix &amp;&amp;
     128useradd -c "Postfix Daemon User" -d /var/spool/postfix -g postfix \
     129        -s /bin/false -u 32 postfix &amp;&amp;
    125130chown -v postfix:postfix /var/mail</userinput></screen>
    126131    </sect3>
     
    152157      </para>
    153158
    154 <!--
    155       <para>
    156         Here is an example that combines the TLS and
    157       <application>Cyrus-SASL</application> arguments:
    158         </para>
    159 
    160 <screen><userinput>make makefiles \
    161 CCARGS='-DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL \
    162     -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \
    163     -DDEF_MANPAGE_DIR=\"/usr/share/man\" \
    164     -DDEF_HTML_DIR=\"/usr/share/doc/postfix-&postfix-version;/html\" \
    165     -DDEF_README_DIR=\"/usr/share/doc/postfix-&postfix-version;/README\" \
    166     -I/usr/include/openssl -I/usr/include/sasl' \
    167     AUXLIBS='-lssl -lcrypto -lsasl2'</userinput></screen>
    168 -->
    169 
    170 <!-- it picks up pcre automatically now
    171       <sect4>
    172         <title>Perl compatible regular expressions</title>
    173 
    174         <para>
    175           To use <application>PCRE</application> with
    176           <application>Postfix</application>, use the following argument:
    177         </para>
    178 
    179 <screen><literal>CCARGS='-DHAS_PCRE'</literal></screen>
    180       </sect4>
    181 -->
    182 
    183159      <sect4>
    184160        <title>Cyrus-SASL</title>
     
    191167<screen><literal>CCARGS='-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl'
    192168AUXLIBS='-lsasl2'</literal></screen>
     169
    193170      </sect4>
    194171
     
    203180<screen><literal>CCARGS='-DHAS_LDAP'
    204181AUXLIBS='-lldap -llber'</literal></screen>
     182
    205183      </sect4>
    206184
     
    215193<screen><literal>CCARGS='-DHAS_SQLITE'
    216194AUXLIBS='-lsqlite3 -lpthread'</literal></screen>
     195
    217196      </sect4>
    218197
     
    227206<screen><literal>CCARGS='-DHAS_MYSQL -I/usr/include/mysql'
    228207AUXLIBS='-lmysqlclient -lz -lm'</literal></screen>
     208
    229209      </sect4>
    230210
     
    239219<screen><literal>CCARGS='-DHAS_PGSQL -I/usr/include/postgresql'
    240220AUXLIBS='-lpq -lz -lm'</literal></screen>
     221
    241222      </sect4>
    242223
     
    252233<screen><literal>CCARGS='-DHAS_CDB'
    253234AUXLIBS='<replaceable>&lt;/path/to/CDB&gt;</replaceable>/libcdb.a'</literal></screen>
     235
    254236      </sect4>
    255237
     
    265247AUXLIBS='-lssl -lcrypto'</literal></screen>
    266248      </sect4>
     249
    267250    </sect3>
    268251
     
    271254
    272255      <para>
    273         If you have <application>OpenSSL</application> installed, install
     256        If you have <application>Cyrus SASL</application> and
     257        <application>OpenSSL</application> installed, install
    274258        <application>Postfix</application> by running the following commands:
    275259      </para>
    276260
    277 <screen><userinput>make CCARGS="-DUSE_TLS -I/usr/include/openssl/ -DNO_NIS" \
    278      AUXLIBS="-lssl -lcrypto"                            \
     261<screen><userinput>make CCARGS="-DNO_NIS -DUSE_TLS -I/usr/include/openssl/            \
     262             -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl" \
     263     AUXLIBS="-lssl -lcrypto -lsasl2"                              \
    279264     makefiles &amp;&amp;
    280265make</userinput></screen>
     
    292277
    293278<screen role="root"><userinput>sh postfix-install -non-interactive \
    294   manpage_directory=/usr/share/man \
    295   html_directory=/usr/share/doc/postfix-&postfix-version;/html \
    296   readme_directory=/usr/share/doc/postfix-&postfix-version;/readme</userinput></screen>
     279   daemon_directory=/usr/lib/postfix \
     280   manpage_directory=/usr/share/man \
     281   html_directory=/usr/share/doc/postfix-&postfix-version;/html \
     282   readme_directory=/usr/share/doc/postfix-&postfix-version;/readme</userinput></screen>
     283
    297284    </sect3>
     285
    298286  </sect2>
    299287
     
    309297    <para>
    310298      <parameter>-DNO_NIS</parameter>: This option disables building Network
    311       Information Service/Yellow Pages support. The RPC implementation in glibc
     299      Information Service/Yellow Pages support. The RPC implementation in Glibc
    312300      (on which NIS/YP depends) is deprecated.
    313301    </para>
     
    320308      options are not set then the documentation will not be installed.
    321309    </para>
     310
    322311  </sect2>
    323312
     
    383372      </note>
    384373
    385       <note><para><application>Postfix</application> can also be set up to
    386       run in a chroot jail.  See the file in the source
    387       <filename>examples/chroot-setup/LINUX2</filename> for details.</para></note>
     374      <note>
     375        <para>
     376          <application>Postfix</application> can also be set up to
     377          run in a chroot jail. See the file in the source
     378          <filename>examples/chroot-setup/LINUX2</filename> for details.
     379        </para>
     380      </note>
    388381
    389382      <para>
     
    405398<screen role="root"><userinput>/usr/sbin/postfix check &amp;&amp;
    406399/usr/sbin/postfix start</userinput></screen>
     400
    407401    </sect3>
    408402
     
    421415
    422416<screen role="root"><userinput>make install-postfix</userinput></screen>
     417
    423418    </sect3>
     419
    424420  </sect2>
    425421
     
    429425    <segmentedlist>
    430426      <segtitle>Installed Programs</segtitle>
     427      <segtitle>Installed Libraries</segtitle>
    431428      <segtitle>Installed Directories</segtitle>
    432429
     
    435432          mailq, newaliases, postaliases, postcat, postconf, postdrop, postfix,
    436433          postkick, postlock, postlog, postmap, postmulti, postqueue, postsuper
    437           and sendmail.
     434          and sendmail
    438435        </seg>
    439436        <seg>
    440           /etc/postfix, /usr/libexec/postfix, /var/lib/postfix,
    441           /var/spool/postfix and /usr/share/doc/postfix-&postfix-version;
     437          None
     438        </seg>
     439        <seg>
     440          /etc/postfix,
     441          /usr/lib/postfix,
     442          /usr/share/doc/postfix-&postfix-version;,
     443          /var/lib/postfix and
     444          /var/spool/postfix
    442445        </seg>
    443446      </seglistitem>
     
    607610        <listitem>
    608611          <para>
    609         The <application>Postfix</application> user interface for
    610           queue management.
    611         </para>
     612            The <application>Postfix</application> user interface for
     613            queue management.
     614          </para>
    612615          <indexterm zone="postfix postqueue">
    613616            <primary sortas="b-postqueue">postqueue</primary>
     
    620623        <listitem>
    621624          <para>
    622         The <application>Postfix</application> user interface for
    623           superuser queue management.
    624         </para>
     625            The <application>Postfix</application> user interface for
     626            superuser queue management.
     627          </para>
    625628          <indexterm zone="postfix postsuper">
    626629            <primary sortas="b-postsuper">postsuper</primary>
     
    641644        </listitem>
    642645      </varlistentry>
     646
    643647    </variablelist>
     648
    644649  </sect2>
     650
    645651</sect1>
Note: See TracChangeset for help on using the changeset viewer.