glfs/server/mail/sendmail/sendmail-inst.xml
Igor Živković 681ad689d3 updated to sendmail-8.12.10
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1198 af4574ff-66df-0310-9fd7-8a98e5e911e0
2003-09-26 02:51:25 +00:00

34 lines
1.0 KiB
XML

<sect2>
<title>Installation of <application>sendmail</application></title>
<para>Before building <application>sendmail</application>, we need to create users, groups and
directories that sendmail uses with the following commands:</para>
<screen><userinput><command>groupadd smmsp &amp;&amp;
groupadd mail &amp;&amp;
useradd -g smmsp -G mail smmsp &amp;&amp;
chmod 1777 /tmp &amp;&amp;
chmod 1777 /var/mail &amp;&amp;
mkdir /var/spool/mqueue</command></userinput></screen>
<para>Install <application>sendmail</application> with the following commands:</para>
<screen><userinput><command>cat &gt; devtools/Site/site.config.m4 &lt;&lt; "EOF"
define(`confMANGRP',`root')
define(`confMANOWN',`root')
define(`confSBINGRP',`root')
define(`confUBINGRP',`root')
define(`confUBINOWN',`root')
EOF
cd sendmail &amp;&amp;
sh Build &amp;&amp;
cd ../cf/cf &amp;&amp;
cp generic-linux.mc sendmail.mc &amp;&amp;
mkdir /etc/mail &amp;&amp;
sh Build sendmail.mc &amp;&amp;
sh Build install-cf &amp;&amp;
cd ../../ &amp;&amp;
sh Build install</command></userinput></screen>
</sect2>