Changeset 1a1da48
- Timestamp:
- 09/24/2003 02:57:57 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 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/inkscape-core-mods, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/python-mods, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- a723847c
- Parents:
- 7a74d2f
- Location:
- server/mail
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
server/mail/courier.xml
r7a74d2f r1a1da48 1 <sect1 id="courier" xreflabel=" courier-&courier-version;">1 <sect1 id="courier" xreflabel="Courier-&courier-version;"> 2 2 <?dbhtml filename="courier.html" dir="server"?> 3 <title> courier-&courier-version;</title>3 <title>Courier-&courier-version;</title> 4 4 5 5 &courier-intro; -
server/mail/courier/courier-config.xml
r7a74d2f r1a1da48 1 1 <sect2> 2 <title>Configuring <application> courier</application></title>2 <title>Configuring <application>Courier</application></title> 3 3 4 4 <sect3><title>Config files</title> … … 100 100 <command>EOF</command></userinput></screen> 101 101 102 <para><filename>/etc/courier/me</filename></para> 103 104 <screen><userinput><command>cat > /etc/courier/me << "EOF"</command> 105 {servername.yourdomain} 106 <command>EOF</command></userinput></screen> 107 102 108 <para><filename>/etc/courier/locals</filename></para> 103 104 109 105 110 <screen><userinput><command>cat > /etc/courier/locals << "EOF"</command> 106 111 localhost 107 112 {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 > /etc/courier/esmtpacceptmailfor << "EOF"</command> 113 <command>EOF</command></userinput></screen> 114 115 <para><filename>/etc/courier/esmtpacceptmailfor.dir/system</filename></para> 116 117 <screen><userinput><command>cat >/etc/courier/esmtpacceptmailfor.dir/system << "EOF"</command> 115 118 localhost 116 119 {yourdomain} 117 .{yourdomain} 118 <command>EOF</command></userinput></screen> 119 120 <para><filename>/etc/courier/hosteddomains</filename></para> 121 122 <screen><userinput><command>cat > /etc/courier/hosteddomains << "EOF"</command> 123 {yourdomain} 124 .{yourdomain} 125 <command>EOF</command></userinput></screen> 126 120 <command>EOF</command></userinput></screen> 127 121 128 122 <para>You will also need to edit the aliases file and change the 129 123 following entry.</para> 130 131 124 132 125 <para><filename>/etc/courier/aliases/system</filename></para> … … 231 224 system.</para> 232 225 233 <para><emphasis role="strong">Edit note: Remove /usr/libexec with 234 configure flag, should be /usr/sbin. Sync apache directory with apache 235 install 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 226 <para>You will need to copy the file webmail from 227 <filename>/usr/libexec/courier/webmail/webmail</filename> to your <filename>cgi-bin 239 228 </filename> directory of your <application>Apache</application> 240 229 server.</para> 241 230 242 <screen><userinput><command>cp -a /usr/libexec/courier/webmail /var/www/cgi-bin</command></userinput></screen>231 <screen><userinput><command>cp -a /usr/libexec/courier/webmail/webmail /var/www/cgi-bin</command></userinput></screen> 243 232 244 233 <para>You will then need to copy the images to a folder under your … … 249 238 250 239 <screen><userinput><command>cp -a /usr/share/courier/sqwebmail/images /var/www/htdocs/webmail</command></userinput></screen> 251 240 <para><emphasis>Setup for Web-based Email</emphasis></para> 241 242 <para>This section will explain how to setup Courier Web-based administration 243 system.</para> 244 245 <para>You will need to copy the file webadmin from 246 <filename>/usr/libexec/courier/webmail/webmin</filename> to your <filename>cgi-bin 247 </filename> directory of your <application>Apache</application> 248 server.</para> 249 250 <screen><userinput><command>cp -a /usr/libexec/courier/webmail/webadmin /var/www/cgi-bin</command></userinput></screen> 251 252 <para><filename>/etc/courier/webadmin/password</filename></para> 253 254 <screen><userinput><command>cat > /etc/courier/webadmin/password << "EOF"</command> 255 {password} 256 <command>EOF</command></userinput></screen> 257 258 <para>If you are not using <acronym>SSL</acronym> on your <application>Apache 259 </application> server, you will need to add 260 <filename>/etc/courier/webadmin/unsecureok</filename>, so you will be able 261 to use your web based administration tool. 262 263 <screen><userinput><command>touch /etc/courier/webadmin/unsecureok</command></userinput></screen></para> 264 </sect3> 265 266 <sect3><title>Courier init.d script</title> 267 268 <para>The startup script from the <application>Courier</application> package is 269 the easiest to use. It will automatically create missing data files, and 270 <acronym>SSL</acronym> certificates if they are missing. To install the 271 init.d file for <application>Courier</application> you will need to use the 272 follow commands:</para> 273 274 <screen><userinput><command>cp /usr/src/courier-&courier-version;/courier.sysvinit /etc/rc.d/init.d/courier && 275 chmod 755 /etc/rc.d/init.d/courier</command></userinput></screen> 276 277 <para>Create the symbolic links to this file in the relevant 278 <filename>rc.d</filename> directory with the following commands: 279 280 <screen><userinput><command>cd /etc/rc.d/init.d && 281 ln -sf ../init.d/courier ../rc0.d/K25courier && 282 ln -sf ../init.d/courier ../rc1.d/K25courier && 283 ln -sf ../init.d/courier ../rc2.d/K25courier && 284 ln -sf ../init.d/courier ../rc3.d/S35courier && 285 ln -sf ../init.d/courier ../rc4.d/S35courier && 286 ln -sf ../init.d/courier ../rc5.d/S35courier && 287 ln -sf ../init.d/courier ../rc6.d/K25courier</command></userinput></screen></para> 252 288 253 289 </sect3> -
server/mail/courier/courier-desc.xml
r7a74d2f r1a1da48 2 2 <title>Contents</title> 3 3 4 <para>The <application>courier</application> package contains <command> 5 LISTOFEXEC</command>, <filename>LISTOFFILES</filename>.</para> 4 <para>The <application>Courier</application> package contains <command> 5 cancelmsg</command>, <filename>courier-config</filename>, <command>couriermlm</command>, 6 <filename>couriertls</filename>, <filename>deliverquota</filename>, 7 <filename>dotforward</filename>, <filename>imapd</filename>, 8 <command>lockmail</command>, <command>mailbot</command>, 9 <command>maildirkw</command>, <command>maildrop</command>, 10 <command>mailq</command>, <filename>makedat</filename>, 11 <filename>makemime</filename>, <filename>mimegpg</filename>, 12 <filename>preline</filename>, <command>reformail</command>, 13 <command>reformime</command>, <filename>rmail</filename>, 14 <command>sendmail</command>, <command>testmxlookup</command>, 15 <command>courier</command>, <command>courierfilter</command>, 16 <filename>courierlogger</filename>, <filename>couriertcpd</filename>, 17 <filename>esmtpd</filename>, <filename>esmtpd-msa</filename>, 18 <filename>esmtp-ssl</filename>, <command>filterctl</command>, 19 <filename>imapd</filename>, <filename>imapd-ssl</filename>, 20 <command>makeacceptmailfor</command>, <command>makealiases</command>, 21 <command>makehosteddomains</command>, <command>makepercentrelay</command>, 22 <command>makesmtpacces</command>, <command>makesmtpaccess-msa</command>, 23 <filename>makeuserdb</filename>, <command>makeuucpneighbors</command>, 24 <filename>mksmtpcert</filename>, <filename>mkimapdcert</filename>, 25 <filename>mkpop3cert</filename>, <filename>pop3d</filename>, 26 <filename>pop3d-ssl</filename>, <filename>pw2userdb</filename>, 27 <command>showconfig</command>, <command>showmodules</command>, 28 <filename>userdb</filename>, <filename>userdbpw</filename>, 29 <filename>webgpg</filename>, <command>authdaemon</command>, 30 <filename>authdaemon.mysql</filename>, <filename>authdaemon.plain</filename>, 31 <filename>aliascombine</filename>, <filename>aliascreate</filename>, 32 <filename>aliasexp</filename>, <filename>courierd</filename>, 33 <filename>courierpop3d</filename>, <filename>courierpop3login</filename>, 34 <filename>imaplogin</filename>, <filename>makedatprog</filename>, 35 <filename>pcpd</filename>, <filename>submit</filename>, 36 <filename>submitmkdir</filename>, <filename>webadmin</filename>, 37 <filename>webmail</filename>, <filename>courierdsn</filename>, 38 <filename>addcr</filename>, <filename>authend</filename>, 39 <filename>authstate</filename>, <filename>courieresmtp</filename>, 40 <filename>courieresmtpd</filename>, <filename>courierfax</filename>, 41 <filename>courierdeliver</filename>, <filename>courierlocal</filename>, 42 <filename>courieruucp</filename>, <filename>perlfilter</filename>, 43 <filename>dupfilter</filename>.</para> 6 44 7 45 </sect2> … … 9 47 <sect2><title>Description</title> 10 48 11 <sect3><title> item1</title>12 <para><command> item1</command> does this</para></sect3>49 <sect3><title>cancelmsg</title> 50 <para><command>cancelmsg</command> removes a message from the mail queue.</para></sect3> 13 51 14 <sect3><title>item2</title> 15 <para><filename>item2</filename> does that</para></sect3> 52 <sect3><title>couriermlm</title> 53 <para><filename>couriermlm</filename> is the Courier mailing list manager.</para></sect3> 54 55 <sect3><title>lockmail</title> 56 <para><filename>lockmail</filename> is a helper utility for working with mailbox files..</para></sect3> 57 58 <sect3><title>mailbot</title> 59 <para><filename>mailbot</filename> reads an E-mail message on standard input and creates an E-mail message 60 replying to the original message's sender..</para></sect3> 61 62 <sect3><title>maildirkw</title> 63 <para><filename>maildirkw</filename> modifies Courier-IMAP compatible maildir message keywords.</para></sect3> 64 65 <sect3><title>maildrop</title> 66 <para><filename>maildrop</filename> is a replacement local mail delivery agent that includes a mail filtering 67 language.</para></sect3> 68 69 <sect3><title>mailq</title> 70 <para><filename>mailq</filename> displays a list of all messages that have not been delivered yet.</para></sect3> 71 72 <sect3><title>reformail</title> 73 <para><filename>reformail</filename> program reads a message on standard input, reformats it in some way, 74 and writes the message to standard output.</para></sect3> 75 76 <sect3><title>reformime</title> 77 <para><filename>reformime</filename> is a utility for reformatting MIME messages.</para></sect3> 78 79 <sect3><title>sendmail</title> 80 <para><filename>sendmail</filename> command reads an E-mail message and delivers the message to its recipients. 81 This sendmail command is part of the Courier mail server, although it attempts to emulate the behavior of the 82 original sendmail MTA.</para></sect3> 83 84 <sect3><title>testmxlookup</title> 85 <para><filename>testmxlookup</filename> lists the names and IP addresses of mail relays that receive mail for the 86 domain. This is useful in diagnosing mail delivery problems..</para></sect3> 87 88 <sect3><title>courier</title> 89 <para><filename>courier</filename> Courier is a modular multi-protocol E-mail transport agent. The courier 90 command is an administrative command, and most of its options are only available to the superuser..</para></sect3> 91 92 <sect3><title>courierfilter</title> 93 <para><filename>courierfilter</filename> commands install or uninstall global mail filters. Global mail filters 94 are used to selectively block unwanted mail.</para></sect3> 95 96 <sect3><title>filterctl</title> 97 <para><filename>filterctl</filename> commands install or uninstall global mail filters. Global mail filters are 98 used to selectively block unwanted mail.</para></sect3> 99 100 <sect3><title>makeacceptmailfor</title> 101 <para><filename>makeacceptmailfor</filename> Build a list of domains to accept mail for from the 102 <filename>/etc/courier/esmtpacceptmailfor.dir</filename>directory.</para></sect3> 103 104 <sect3><title>makealiases</title> 105 <para><filename>makealiases</filename> Build a list of aliases from <filename>/etc/courier/aliases</filename> 106 or <filename>/etc/courier/aliasdir</filename> directories.</para></sect3> 107 108 <sect3><title>makehosteddomains</title> 109 <para><filename>makehostedomains</filename> Build a database of hosted domains from <filename>hosteddomains</filename> 110 .</para></sect3> 111 112 <sect3><title>makepercentrelay</title> 113 <para><filename>makepercentrelay</filename> Build a list of %-relayed domains from <filename>percentrelay.dir</filename> 114 directory.</para></sect3> 115 116 <sect3><title>makesmtpaccess</title> 117 <para><filename>makesmtpacces</filename> Build ESMTP server access file from <filename>/etc/courier/smtpaccess</filename> 118 directory.</para></sect3> 119 120 <sect3><title>makesmtpaccess-msa</title> 121 <para><filename>makesmtpaccess-msa</filename> Build ESMTP server access file from <filename>/etc/courier/smtpaccess</filename> 122 directory. This esmtp list is for the MSA protocol.</para></sect3> 123 124 <sect3><title>makeuucpneighbors</title> 125 <para><filename>makeuucpneighbors</filename> Builds a list of uucp recipient's using <filename>/etc/courier/uucpneighbors 126 </filename>.</para></sect3> 127 128 <sect3><title>showconfig</title> 129 <para><filename>showconfig</filename> Shows the current Courier configuration.</para></sect3> 130 131 <sect3><title>showmodules</title> 132 <para><filename>showmodules</filename> Shows the current Courier modules.</para></sect3> 133 134 <sect3><title>authdaemon</title> 135 <para><filename>authdaemon</filename> Courier Authentication Library.</para></sect3> 136 137 <sect3><title> </title> 138 <para><filename> </filename> .</para></sect3> 139 16 140 17 141 </sect2> -
server/mail/courier/courier-exp.xml
r7a74d2f r1a1da48 2 2 <title>Command explanations</title> 3 3 4 <para><command>--sysconfdir=/etc/courier</command> : This switch does something.</para> 4 <para><command>--sysconfdir=/etc/courier</command> : Specifies the directory where Courier's configuration 5 files are installed.</para> 5 6 6 <para><command>--with-piddir=/var/run</command> : This switch does something.</para> 7 <para><command>--with-piddir=/var/run</command> : Specfies the directory where Courier's pid files are stored 8 when Courier is active.</para> 7 9 8 <para><command>--libexecdir=/usr/libexec</command> : This switch does something.</para> 10 <para><command>--libexecdir=/usr/libexec</command> : libexecdir contains programs and libraries that cannot 11 be directly executed from the command line.</para> 9 12 10 <para><command>--datadir=/usr/share/courier</command> : This switch does something.</para> 13 <para><command>--datadir=/usr/share/courier</command> : Specifies the directory where miscellaneous shell 14 scripts, Perl scripts, and data files will be installed.</para> 11 15 12 <para><command> --localstatedir=/var/lib/courier</command> : This switch does something.</para> 16 <para><command> --localstatedir=/var/lib/courier</command> : specifies the directory that will hold the mail 17 queue, and other temporary data. This option defaults to the subdirectory "var" in the directory specified 18 by the --prefix option.</para> 13 19 14 <para><command>--disable-root-check</command> : This switch does something.</para>20 <para><command>--disable-root-check</command> : Allows Courier to be built as the root user.</para> 15 21 16 <para><command>--with-db=db</command> : This switch does something.</para> 22 <para><command>--with-db=gbbm</command> : Courier requires either the GDBM or the DB database library. 23 GDBM is used if both are present. This option forces the selection of the database library. 24 </para> 17 25 18 <para><command>--with-mailuser=courier</command> : This switch does something.</para> 26 <!-- # Note - Courier will build fine with <xref linkend="db"/>, but all the database files 27 will not be created correctly --> 19 28 20 <para><command>--withmailgroup=courier</command> : This switch does something.</para> 29 <para><command>--with-mailuser=courier</command> : All except two Courier daemons run as a non-privileged 30 user. This option specifies the userid that Courier will install and run as.</para> 21 31 22 <para><command>--enable-workarounds-for-imap-client-bugs</command> : This 23 switch does something.</para> 32 <para><command>--withmailgroup=courier</command> : like --with-mailuser, but specifies the group ID.</para> 24 33 25 <para><command>--with-ispell=/usr/bin/aspell</command> : This switch does something.</para> 34 <para><command>--enable-workarounds-for-imap-client-bugs</command> : there are several confirmed bugs in some 35 IMAP clients that do not properly implement the IMAP4rev1 protocol. This option enables some workarounds for 36 those buggy IMAP clients. NOTE: make check will fail if this option is used. You should first configure 37 without this option, and if all post-configuration tests succeed, rerun configure with this option and recompile.</para> 38 39 <para><command>--with-ispell=/usr/bin/aspell</command> : Courier's webmail server can use spell checking, if 40 the aspell program is available. If configure finds ispell, spell checking is enabled. If aspell is not in the 41 current search path, use --with-ispell=program to explicitly set the location of aspell.</para> 26 42 27 43 </sect2> -
server/mail/courier/courier-inst.xml
r7a74d2f r1a1da48 1 1 <sect2> 2 <title>Installation of <application> courier</application></title>2 <title>Installation of <application>Courier</application></title> 3 3 4 4 <para> Before you compile the program, you need to create users and groups that … … 14 14 <screen><userinput><command>./configure ./configure --prefix=/usr --sysconfdir=/etc/courier --with-piddir=/var/run \ 15 15 --libexecdir=/usr/libexec --datadir=/usr/share/courier \ 16 --localstatedir=/var/lib/courier --disable-root-check --with-db= db\16 --localstatedir=/var/lib/courier --disable-root-check --with-db=gdbm \ 17 17 --with-mailuser=courier --withmailgroup=courier \ 18 18 --enable-workarounds-for-imap-client-bugs \ -
server/mail/courier/courier-intro.xml
r7a74d2f r1a1da48 1 1 <sect2> 2 <title>Introduction to <application> courier</application></title>2 <title>Introduction to <application>Courier</application></title> 3 3 4 <para>The <application> courier</application> package contains a Mail Transport4 <para>The <application>Courier</application> package contains a Mail Transport 5 5 Agent (<acronym>MTA</acronym>). This is useful for sending email to other users 6 6 of your host machine. It can also be configured to be a central mail server for 7 your domain or a mail relay agent. The <application> courier</application>7 your domain or a mail relay agent. The <application>Courier</application> 8 8 packages also includes a web-based email interface, <acronym>IMAP</acronym>, 9 9 <acronym>IMAP-SSL</acronym>, <acronym>POP3</acronym>, and 10 10 <acronym>POP3</acronym>-<acronym>SSL</acronym>. The configuration 11 11 listed below will allow users with <acronym>PAM</acronym> and virtual-users in 12 a <application>My sql</application> Database access to email.</para>12 a <application>MySQL</application> Database access to email.</para> 13 13 14 14 … … 22 22 </sect3> 23 23 24 <sect3><title><application> courier</application> dependencies</title>24 <sect3><title><application>Courier</application> dependencies</title> 25 25 <sect4><title>Required</title> 26 <para><xref linkend="db"/>, <xref linkend="Linux_PAM"/>, <xref 27 linkend="openssl"/> and <xref linkend="apache"/></para></sect4> 26 <para><xref linkend="gdbm"/> or <xref linkend="db"/></para></sect4> 28 27 <sect4><title>Optional</title> 29 <para><xref linkend="mysql"/> and <xref linkend="aspell"/></para></sect4> 28 <para><xref linkend="mysql"/> or <xref linkend="postgres"/>, 29 <xref linkend="Linux_PAM"/>, <xref linkend="openssl"/>, 30 <xref linkend="libfam"/>, <xref linkend="openldap"/>, expect, 31 <xref linkend="apache"/> and <xref linkend="aspell"/></para></sect4> 30 32 </sect3> 31 33 -
server/mail/courier/courier.ent
r7a74d2f r1a1da48 6 6 <!ENTITY courier-config SYSTEM "courier-config.xml"> 7 7 <!ENTITY courier-buildsize "55 MB"> 8 <!ENTITY courier-version "0.4 1.0">9 <!ENTITY courier-download-http "http://osdn.dl.sourceforge.net/sourceforge/courier/courier-0.4 1.0.tar.bz2">10 <!ENTITY courier-download-ftp "ftp://courier.sourceforge.net/courier/courier-0.4 1.0.tar.bz2">11 <!ENTITY courier-size "3. 1MB">8 <!ENTITY courier-version "0.42.2"> 9 <!ENTITY courier-download-http "http://osdn.dl.sourceforge.net/sourceforge/courier/courier-0.42.2.tar.bz2"> 10 <!ENTITY courier-download-ftp "ftp://courier.sourceforge.net/courier/courier-0.42.2.tar.bz2"> 11 <!ENTITY courier-size "3.3 MB"> 12 12 <!ENTITY courier-time "">
Note:
See TracChangeset
for help on using the changeset viewer.