source: server/mail/postfix/postfix-inst.xml@ 25357c89

initial-import reorg
Last change on this file since 25357c89 was f45b1953, checked in by Mark Hymers <markh@…>, 22 years ago

Initial revision

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 1.4 KB
Line 
1<sect2>
2<title>Installation of postfix</title>
3
4<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>
5
6<para><screen><userinput>groupadd postfix &amp;&amp;
7groupadd postdrop &amp;&amp;
8groupadd -g 65534 nogroup &amp;&amp;
9useradd -c postfix -d /dev/null -g postfix -s /bin/false postfix &amp;&amp;
10useradd -c nobody -d /home -g nogroup -s /bin/bash -u 65534 nobody &amp;&amp;
11chown postfix:postfix /var/mail</userinput></screen></para>
12
13<para>Install postfix by running the following commands:</para>
14
15<para><screen><userinput>make &amp;&amp;
16make install</userinput></screen></para>
17
18<para>The install script will enter an interactive stage with questions in the form of '*_directory:[default]input'. Defaults can be accepted in all but three cases. The following shows the three cases and the modified response.</para>
19
20<para><screen><userinput>daemon_directory:[/usr/libexec/postfix]/usr/sbin
21manpage_directory:[/usr/local/man]/usr/share/man
22sample_directory:[/etc/postfix]/usr/share/doc/postfix</userinput></screen></para>
23
24<para>The final installation step is to install the program's documentation with this command:</para>
25
26<para><screen><userinput>cp -rf html/* /usr/share/doc/postfix</userinput></screen></para>
27
28</sect2>
29
Note: See TracBrowser for help on using the repository browser.