mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 04:52:12 +08:00
2f473b244e
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1880 af4574ff-66df-0310-9fd7-8a98e5e911e0
32 lines
1.3 KiB
XML
32 lines
1.3 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 &&
|
|
useradd -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier</command></userinput></screen>
|
|
|
|
|
|
<para>Install <application>courier</application> by running the following commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc/courier --with-piddir=/var/run \
|
|
--libexecdir=/usr/lib/courier --datadir=/usr/share/courier \
|
|
--localstatedir=/var/lib/courier --disable-root-check --with-db=gdbm \
|
|
--with-paranoid-smtpext --disable-autorenamesent \
|
|
--with-mailuser=courier --with-mailgroup=courier \
|
|
--enable-workarounds-for-imap-client-bugs \
|
|
--with-ispell=/usr/bin/aspell --enable-mimetypes=/etc/apache/mime.types &&
|
|
make &&
|
|
make install &&
|
|
make install-configure</command></userinput></screen>
|
|
|
|
<!-- # Note - You may receive an error saying that the mime.types file
|
|
could not be found. This can easily be corrected by changing
|
|
-enable-mimetypes=(location of mime.types file) -->
|
|
|
|
|
|
</sect2>
|
|
|