Changeset dd9aab33


Ignore:
Timestamp:
10/22/2021 10:17:02 PM (3 years ago)
Author:
Tim Tassonis <stuff@…>
Branches:
11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
c09fd0ab
Parents:
3713bc71
Message:

Document and add patch for PAM support to exim-4.95.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r3713bc71 rdd9aab33  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[timtas] - Document and add patch for PAM support to exim-4.95. Fixes
     49          <ulink url="&blfs-ticket-root;15624">#15624</ulink>.</para>
     50        </listitem>
     51        <listitem>
    4852          <para>[pierre] - Change the download location for upower, so that
    4953          it is not needed to run autogen.sh. Fixes
  • server/mail/exim.xml

    r3713bc71 rdd9aab33  
    8383          shipped with the sources) can be downloaded by following the links
    8484          shown at <ulink url="http://exim.org/docs.html"/>.
     85        </para>
     86      </listitem>
     87      <listitem>
     88        <para>
     89          Required patch when building with <application>PAM</application> support:
     90          <ulink url="&patch-root;/exim-&exim-version;-call_pam-1.patch"/>
    8591        </para>
    8692      </listitem>
     
    132138
    133139    <para>
    134       Install <application>Exim</application> with the following commands:
     140      If you want to build with <application>PAM</application> support, apply the following patch:
     141    </para>
     142
     143<screen><userinput>patch -Np2 -i ../exim-&exim-version;-call_pam-1-1.patch</userinput></screen>
     144
     145    <para>
     146      Configure <application>Exim</application> with the following commands:
    135147    </para>
    136148
     
    143155
    144156printf "USE_GDBM = yes\nDBMLIB = -lgdbm\n" >> Local/Makefile &amp;&amp;
    145 make</userinput></screen>
     157</userinput></screen>
     158
     159    <para>
     160      If you want to add <application>Linux PAM</application> support, also run the following commands:
     161    </para>
     162
     163<screen><userinput>sed -i '/# SUPPORT_PAM=yes/s,^#,,' Local/Makefile
     164echo "EXTRALIBS=-lpam" >> Local/Makefile
     165</userinput></screen>
     166
     167    <para>
     168      Build <application>Exim</application> with the following command:
     169    </para>
     170
     171<screen><userinput>make</userinput></screen>
     172
    146173
    147174    <para>
     
    399426        desires.
    400427      </para>
     428    </sect3>
     429
     430    <sect3>
     431      <title>Linux PAM Configuration</title>
     432
     433      <para>
     434        If you have built <application>Exim</application> with
     435        <application>Linux PAM</application> support, you need to create a
     436        <application>PAM</application> configuration file to get it working
     437        correctly with BLFS.
     438      </para>
     439
     440      <para>
     441        Issue the following command as the <systemitem
     442        class="username">root</systemitem> user to create the configuration
     443        file for <application>Linux PAM</application>:
     444      </para>
     445
     446<screen role="root"><userinput>cat &gt; /etc/pam.d/exim &lt;&lt; "EOF"
     447<literal># Begin /etc/pam.d/exim
     448
     449auth    include system-auth
     450account include system-account
     451session include system-session
     452
     453# End /etc/pam.d/exim</literal>
     454EOF</userinput></screen>
    401455
    402456    </sect3>
Note: See TracChangeset for help on using the changeset viewer.