Ticket #645: BOOK-courier-updates-1[1].patch

File BOOK-courier-updates-1[1].patch, 2.8 KB (added by jim@…, 20 years ago)

Updated Patch for Courier

  • 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.45.1">
     7<!ENTITY courier-version "0.45.2">
    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">
    1010<!ENTITY courier-size "4.2 MB">
  • BOOK/server/mail/courier/courier-exp.xml

    old new  
    55directory where <application>Courier</application>'s configuration
    66files are installed.</para>
    77
    8 <para><parameter>--with-piddir=/var/run</parameter>: Specifies the
     8<para><parameter>--with-piddir=/var/run/courier</parameter>: Specifies the
    99directory where <application>Courier</application>'s
    1010<filename>PID</filename> files are stored
    1111when <application>Courier</application> is active.</para>
  • BOOK/server/mail/courier/courier-inst.xml

    old new  
    66and groups with the following commands:</para>
    77
    88<screen><userinput><command>groupadd courier &amp;&amp;
    9 useradd -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier</command></userinput></screen>
     9useradd -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier
     10</command></userinput></screen>
    1011
     12<para> You also need to create a bin user. If you already have a user named bin
     13this step can be safely ignored.</para>
     14
     15<screen><userinput><command>echo "bin:x:1:1:bin:/dev/null:/bin/bash" >> /etc/passwd
     16</command></userinput></screen>
     17
     18<para> This creates a /var/run/courier where all the courier mta pid files will exist.
     19This will allow courierfilter.pid to be created. Without the courierfilter running the
     20courier-mta will not work. Issue the following commands to create /var/run/courier</para>
     21
     22<screen><userinput><command>mkdir /var/run/courier &amp&amp;
     23chown courier:courier /var/run/courier</command></userinput></screen>
    1124
    1225<para>Install <application>courier</application> by running the following commands:</para>
    1326
    14 <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc/courier --with-piddir=/var/run \
     27<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc/courier --with-piddir=/var/run/courier \
    1528--libexecdir=/usr/lib/courier  --datadir=/usr/share/courier \
    1629--localstatedir=/var/lib/courier --disable-root-check --with-db=gdbm \
    1730--with-paranoid-smtpext --disable-autorenamesent \