Changeset c442d19


Ignore:
Timestamp:
09/23/2003 04:38:50 PM (19 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/test-20220226
Children:
9a9a0fe
Parents:
d7c254a
Message:

finish courier

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

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • basicnet/netprogs/ncpfs/ncpfs-config.xml

    rd7c254a rc442d19  
    11<sect2>
    2 <title>Configuring nfs-utils</title>
     2<title>Configuring <application>nfs-utils</application></title>
    33
    44<sect3><title>Config files</title>
     
    99
    1010<para>A config file <filename>~/.nwclient</filename> should be placed
    11 in the home directory of each user that intends to use ncpfs.
    12 The permissions on this file should be set to 600, for obvious security
    13 reasons.  The configuration file should contain a single line
     11in the home directory of each user that intends to use <application>ncpfs
     12</application>. The permissions on this file should be set to 600, for obvious
     13security reasons.  The configuration file should contain a single line
    1414per server that the user will use.  Each line should contain
    1515the server name, the user name, and optionally the password.  Below is a
    1616sample <filename>.nwclient</filename> file.</para>
    1717
    18 <para><screen># Begin example <filename>~/.nwclient</filename> config file
     18<screen><userinput># Begin example <filename>~/.nwclient</filename> config file
    1919
    2020Server1/User1 Password
     
    2222Server2/Guest1 -
    2323
    24 # End example .nwclient config file</screen></para>
     24# End example .nwclient config file</userinput></screen>
    2525
    2626<para>The syntax for the <filename>.nwclient</filename> file is simple,
     
    3030after the username.  If this space is substituted by a tab or multiple
    3131spaces, you will not get the expected results when attempting to use
    32 the ncpfs tools.  If no password is supplied, the client utilities will
    33 ask for a password when it is needed.  If no password is needed, for
    34 instance when using a guest account, a single '-' should be put in
    35 place of a password.</para>
     32the <application>ncpfs</application> tools.  If no password is supplied,
     33the client utilities will ask for a password when it is needed.  If no
     34password is needed, for instance when using a guest account, a single '-'
     35should be put in place of a password.</para>
    3636
    3737<para>It should be noted that the ncpmount is not intended to mount
     
    4141under one mount point uses only one client connection.</para>
    4242
    43 <para>If you need to set up the IPX protocol at boot, you can create the
    44 following scripts.  These scripts assume IPX will be set up on eth0 
     43<para>If you need to set up the <acronym>IPX</acronym> protocol at boot,
     44you can create the following scripts.  These scripts assume <acronym>IPX
     45</acronym> will be set up on <emphasis role="strong">eth0</emphasis> 
    4546and the network frame type is 802.2.  You should confirm that these
    4647are the correct settings and adjust as necessary.</para>
    4748
    48 <para><screen>cat &gt; /etc/sysconfig/network-devices/ifup-ipx0 &lt;&lt; "EOF"
     49<screen><userinput><command>cat &gt; /etc/sysconfig/network-devices/ifup-ipx0 &lt;&lt; "EOF"</command>
    4950#!/bin/sh
    5051# Begin /etc/sysconfig/network-devices/ifup-ipx0
     
    5960
    6061# End /etc/sysconfig/network-devices/ifup-ipx0
    61 EOF
    62 cat &gt; /etc/sysconfig/network-devices/ifdown-ipx0 &lt;&lt; "EOF"
     62<command>EOF
     63cat &gt; /etc/sysconfig/network-devices/ifdown-ipx0 &lt;&lt; "EOF"</command>
    6364#!/bin/sh
    6465# Begin /etc/sysconfig/network-devices/ifdown-ipx0
     
    7374
    7475# End /etc/sysconfig/network-devices/ifdown-ipx0
    75 EOF
     76<command>EOF
    7677echo "ONBOOT=yes" &gt; /etc/sysconfig/network-devices/ifconfig.ipx0
    7778chmod 755 /etc/sysconfig/network-devices/ifup-ipx0
    78 chmod 755 /etc/sysconfig/network-devices/ifdown-ipx0</screen></para>
     79chmod 755 /etc/sysconfig/network-devices/ifdown-ipx0</command></userinput></screen>
    7980
    8081</sect3>
  • basicnet/netprogs/ncpfs/ncpfs-desc.xml

    rd7c254a rc442d19  
    1414nwtrustee2, nwuserlist, amd nwvolinfo</filename>.</para></listitem>
    1515
    16 <listitem><para><emphasis>IPX Interface Utilities:</emphasis>
     16<listitem><para><emphasis><acronym>IPX</acronym> Interface Utilities:</emphasis>
    1717<filename> ipx_cmd, ipx_configure, ipx_interface, ipx_internal_net,
    1818and ipx_route</filename>.</para></listitem>
  • postlfs/config/bootdisk.xml

    rd7c254a rc442d19  
    220220<filename>lost+found</filename> directory, which is not needed because
    221221it is only used by <command>fsck</command>.  Since <command>fsck</command>
    222 will never be run on this file system, it is unneeded.
    223 
    224 <screen><userinput><command>rmdir /mnt/loop1/lost+found/</command></userinput></screen></para>
     222will never be run on this file system, it is unneeded.</para>
     223
     224<screen><userinput><command>rmdir /mnt/loop1/lost+found/</command></userinput></screen>
    225225
    226226<para>Now make a minimal set of directories.</para>
  • postlfs/config/vimrc.xml

    rd7c254a rc442d19  
    3232you do copy anything directly from <filename>/etc/skel</filename>.</para>
    3333
    34 <para><screen>" Begin .vimrc
     34<screen>" Begin .vimrc
    3535
    3636set nocompatible
     
    4545set noexpandtab
    4646
    47 " End .vimrc</screen></para>
     47" End .vimrc</screen>
    4848
    4949<para>A <acronym>FAQ</acronym> on the lfs mailing lists regards the
  • postlfs/security/pam/linux_pam-inst.xml

    rd7c254a rc442d19  
    66running the following commands:</para>
    77
    8 <para><screen><userinput><command>./configure --enable-static-libpam --with-mailspool=/var/mail \
     8<screen><userinput><command>./configure --enable-static-libpam --with-mailspool=/var/mail \
    99--enable-read-both-confs --sysconfdir=/etc &amp;&amp;
    1010make &amp;&amp;
     
    1313ln -sf ../../lib/libpam.so.&Linux_PAM-version; /usr/lib/libpam.so &amp;&amp;
    1414ln -sf ../../lib/libpam_misc.so.&Linux_PAM-version; /usr/lib/libpam_misc.so &amp;&amp;
    15 ln -sf ../../lib/libpamc.so.&Linux_PAM-version; /usr/lib/libpamc.so</command></userinput></screen></para>
     15ln -sf ../../lib/libpamc.so.&Linux_PAM-version; /usr/lib/libpamc.so</command></userinput></screen>
    1616
    1717
  • postlfs/security/shadow.xml

    rd7c254a rc442d19  
    1313<screen><userinput>#MD5_CRYPT_ENAB no</userinput></screen>
    1414to read:
    15 <screen><userinput>MD5_CRYPT_ENAB yes</userinput></screen></para>
    16 
    17 <para>Passwords created after this change will be encrypted using MD5
     15<screen><userinput>MD5_CRYPT_ENAB yes</userinput></screen>
     16Passwords created after this change will be encrypted using MD5
    1817instead of using DES encryption.</para>
    1918
  • postlfs/security/shadow/shadow-inst.xml

    rd7c254a rc442d19  
    33<application><acronym>PAM</acronym></application></title>
    44
    5 <screen>shadow requires:
    6 <xref linkend="Linux_PAM"/></screen>
     5<sect3><title><application>template</application> dependencies</title>
     6<sect4><title>Required</title>
     7<para><xref linkend="Linux_PAM"/></para></sect4>
     8</sect3>
     9</sect2>
     10
     11<sect2>
     12<title>Installation of <application>shadow</application></title>
    713
    814<para>Download the patch for shadow from <ulink url="&patch-root;"/>.</para>
     
    1016<para>Reinstall shadow by running the following commands:</para>
    1117
    12 <para><screen><userinput><command>patch -Np1 -i ../shadow-4.0.3-pamfix-1.patch &amp;&amp;
     18<screen><userinput><command>patch -Np1 -i ../shadow-4.0.3-pamfix-1.patch &amp;&amp;
    1319LDFLAGS="-lpam -lpam_misc" ./configure --prefix=/usr --libdir=/usr/lib \
    1420--enable-shared --with-libpam &amp;&amp;
     
    2127ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so &amp;&amp;
    2228ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so &amp;&amp;
    23 cp debian/securetty /etc/securetty</command></userinput></screen></para>
     29cp debian/securetty /etc/securetty</command></userinput></screen>
    2430
    2531
  • server/mail/courier/courier-config.xml

    rd7c254a rc442d19  
    99
    1010<para>Make the following changes in this file if you are utilizing
    11 <application>MySQL</application>:
     11<application>MySQL</application>:</para>
    1212<screen><userinput>MYSQL_SERVER            localhost
    1313MYSQL_USERNAME          courier
     
    1919MYSQL_CLEAR_PWFIELD     clear
    2020DEFAULT DOMAIN          (your domain)
    21 MYSQL_QUOTA_FIELD       quota</userinput></screen></para>
    22 
    23 
    24 <para>If you utilize <application>PAM</application>:
     21MYSQL_QUOTA_FIELD       quota</userinput></screen>
     22
     23
     24<para>If you utilize <application>PAM</application>:</para>
    2525<screen><userinput><command>cat &gt; /etc/pam.d/esmtp &lt;&lt; "EOF</command>
    2626# Begin /etc/pam.d/esmtp
     
    5858
    5959# End /etc/pam.d/webmail
    60 <command>EOF</command></userinput></screen></para>
     60<command>EOF</command></userinput></screen>
     61
     62<para>This command will create the mysql database for authentication:</para>
     63
     64<screen><userinput><command>mysqladmin -uroot -p{password} create courier-mail</command></userinput></screen>
     65
     66<para>This command will setup the table users for the courier-mail
     67database:</para>
     68
     69<screen><userinput><command>mysql -uroot -p{password} courier-mail
     70
     71        CREATE TABLE users (
     72        id                    char(128) DEFAULT '' NOT NULL,
     73        crypt                 char(128) DEFAULT '' NOT NULL,
     74        clear                 char(128) DEFAULT '' NOT NULL,
     75        name                  char(128) DEFAULT '' NOT NULL,
     76        uid                   int(10) unsigned DEFAULT '65534' NOT NULL,
     77        gid                   int(10) unsigned DEFAULT '65534' NOT NULL,
     78        home                  char(255) DEFAULT '' NOT NULL,
     79        quota                 char(255) DEFAULT '' NOT NULL,
     80        KEY id (id(128))
     81        );</command></userinput></screen>
     82
     83<para>This will add the courier user that we specified earilier in the
     84authmysql file:</para>
     85
     86<screen><userinput><command>mysql -uroot -p{password} mysql
     87
     88grant all privileges on *.* to courier@localhost identified by '{password}' with grant option;</command></userinput></screen>
     89
     90
     91<para><emphasis>General Settings for Mail</emphasis></para>
     92
     93<para>You will need to create the following files with the contents
     94specified.</para>
     95
     96<para><filename>/etc/courier/defaultdomain</filename></para>
     97
     98<screen><userinput><command>cat &gt; /etc/courier/defaultdomain &lt;&lt; "EOF"</command>
     99{yourdomain}
     100<command>EOF</command></userinput></screen>
     101
     102<para><filename>/etc/courier/locals</filename></para>
     103
     104
     105<screen><userinput><command>cat > /etc/courier/locals << "EOF"</command>
     106localhost
     107{yourdomain}
     108.{yourdomain}
     109<command>EOF</command></userinput></screen>
     110
     111<para><filename>/etc/courier/esmtpacceptmailfor</filename></para>
     112
     113
     114<screen><userinput><command>cat &gt; /etc/courier/esmtpacceptmailfor &lt;&lt; "EOF"</command>
     115localhost
     116{yourdomain}
     117.{yourdomain}
     118<command>EOF</command></userinput></screen>
     119
     120<para><filename>/etc/courier/hosteddomains</filename></para>
     121
     122<screen><userinput><command>cat &gt; /etc/courier/hosteddomains &lt;&lt; "EOF"</command>
     123{yourdomain}
     124.{yourdomain}
     125<command>EOF</command></userinput></screen>
     126
     127
     128<para>You will also need to edit the aliases file and change the
     129following entry.</para>
     130
     131
     132<para><filename>/etc/courier/aliases/system</filename></para>
     133
     134<screen><userinput>postmaster: {your adminstrator email}</userinput></screen>
     135
     136<para>If you want to deny access from some hosts from sending mail you
     137will need to edit the <filename>/etc/courier/smtpaccess/default</filename>.</para>
     138
     139<para>After the above steps are completed you will need to run the
     140following commands:</para>
     141
     142<screen><userinput><command>makesmtpaccess
     143makehosteddomains
     144makealiases</command></userinput></screen>
     145
     146<para><emphasis><acronym>SMTP</acronym>/<acronym>SMTMP</acronym>-<acronym>SSL
     147</acronym> Configuration</emphasis></para>
     148
     149<para>This section will enable the <acronym>SMTP</acronym> Server from Courier</para>
     150
     151<para><filename>/etc/courier/esmtpd</filename></para>
     152
     153<screen><userinput>ESMTPDSTART=YES</userinput></screen>
     154
     155<para><filename>/etc/courier/esmtpd-ssl</filename></para>
     156
     157<screen><userinput>ESMTPDSSLSTART=YES</userinput></screen>
     158
     159<para><emphasis><acronym>POP</acronym>3/<acronym>POP</acronym>3-<acronym>SSL
     160</acronym> Configuration</emphasis></para>
     161
     162<para>This section will enable the <acronym>POP3</acronym> Server from
     163Courier</para>
     164
     165
     166<para><filename>/etc/courier/pop3d</filename></para>
     167
     168<screen><userinput>POP3DSTART=YES</userinput></screen>
     169
     170<para><filename>/etc/courier/pop3d-ssl</filename></para>
     171
     172<screen><userinput>POP3DSLLSTART=YES</userinput></screen>
     173
     174<para><emphasis><acronym>IMAP</acronym>/<acronym>IMAP</acronym>-<acronym>SSL
     175</acronym> Configuration</emphasis></para>
     176
     177<para>This section will enable the <acronym>IMAP</acronym> Server from
     178Courier</para>
     179
     180<para><filename>/etc/courier/imapd</filename></para>
     181
     182<screen><userinput>IMAPDSTART=YES</userinput></screen>
     183
     184<para><filename>/etc/courierd/imapd-ssl</filename></para>
     185
     186<screen><userinput>IMAPDSSLSTART=YES</userinput></screen>
     187
     188<para><emphasis>Creating Maildirectories for System Users</emphasis></para>
     189
     190
     191<para>This section will explain on how to create MailDirs for
     192your system users.</para>
     193
     194<screen><userinput><command>cd /home/{username}
     195maildirmake Maildir
     196chown {username}.{username} Maildir -R</command></userinput></screen>
     197
     198<para><emphasis>Setup for Virtual users</emphasis></para>
     199
     200<para>This section will explain how to setup Maildir for your virtual
     201users.</para>
     202
     203<screen><userinput><command>echo "vmailman:x:9000:9000:Virtual Mailman:/home/vmailman:/bin/bash" &gt;&gt; /etc/passwd
     204echo "vmailman:x:9000:" &gt;&gt; /etc/group</command></userinput></screen>
     205
     206<para>Now to setup the maildir for these virutal users.</para>
     207
     208<screen><userinput><command>cd /home/vmailman
     209mkdir {virtual_user}
     210cd {virtual_user}
     211maildirmake Maildir
     212chown vmailman.vmailman Maildir -R</command></userinput></screen>
     213
     214<para>Add the virtual user to the MySQL database. You need to enter at
     215least on version of the password either clear text or encrypted.</para>
     216
     217<screen><userinput><command>mysql -ucourier -p{password} courier-mail
     218
     219insert into users values('{virtual_users}@{domain.com},
     220'{encrypted password or blank}','{clear text password or blank}',
     221'{User's Name}',9000,9000,'{location of Maildir}','{Quota in Bytes'});</command></userinput></screen>
     222
     223<para>example</para>
     224
     225<screen><userinput>insert into users values ('blfsuser@linuxfromscratch.org','
     226','password','BLFS User',9000,9000,'/home/vmailman/blfsuser','');</userinput></screen>
     227
     228<para><emphasis>Setup for Web-based Email</emphasis></para>
     229
     230<para>This section will explain how to setup Courier Web-based email
     231system.</para>
     232
     233<para><emphasis role="strong">Edit note: Remove /usr/libexec with
     234configure flag, should be /usr/sbin. Sync apache directory with apache
     235install for BLFS.</emphasis></para>
     236
     237<para>You will need to copy the file webemail from
     238<filename>/usr/libexec/courier/webmail</filename> to your <filename>cgi-bin
     239</filename> directory of your <application>Apache</application>
     240server.</para>
     241
     242<screen><userinput><command>cp -a /usr/libexec/courier/webmail /var/www/cgi-bin</command></userinput></screen>
     243
     244<para>You will then need to copy the images to a folder under your
     245<filename>htdocs</filename> directory of your
     246<application>Apache</application> server. The directory needs to be named
     247<filename>webmail</filename> or you need to specify it during the configure
     248phase with <command>--enable-imageurl=/url</command>.</para>
     249
     250<screen><userinput><command>cp -a /usr/share/courier/sqwebmail/images /var/www/htdocs/webmail</command></userinput></screen>
     251
     252
    61253</sect3>
    62 
    63254</sect2>
    64255
  • server/mail/courier/courier-exp.xml

    rd7c254a rc442d19  
    22<title>Command explanations</title>
    33
    4 <para><command>COMMAND</command> : This command does something.</para>
     4<para><command>--sysconfdir=/etc/courier</command> : This switch does something.</para>
     5
     6<para><command>--with-piddir=/var/run</command> : This switch does something.</para>
     7
     8<para><command>--libexecdir=/usr/libexec</command> : This switch does something.</para>
     9
     10<para><command>--datadir=/usr/share/courier</command> : This switch does something.</para>
     11
     12<para><command> --localstatedir=/var/lib/courier</command> : This switch does something.</para>
     13
     14<para><command>--disable-root-check</command> : This switch does something.</para>
     15
     16<para><command>--with-db=db</command> : This switch does something.</para>
     17
     18<para><command>--with-mailuser=courier</command> : This switch does something.</para>
     19
     20<para><command>--withmailgroup=courier</command> : This switch does something.</para>
     21
     22<para><command>--enable-workarounds-for-imap-client-bugs</command> : This
     23switch does something.</para>
     24
     25<para><command>--with-ispell=/usr/bin/aspell</command> : This switch does something.</para>
    526
    627</sect2>
Note: See TracChangeset for help on using the changeset viewer.