Ticket #645: BLFS-courier-fixes-1[4].patch

File BLFS-courier-fixes-1[4].patch, 5.3 KB (added by jim@…, 18 years ago)

Courier Update and Patch

  • BLFS/BOOK/server/mail/courier/courier.ent

     
    old new  
    44<!ENTITY courier-exp SYSTEM "courier-exp.xml">
    55<!ENTITY courier-config SYSTEM "courier-config.xml">
    66<!ENTITY courier-desc SYSTEM "courier-desc.xml">
    7 <!ENTITY courier-version "0.43.2">
     7<!ENTITY courier-version "0.45.0">
    88<!ENTITY courier-download-http "http://osdn.dl.sourceforge.net/sourceforge/courier/courier-&courier-version;.tar.bz2">
    99<!ENTITY courier-download-ftp "ftp://ftp.pu.edu.tw/Unix/Mail/maildrop/courier-&courier-version;.tar.bz2">
    10 <!ENTITY courier-size "3.3 MB">
    11 <!ENTITY courier-buildsize "104 MB">
     10<!ENTITY courier-size "4.2 MB">
     11<!ENTITY courier-buildsize "134 MB">
    1212<!ENTITY courier-time "2.79 SBU">
  • BLFS/BOOK/server/mail/courier/courier-config.xml

    old new  
    225225system.</para>
    226226
    227227<para>You will need to copy the file webmail from
    228 <filename>/usr/sbin/courier/webmail/webmail</filename> to your <filename>cgi-bin
     228<filename>/usr/lib/courier/courier/webmail/webmail</filename> to your <filename>cgi-bin
    229229</filename> directory of your <application>Apache</application>
    230230server.</para>
    231231
    232 <screen><userinput><command>cp -a /usr/sbin/courier/webmail/webmail /var/www/cgi-bin</command></userinput></screen>
     232<screen><userinput><command>cp -a /usr/lib/courier/courier/webmail/webmail /var/www/cgi-bin</command></userinput></screen>
    233233
    234234<para>You will then need to copy the images to a directory under your
    235235<filename>htdocs</filename> directory of your
     
    244244system.</para>
    245245
    246246<para>You will need to copy the file <filename>webadmin</filename> from
    247 <filename class="directory">/usr/sbin/courier/webmail/webmin</filename>
     247<filename class="directory">/usr/sbin/courier/webmail/webadmin</filename>
    248248to your <filename class="directory">cgi-bin </filename> directory of your
    249249<application>Apache</application> server.</para>
    250250
    251 <screen><userinput><command>cp -a /usr/sbin/courier/webmail/webadmin /var/www/cgi-bin</command></userinput></screen>
     251<screen><userinput><command>cp -a /usr/lib/courier/courier/webmail/webadmin /var/www/cgi-bin</command></userinput></screen>
    252252
    253253<para><filename>/etc/courier/webadmin/password</filename></para>
    254254
  • BLFS/BOOK/server/mail/courier/courier-inst.xml

    old new  
    1212<para>Install <application>courier</application> by running the following commands:</para>
    1313
    1414<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc/courier --with-piddir=/var/run \
    15 --libexecdir=/usr/sbin --datadir=/usr/share/courier \
    16 --localstatedir=/var/spool/courier --disable-root-check --with-db=gdbm \
     15--libexecdir=/usr/lib/courier  --datadir=/usr/share/courier \
     16--localstatedir=/var/lib/courier --disable-root-check --with-db=gdbm \
     17--with-paranoid-smtpext --disable-autorenamesent \
    1718--with-mailuser=courier --with-mailgroup=courier \
    1819--enable-workarounds-for-imap-client-bugs \
    19 --with-ispell=/usr/bin/aspell &amp;&amp;
     20--with-ispell=/usr/bin/aspell --enable-mimetypes=/etc/apache/mime.types &amp;&amp;
    2021make &amp;&amp;
    2122make install &amp;&amp;
    2223make install-configure</command></userinput></screen>
    2324
    2425<!-- # Note - You may receive an error saying that the mime.types file
    25 could not be found.  This can easily be corrected by adding
     26could not be found.  This can easily be corrected by changing
    2627-enable-mimetypes=(location of mime.types file)  -->
    2728
    2829
  • BLFS/BOOK/server/mail/courier/courier-exp.xml

    old new  
    1010<filename>PID</filename> files are stored
    1111when <application>Courier</application> is active.</para>
    1212
    13 <para><parameter>--libexecdir=/usr/sbin</parameter>: libexecdir contains
     13<para><parameter>--libexecdir=/usr/lib/courier</parameter>: libexecdir contains
    1414programs and libraries that cannot be directly executed from the command-line.
    1515</para>
    1616
     
    2323defaults to the subdirectory <filename class="directory">var</filename> in the
    2424directory specified by the <option>--prefix</option> option.</para>
    2525
     26<para><option>--with-paranoid-smtpext</option>:be paranoid when negotiating Courier-specific
     27ESMTP extensions with remote servers. The <application>Courier</application> mail server
     28defines and implements certain experimental ESMTP extensions: XVERP and XEXDATA. Problems may
     29result in the event that someone else uses the same name to implement some other extension.
     30If this option is specified, <application>Courier's</application> ESMTP server will also
     31advertise a dummy ESMTP capability called XCOURIEREXTENSIONS, and will not recognize any
     32Courier-specific extensions unless the remote mail server also advertises this dummy ESMTP
     33capability.</para>
     34
     35<para><option>--disable-autorenamesent</option>: do not rename the Sent folder every month.
     36This option can also be controlled by the SQWEBMAIL_AUTORENAMESENT environment variable.</para>
     37
    2638<para><option>--disable-root-check</option>: Allows
    2739<application>Courier</application> to be built as the root user.</para>
    2840