Changeset 7319b78 for server/mail
- Timestamp:
- 02/01/2003 04:51:51 PM (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, 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:
- 123c844
- Parents:
- 9a88a3b9
- Location:
- server/mail
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
server/mail/exim/exim-config.xml
r9a88a3b9 r7319b78 9 9 <para>Create the exim configuration files with the following commands: 10 10 </para> 11 <para><screen><userinput> 12 cat >> /etc/aliases << "EOF" 11 <para><screen><userinput>cat >> /etc/aliases << "EOF" 13 12 postmaster: root 14 13 MAILER-DAEMON: root 15 14 EOF 16 15 exim -v -bi 17 /usr/sbin/exim -bd -q1m 18 </userinput></screen></para> 16 /usr/sbin/exim -bd -q1m</userinput></screen></para> 17 19 18 <note><para>To protect an existing <filename>/etc/aliases</filename> 20 19 file, we will append these aliases to it if it exists. This file -
server/mail/exim/exim-inst.xml
r9a88a3b9 r7319b78 4 4 <para>Before building exim, we need to create a user and group for 5 5 exim with the following commands:</para> 6 <para><screen><userinput> 7 groupadd exim 8 useradd -g exim exim 9 </userinput></screen></para> 6 <para><screen><userinput>groupadd exim 7 useradd -g exim exim</userinput></screen></para> 10 8 11 9 <para>Install exim with the following commands:</para> 12 10 13 <para><screen><userinput> 14 sed -e 's/^BIN_DIR.*$/BIN_DIRECTORY=\/usr\/sbin/' src/EDITME | \ 11 <para><screen><userinput>sed -e 's/^BIN_DIR.*$/BIN_DIRECTORY=\/usr\/sbin/' src/EDITME | \ 15 12 sed -e 's/^CONF.*$/CONFIGURE_FILE=\/etc\/exim.conf/' | \ 16 13 sed -e 's/^EXIM_USER.*$/EXIM_USER=exim/' | \ … … 18 15 make && 19 16 make install && 20 ln -s /usr/sbin/exim /usr/sbin/sendmail 21 </userinput></screen></para> 17 ln -s /usr/sbin/exim /usr/sbin/sendmail</userinput></screen></para> 22 18 </sect2> 23 19 -
server/mail/qmail/qmail-config.xml
r9a88a3b9 r7319b78 11 11 entry to <filename>/etc/inetd.conf</filename>: </para> 12 12 13 <para><screen><userinput> 14 echo "smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env \ 15 tcp-env /var/qmail/bin/qmail-smtpd" >> /etc/inetd.conf 16 </userinput></screen></para> 13 <para><screen><userinput>echo "smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env \ 14 tcp-env /var/qmail/bin/qmail-smtpd" >> /etc/inetd.conf</userinput></screen></para> 17 15 18 16 <para>If xinetd is used, the following command will add the qmaild 19 17 entry to <filename>/etc/xinetd.conf</filename>: </para> 20 18 21 <para><screen><userinput> 22 cat >> /etc/xinetd.conf << "EOF" 19 <para><screen><userinput>cat >> /etc/xinetd.conf << "EOF" 23 20 service smtp 24 21 { … … 35 32 log_on_failture += USERID 36 33 } 37 EOF 38 </userinput></screen></para> 34 EOF</userinput></screen></para> 39 35 40 36 <para>To automate the running of qmail, use following command to 41 37 create the init.d script:</para> 42 38 43 <para><screen><userinput> 44 cat > /etc/rc.d/init.d/qmail << "EOF" 39 <para><screen><userinput>cat > /etc/rc.d/init.d/qmail << "EOF" 45 40 #!/bin/sh 46 41 # Begin $rc_base/init.d/qmail -
server/mail/qmail/qmail-inst.xml
r9a88a3b9 r7319b78 7 7 8 8 9 <para><screen><userinput> 10 mkdir /var/qmail && 9 <para><screen><userinput>mkdir /var/qmail && 11 10 groupadd nofiles && 12 11 useradd -g nofiles -d /var/qmail/alias alias && … … 17 16 useradd -g qmail -d /var/qmail qmailq && 18 17 useradd -g qmail -d /var/qmail qmailr && 19 useradd -g qmail -d /var/qmail qmails 20 </userinput></screen></para> 18 useradd -g qmail -d /var/qmail qmails</userinput></screen></para> 21 19 22 20 <para>Install qmail by running the following commands:</para> 23 21 24 <para><screen><userinput> 25 make setup check && 22 <para><screen><userinput>make setup check && 26 23 ./config-fast `hostname` && 27 24 cd /var/qmail && -
server/mail/sendmail/sendmail-inst.xml
r9a88a3b9 r7319b78 4 4 <para>Before building sendmail, we need to create users, groups and 5 5 directories that sendmail uses with the following commands:</para> 6 <para><screen><userinput> 7 groupadd smmsp && 6 <para><screen><userinput>groupadd smmsp && 8 7 groupadd mail && 9 8 useradd -g smmsp -G mail smmsp && 10 9 chmod 1777 /tmp && 11 10 chmod 1777 /var/mail && 12 mkdir /var/spool/mqueue 13 </userinput></screen></para> 11 mkdir /var/spool/mqueue</userinput></screen></para> 14 12 15 13 <para>Install sendmail with the following commands:</para> 16 14 17 <para><screen><userinput> 18 cat > devtools/Site/site.config.m4 << "EOF" 15 <para><screen><userinput>cat > devtools/Site/site.config.m4 << "EOF" 19 16 define(`confMANGRP',`root') 20 17 define(`confMANOWN',`root') … … 31 28 sh Build install-cf && 32 29 cd ../../ && 33 sh Build install 34 </userinput></screen></para> 30 sh Build install</userinput></screen></para> 35 31 </sect2> 36 32
Note:
See TracChangeset
for help on using the changeset viewer.