Changeset 681ad68 for server/mail/sendmail/sendmail-config.xml
- Timestamp:
- 09/26/2003 02:51:25 AM (21 years ago)
- 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, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 58bd309a
- Parents:
- 6998c44a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
server/mail/sendmail/sendmail-config.xml
r6998c44a r681ad68 1 1 <sect2> 2 <title>Configuring sendmail</title>2 <title>Configuring <application>sendmail</application></title> 3 3 4 4 <sect3><title>Config files</title> 5 <para><filename>/etc/mail/aliases.db</filename>, 6 <filename>/etc/mail/sendmail.cf</filename>, 7 <filename>/etc/mail/submit.cf</filename> and 8 <filename>/etc/mail/local-host-names</filename></para> 5 <para><filename>/etc/mail/*</filename></para> 9 6 </sect3> 10 7 11 <sect3><title>Configuring sendmail</title> 12 <para><screen><userinput>echo `hostname` > /etc/mail/local-host-names 13 cat > /etc/mail/aliases << "EOF"</userinput> 8 <sect3><title>Configuration Information</title> 9 10 <screen><userinput><command>echo `hostname` > /etc/mail/local-host-names 11 cat > /etc/mail/aliases << "EOF" 14 12 postmaster: root 15 13 MAILER-DAEMON: root 16 <userinput>EOF14 EOF 17 15 cd /etc/mail && 18 16 cp -R /usr/src/sendmail-&sendmail-version;/cf/* . && 19 17 cp -R /usr/src/sendmail-&sendmail-version;/cf/cf/submit.mc . && 20 18 cp -R /usr/src/sendmail-&sendmail-version;/cf/cf/sendmail.mc . && 21 newaliases -v</ userinput></screen></para>19 newaliases -v</command></userinput></screen> 22 20 23 21 <para>To start and stop sendmail on system boot/shutdown create the 24 sendmail boot script with the following commands: 22 sendmail boot script with the following commands:</para> 25 23 26 24 <note><para>The -qNm option, where N is number of minutes, controls 27 how often Sendmail will process the mail queue. A default of 528 minutes is used here. Individual workstation users may want to set25 how often Sendmail will process the mail queue. A default of 5 26 minutes is used here. Individual workstation users may want to set 29 27 this as low as 1 minute, large installations handling more mail will 30 28 want to set it higher.</para></note> 31 29 32 < para><screen><userinput>cat > /etc/rc.d/init.d/sendmail << "EOF"</userinput>30 <screen><userinput><command>cat > /etc/rc.d/init.d/sendmail << "EOF" 33 31 #!/bin/sh 34 32 # Begin $rc_base/init.d/sendmail … … 69 67 70 68 # End $rc_base/init.d/sendmail 71 <userinput>EOF72 chmod 755 /etc/rc.d/init.d/sendmail</ userinput></screen></para>69 EOF 70 chmod 755 /etc/rc.d/init.d/sendmail</command></userinput></screen> 73 71 74 72 <para>Create the run level symlinks with the following commands: 75 73 76 <screen><userinput> cd /etc/rc.d/init.d &&74 <screen><userinput><command>cd /etc/rc.d/init.d && 77 75 ln -sf ../init.d/sendmail ../rc0.d/K25sendmail && 78 76 ln -sf ../init.d/sendmail ../rc1.d/K25sendmail && … … 81 79 ln -sf ../init.d/sendmail ../rc4.d/S35sendmail && 82 80 ln -sf ../init.d/sendmail ../rc5.d/S35sendmail && 83 ln -sf ../init.d/sendmail ../rc6.d/K25sendmail</ userinput></screen></para>81 ln -sf ../init.d/sendmail ../rc6.d/K25sendmail</command></userinput></screen></para> 84 82 </sect3> 85 83
Note:
See TracChangeset
for help on using the changeset viewer.