glfs/server/mail/sendmail/sendmail-inst.xml

30 lines
796 B
XML
Raw Normal View History

<sect2>
<title>Installation of sendmail</title>
<para>Before building sendmail, we need to create users, groups and
directories that sendmail uses with the following commands:</para>
<para><screen><userinput>
groupadd -g 18 smmsp &amp;&amp;
groupadd -g 19 mail &amp;&amp;
useradd -g smmsp -G mail -u 18 smmsp &amp;&amp;
chmod 1777 /tmp &amp;&amp;
chmod 1777 /var/mail &amp;&amp;
mkdir /var/spool/mqueue
</userinput></screen></para>
<para>Install sendmail with the following commands:</para>
<para><screen><userinput>
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
</userinput></screen></para>
</sect2>