Changeset f7f0d44 for server/mail/qmail


Ignore:
Timestamp:
08/26/2002 10:23:32 PM (22 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.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, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, v1_0, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
f3d2f8b
Parents:
fe8b8e9
Message:

editing cleanup in mail

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

Location:
server/mail/qmail
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • server/mail/qmail/qmail-config.xml

    rfe8b8e9 rf7f0d44  
    1212tcp-env /var/qmail/bin/qmail-smtpd" >> /etc/inetd.conf
    1313</userinput></screen></para>
    14 <para>Add:
    15 <userinput>sh -cf '/var/qmail/rc &'</userinput>
    16 to your boot scripts, so that the qmail daemons are restarted whenever
    17 your system reboots. Make sure you include the &.</para>
     14
     15<para>To automate the running of qmail, use following command to
     16create the init.d script:</para>
     17
     18<para><screen><userinput>
     19cat &gt; /etc/rc.d/init.d/qmail &lt;&lt; "EOF"
     20#!/bin/sh
     21# Begin $rc_base/init.d/qmail
     22
     23# Based on sysklogd script from LFS-3.1 and earlier.
     24# Rewritten by Gerard Beekmans  - gerard@linuxfromscratch.org
     25
     26source /etc/sysconfig/rc
     27source $rc_functions
     28
     29case "$1" in
     30
     31        start)
     32        echo "Starting Qmail..."
     33        /var/qmail/rc &
     34        ;;
     35
     36        stop)
     37        echo "Stopping Qmail..."
     38        killall qmail-send
     39        ;;
     40               
     41        restart)
     42        $0 stop
     43        sleep 1
     44        $0 start
     45        ;;
     46
     47        *)
     48        echo "Usage: $0 {start|stop|restart}"
     49        exit 1
     50        ;;
     51esac
     52
     53# End $rc_base/init.d/qmail
     54EOF
     55chmod 755 /etc/rc.d/init.d/qmail</userinput></screen></para>
     56
     57<para>Create the symbolic links to this file in the relevant rc.d directory with the following commands:
     58
     59<screen><userinput>cd /etc/rc.d/init.d &amp;&amp;
     60ln -sf ../init.d/qmail ../rc0.d/K25qmail &amp;&amp;
     61ln -sf ../init.d/qmail ../rc1.d/K25qmail &amp;&amp;
     62ln -sf ../init.d/qmail ../rc2.d/K25qmail &amp;&amp;
     63ln -sf ../init.d/qmail ../rc3.d/S35qmail &amp;&amp;
     64ln -sf ../init.d/qmail ../rc4.d/S35qmail &amp;&amp;
     65ln -sf ../init.d/qmail ../rc5.d/S35qmail &amp;&amp;
     66ln -sf ../init.d/qmail ../rc6.d/K25qmail</userinput></screen></para>
     67
    1868</sect3>
    1969
  • server/mail/qmail/qmail-intro.xml

    rfe8b8e9 rf7f0d44  
    22<title>Introduction to qmail</title>
    33
    4 <screen>Download location (FTP):       <ulink url="&qmail-download-ftp;"/>
     4<screen>Download location (HTTP):       <ulink url="&qmail-download-http;"/>
     5Download location (FTP):        <ulink url="&qmail-download-ftp;"/>
    56Version used:                   &qmail-version;
    67Package size:                   &qmail-size;
Note: See TracChangeset for help on using the changeset viewer.