glfs/server/mail/courier/courier-inst.xml
Igor Živković 7283ae5561 updated to courier-0.45.4
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1975 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-04-11 00:14:37 +00:00

41 lines
1.8 KiB
XML

<sect2>
<title>Installation of <application>Courier</application></title>
<para> Before you compile the program, you need to create users and groups that
will be expected to be in place when the install script executes. Add the users
and groups with the following commands:</para>
<screen><userinput><command>groupadd courier &amp;&amp;
useradd -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier</command></userinput></screen>
<para> You also need to create a bin user. If you already have a user named bin
this step can be safely ignored.</para>
<screen><userinput><command>useradd -c 'bin' -d /dev/null -g bin -u 1 bin</command></userinput></screen>
<para>This creates a
<filename class="directory">/var/run/courier</filename> directory where
all the <application>Courier</application> <acronym>MTA</acronym> pid
files will exist. This will allow <filename>courierfilter.pid</filename>
to be created. Without the <command>courierfilter</command> running the
<application>Courier</application> MTA will not work. Issue the
following commands to create
<filename class="directory">/var/run/courier</filename>:</para>
<screen><userinput><command>mkdir /var/run/courier &amp&amp;
chown courier:courier /var/run/courier</command></userinput></screen>
<para>Install <application>courier</application> by running the following commands:</para>
<screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/lib/courier \
--datadir=/usr/share/courier --sysconfdir=/etc/courier \
--localstatedir=/var/lib/courier --with-piddir=/var/run/courier \
--disable-root-check --with-mailuser=courier --with-mailgroup=courier \
--with-paranoid-smtpext --disable-autorenamesent \
--enable-workarounds-for-imap-client-bugs &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
make install-configure</command></userinput></screen>
</sect2>