Ticket #645: BOOK-courier-updates-1[1].patch
File BOOK-courier-updates-1[1].patch, 2.8 KB (added by , 20 years ago) |
---|
-
BOOK/server/mail/courier/courier.ent
old new 4 4 <!ENTITY courier-exp SYSTEM "courier-exp.xml"> 5 5 <!ENTITY courier-config SYSTEM "courier-config.xml"> 6 6 <!ENTITY courier-desc SYSTEM "courier-desc.xml"> 7 <!ENTITY courier-version "0.45. 1">7 <!ENTITY courier-version "0.45.2"> 8 8 <!ENTITY courier-download-http "http://osdn.dl.sourceforge.net/sourceforge/courier/courier-&courier-version;.tar.bz2"> 9 9 <!ENTITY courier-download-ftp "ftp://ftp.pu.edu.tw/Unix/Mail/maildrop/courier-&courier-version;.tar.bz2"> 10 10 <!ENTITY courier-size "4.2 MB"> -
BOOK/server/mail/courier/courier-exp.xml
old new 5 5 directory where <application>Courier</application>'s configuration 6 6 files are installed.</para> 7 7 8 <para><parameter>--with-piddir=/var/run </parameter>: Specifies the8 <para><parameter>--with-piddir=/var/run/courier</parameter>: Specifies the 9 9 directory where <application>Courier</application>'s 10 10 <filename>PID</filename> files are stored 11 11 when <application>Courier</application> is active.</para> -
BOOK/server/mail/courier/courier-inst.xml
old new 6 6 and groups with the following commands:</para> 7 7 8 8 <screen><userinput><command>groupadd courier && 9 useradd -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier</command></userinput></screen> 9 useradd -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier 10 </command></userinput></screen> 10 11 12 <para> You also need to create a bin user. If you already have a user named bin 13 this 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. 19 This will allow courierfilter.pid to be created. Without the courierfilter running the 20 courier-mta will not work. Issue the following commands to create /var/run/courier</para> 21 22 <screen><userinput><command>mkdir /var/run/courier && 23 chown courier:courier /var/run/courier</command></userinput></screen> 11 24 12 25 <para>Install <application>courier</application> by running the following commands:</para> 13 26 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 \ 15 28 --libexecdir=/usr/lib/courier --datadir=/usr/share/courier \ 16 29 --localstatedir=/var/lib/courier --disable-root-check --with-db=gdbm \ 17 30 --with-paranoid-smtpext --disable-autorenamesent \