Changeset 7283ae5
- Timestamp:
- 04/11/2004 12:14:37 AM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 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, gimp3, 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_1, v5_1-pre1, xry111/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 9262ca5
- Parents:
- 4dbc3f7a
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
appendices/glossary.xml
r4dbc3f7a r7283ae5 127 127 <glossdef><para>Enlighten Sound Daemon</para></glossdef></glossentry> 128 128 129 <glossentry id="gESMTP"><glossterm><acronym>ESMTP</acronym></glossterm> 130 <glossdef><para>Extended Simple Mail Transfer Protocol</para></glossdef></glossentry> 131 129 132 <glossentry id="gFAM"><glossterm><acronym>FAM</acronym></glossterm> 130 133 <glossdef><para>File Alteration Monitor</para></glossdef></glossentry> -
introduction/welcome/changelog.xml
r4dbc3f7a r7283ae5 12 12 <itemizedlist> 13 13 14 <listitem><para>April 10th, 2004 [igor]: Updated to Courier-0.45.4 15 thanks to Jim Gifford.</para></listitem> 16 14 17 <listitem><para>April 10th, 2004 [larry]: updated to bug-buddy-2.6.0, 15 18 eog-2.6.0, gedit-2.6.0, gtksourceview-2.6.0, libgnomeprint-2.6.0 and -
server/mail/courier/courier-config.xml
r4dbc3f7a r7283ae5 3 3 4 4 <sect3><title>Config files</title> 5 <para><filename>/etc/courier/ authmysqlrc</filename></para>5 <para><filename>/etc/courier/*</filename></para> 6 6 </sect3> 7 7 8 8 <sect3><title>Configuration Information</title> 9 9 10 <para>Make the following changes in this file if you are utilizing 10 <para>Make the following changes in 11 <filename>/etc/courier/authmysqlrc</filename> file if you are utilizing 11 12 <application>My<acronym>SQL</acronym></application>:</para> 13 12 14 <screen><userinput>MYSQL_SERVER localhost 13 15 MYSQL_USERNAME courier 14 MYSQL_PASSWORD (your choice)16 MYSQL_PASSWORD <replaceable>[your choice]</replaceable> 15 17 MYSQL_SOCKET /tmp/mysql.sock 16 18 MYSQL_PORT 3306 17 MYSQL_DATABASE courier -mail19 MYSQL_DATABASE courier_mail 18 20 MYSQL_USER_TABLE users 19 21 MYSQL_CLEAR_PWFIELD clear 20 DEFAULT DOMAIN (your domain)22 DEFAULT DOMAIN <replaceable>[your domain]</replaceable> 21 23 MYSQL_QUOTA_FIELD quota</userinput></screen> 22 24 23 24 25 <para>If you utilize <application>PAM</application>:</para> 26 25 27 <screen><userinput><command>cat > /etc/pam.d/esmtp << "EOF</command> 26 28 # Begin /etc/pam.d/esmtp … … 60 62 <command>EOF</command></userinput></screen> 61 63 62 <para>This command will create the mysql database for authentication:</para> 63 64 <screen><userinput><command>mysqladmin -uroot -p<replaceable>[password]</replaceable> create courier-mail</command></userinput></screen> 65 66 <para>This command will setup the table users for the courier-mail 64 <para>Connect to the <application>My<acronym>SQL</acronym></application> 67 65 database:</para> 68 66 69 <screen><userinput><command>mysql -uroot -p<replaceable>[password]</replaceable> 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> 67 <screen><userinput><command>mysql -p</command></userinput></screen> 68 69 <para>This command will create the database for authentication:</para> 70 71 <screen><userinput><command>CREATE DATABASE courier_mail; 72 USE courier_mail</command></userinput></screen> 73 74 <para>This command will setup the table users for the courier_mail 75 database:</para> 76 77 <screen><userinput><command>CREATE TABLE users ( 78 id char(128) DEFAULT '' NOT NULL, 79 crypt char(128) DEFAULT '' NOT NULL, 80 clear char(128) DEFAULT '' NOT NULL, 81 name char(128) DEFAULT '' NOT NULL, 82 uid int(10) unsigned DEFAULT '65534' NOT NULL, 83 gid int(10) unsigned DEFAULT '65534' NOT NULL, 84 home char(255) DEFAULT '' NOT NULL, 85 quota char(255) DEFAULT '' NOT NULL, 86 KEY id (id(128)) 87 );</command></userinput></screen> 82 88 83 89 <para>This will add the courier user that we specified earlier in the 84 authmysql file:</para> 85 86 <screen><userinput><command>mysql -uroot -p<replaceable>[password]</replaceable> mysql 87 88 grant all privileges on *.* to courier@localhost identified by '<replaceable>[password]</replaceable>' with grant option;</command></userinput></screen> 89 90 <filename>/etc/courier/authmysqlrc</filename> file:</para> 91 92 <screen><userinput><command>GRANT ALL PRIVILEGES ON *.* TO courier@localhost IDENTIFIED BY '<replaceable>[password]</replaceable>' WITH GRANT OPTION; 93 QUIT</command></userinput></screen> 90 94 91 95 <para><emphasis>General Settings for Mail</emphasis></para> … … 133 137 following commands:</para> 134 138 135 <screen><userinput><command>makesmtpaccess 136 makehosteddomains 139 <screen><userinput><command>makesmtpaccess && 140 makehosteddomains && 137 141 makealiases</command></userinput></screen> 138 142 … … 186 190 your system users.</para> 187 191 188 <screen><userinput><command>cd /home/<replaceable>[username]</replaceable> 189 maildirmake Maildir 192 <screen><userinput><command>cd /home/<replaceable>[username]</replaceable> && 193 maildirmake Maildir && 190 194 chown <replaceable>[username]</replaceable>.<replaceable>[username]</replaceable> Maildir -R</command></userinput></screen> 191 195 … … 195 199 users.</para> 196 200 197 <screen><userinput><command> echo "vmailman:x:9000:9000:Virtual Mailman:/home/vmailman:/bin/bash" >> /etc/passwd198 echo "vmailman:x:9000:" >> /etc/group</command></userinput></screen>199 200 <para>Now to setup the maildir for these virtual users.</para>201 202 <screen><userinput><command>cd /home/vmailman 203 mkdir <replaceable>[virtual_user]</replaceable> 204 cd <replaceable>[virtual_user]</replaceable> 205 maildirmake Maildir 201 <screen><userinput><command>groupadd -g 9000 vmailman && 202 useradd -c 'Virtual Mailman' -g vmailman -m -k /dev/null -u 9000 vmailman</command></userinput></screen> 203 204 <para>Now to setup the Maildir for these virtual users.</para> 205 206 <screen><userinput><command>cd /home/vmailman && 207 mkdir <replaceable>[virtual_user]</replaceable> && 208 cd <replaceable>[virtual_user]</replaceable> && 209 maildirmake Maildir && 206 210 chown vmailman.vmailman Maildir -R</command></userinput></screen> 207 211 208 <para>Add the virtual user to the <application>My<acronym>SQL</acronym></application> database. You need to enter at 209 least on version of the password either clear text or encrypted.</para> 210 211 <screen><userinput><command>mysql -ucourier -p<replaceable>[password]</replaceable> courier-mail 212 213 insert into users values('<replaceable>[virtual_users]</replaceable>@<replaceable>[domain.com]</replaceable>, 214 '<replaceable>[encrypted password or blank]</replaceable>','<replaceable>[clear text password or blank]</replaceable>', 215 '<replaceable>[User's Name]</replaceable>',9000,9000,'<replaceable>[location of Maildir]</replaceable>','<replaceable>[Quota in Bytes']</replaceable>);</command></userinput></screen> 216 217 <para>example</para> 218 219 <screen><userinput>insert into users values ('blfsuser@linuxfromscratch.org',' 220 ','password','BLFS User',9000,9000,'/home/vmailman/blfsuser','');</userinput></screen> 212 <para>Connect to the <application>My<acronym>SQL</acronym></application> 213 database.</para> 214 215 <screen><userinput><command>mysql -u courier -p</command></userinput></screen> 216 217 <para>To add the virtual user you need to enter at 218 least one version of the password either clear text or encrypted.</para> 219 220 <screen><userinput><command>INSERT INTO users VALUES ( 221 '<replaceable>[virtual_users]</replaceable>@<replaceable>[domain.com]</replaceable>, 222 '<replaceable>[encrypted password or blank]</replaceable>', 223 '<replaceable>[clear text password or blank]</replaceable>', 224 '<replaceable>[User's Name]</replaceable>', 225 9000, 226 9000, 227 '<replaceable>[location of Maildir]</replaceable>', 228 '<replaceable>[Quota in Bytes']</replaceable> 229 );</command></userinput></screen> 230 231 <para>For example:</para> 232 233 <screen><userinput><command>INSERT INTO users VALUES ( 234 'blfsuser@linuxfromscratch.org', 235 '', 236 'password', 237 'BLFS User', 238 9000, 239 9000, 240 '/home/vmailman/blfsuser', 241 '' 242 );</command></userinput></screen> 221 243 222 244 <para><emphasis>Setup for Web-based Email</emphasis></para> … … 225 247 system.</para> 226 248 227 <para>You will need to copy the file webmailfrom228 <filename>/usr/lib/courier/courier/webmail /webmail</filename> to your <filename>cgi-bin249 <para>You will need to copy the <filename>webmail</filename> file from 250 <filename>/usr/lib/courier/courier/webmail</filename> to your <filename>cgi-bin 229 251 </filename> directory of your <application>Apache</application> 230 252 server.</para> … … 236 258 <application>Apache</application> server. The directory needs to be named 237 259 <filename>webmail</filename> or you need to specify it during the configure 238 phase with < command>--enable-imageurl=/url</command>.</para>260 phase with <parameter>--enable-imageurl=<replaceable>[URL]</replaceable></parameter>.</para> 239 261 240 262 <screen><userinput><command>cp -a /usr/share/courier/sqwebmail/images /var/www/htdocs/webmail</command></userinput></screen> … … 244 266 system.</para> 245 267 246 <para>You will need to copy the file <filename>webadmin</filename>from247 <filename class="directory">/usr/lib/courier/ webmail/webadmin</filename>248 to your <filename class="directory">cgi-bin 268 <para>You will need to copy the <filename>webadmin</filename> file from 269 <filename class="directory">/usr/lib/courier/courier/webmail</filename> 270 to your <filename class="directory">cgi-bin</filename> directory of your 249 271 <application>Apache</application> server.</para> 250 272 -
server/mail/courier/courier-desc.xml
r4dbc3f7a r7283ae5 2 2 <title>Contents</title> 3 3 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> 4 <para>The <application>Courier</application> package contains 5 <command>addcr</command>, 6 <command>authenumerate</command>, 7 <command>cancelmsg</command>, 8 <command>courier</command>, 9 <command>courier-config</command>, 10 <command>courieresmtpd</command>, 11 <command>courierfilter</command>, 12 <command>courierldapaliasd</command>, 13 <command>courierlogger</command>, 14 <command>couriermlm</command>, 15 <command>couriertcpd</command>, 16 <command>couriertls</command>, 17 <command>deliverquota</command>, 18 <command>dotforward</command>, 19 <command>esmtpd</command>, 20 <command>esmtpd-msa</command>, 21 <command>esmtpd-ssl</command>, 22 <command>filterctl</command>, 23 <command>imapd</command>, 24 <command>imapd</command>, 25 <command>imapd-ssl</command>, 26 <command>lockmail</command>, 27 <command>mailbot</command>, 28 <command>maildiracl</command>, 29 <command>maildirkw</command>, 30 <command>maildirmake</command>, 31 <command>maildrop</command>, 32 <command>makeacceptmailfor</command>, 33 <command>makealiases</command>, 34 <command>makedat</command>, 35 <command>makehosteddomains</command>, 36 <command>makemime</command>, 37 <command>makepercentrelay</command>, 38 <command>makesmtpaccess</command>, 39 <command>makesmtpaccess-msa</command>, 40 <command>makeuserdb</command>, 41 <command>makeuucpneighbors</command>, 42 <command>mimegpg</command>, 43 <command>mkesmtpdcert</command>, 44 <command>mkimapdcert</command>, 45 <command>mkpop3dcert</command>, 46 <command>pop3d</command>, 47 <command>pop3d-ssl</command>, 48 <command>preline</command>, 49 <command>pw2userdb</command>, 50 <command>reformail</command>, 51 <command>reformime</command>, 52 <command>rmail</command>, 53 <command>sendmail</command>, 54 <command>sharedindexinstall</command>, 55 <command>sharedindexsplit</command>, 56 <command>showconfig</command>, 57 <command>showmodules</command>, 58 <command>testmxlookup</command>, 59 <command>userdb</command>, 60 <command>userdbpw</command>, 61 <command>vchkpw2userdb</command> and 62 <command>webgpg</command>.</para> 44 63 45 64 </sect2> … … 50 69 <para><command>cancelmsg</command> removes a message from the mail queue.</para></sect3> 51 70 71 <sect3><title>courier</title> 72 <para><filename>courier</filename> Courier is a modular multi-protocol E-mail transport agent. The courier 73 command is an administrative command, and most of its options are only available to the superuser..</para></sect3> 74 75 <sect3><title>courierfilter</title> 76 <para><filename>courierfilter</filename> commands install or uninstall global mail filters. Global mail filters 77 are used to selectively block unwanted mail.</para></sect3> 78 52 79 <sect3><title>couriermlm</title> 53 80 <para><filename>couriermlm</filename> is the Courier mailing list manager.</para></sect3> 81 82 <sect3><title>filterctl</title> 83 <para><filename>filterctl</filename> commands install or uninstall global mail filters. Global mail filters are 84 used to selectively block unwanted mail.</para></sect3> 54 85 55 86 <sect3><title>lockmail</title> … … 66 97 <para><filename>maildrop</filename> is a replacement local mail delivery agent that includes a mail filtering 67 98 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 the82 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 the86 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 courier90 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 filters94 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 are98 used to selectively block unwanted mail.</para></sect3>99 99 100 100 <sect3><title>makeacceptmailfor</title> … … 127 127 </filename>.</para></sect3> 128 128 129 <sect3><title>reformail</title> 130 <para><filename>reformail</filename> program reads a message on standard input, reformats it in some way, 131 and writes the message to standard output.</para></sect3> 132 133 <sect3><title>reformime</title> 134 <para><filename>reformime</filename> is a utility for reformatting MIME messages.</para></sect3> 135 136 <sect3><title>sendmail</title> 137 <para><filename>sendmail</filename> command reads an E-mail message and delivers the message to its recipients. 138 This sendmail command is part of the Courier mail server, although it attempts to emulate the behavior of the 139 original sendmail MTA.</para></sect3> 140 129 141 <sect3><title>showconfig</title> 130 142 <para><filename>showconfig</filename> Shows the current Courier configuration.</para></sect3> … … 133 145 <para><filename>showmodules</filename> Shows the current Courier modules.</para></sect3> 134 146 135 <sect3><title>authdaemon</title> 136 <para><filename>authdaemon</filename> Courier Authentication Library.</para></sect3> 137 138 <sect3><title> </title> 139 <para><filename> </filename> .</para></sect3> 140 147 <sect3><title>testmxlookup</title> 148 <para><filename>testmxlookup</filename> lists the names and IP addresses of mail relays that receive mail for the 149 domain. This is useful in diagnosing mail delivery problems..</para></sect3> 141 150 142 151 </sect2> 143 -
server/mail/courier/courier-exp.xml
r4dbc3f7a r7283ae5 2 2 <title>Command explanations</title> 3 3 4 <para><parameter>--sysconfdir=/etc/courier</parameter>: Specifies the 5 directory where <application>Courier</application>'s configuration 6 files are installed.</para> 7 8 <para><parameter>--with-piddir=/var/run</parameter>: Specifies the 9 directory where <application>Courier</application>'s 10 <filename>PID</filename> files are stored 11 when <application>Courier</application> is active.</para> 12 13 <para><parameter>--libexecdir=/usr/lib/courier</parameter>: libexecdir contains 14 programs and libraries that cannot be directly executed from the command-line. 15 </para> 4 <para><parameter>--libexecdir=/usr/lib/courier</parameter>: Specifies 5 the directory which contains programs and libraries that cannot be 6 directly executed from the command-line.</para> 16 7 17 8 <para><parameter>--datadir=/usr/share/courier</parameter>: Specifies the 18 directory where miscellaneous shell scripts, <application>Perl</application> 19 scripts, and data files will be installed.</para> 9 directory where miscellaneous shell scripts, 10 <application>Perl</application> scripts, and data files will be 11 installed.</para> 20 12 21 <para><parameter>--localstatedir=/var/spool/courier</parameter>: Specifies the 22 directory that will hold the mail queue, and other temporary data. This option 23 defaults to the subdirectory <filename class="directory">var</filename> in the 24 directory specified by the <option>--prefix</option> option.</para> 13 <para><parameter>--localstatedir=/var/spool/courier</parameter>: 14 Specifies the directory that will hold the mail queue, and other 15 temporary data.</para> 25 16 26 <para><option>--with-paranoid-smtpext</option>:be paranoid when negotiating Courier-specific 27 ESMTP extensions with remote servers. The <application>Courier</application> mail server 28 defines and implements certain experimental ESMTP extensions: XVERP and XEXDATA. Problems may 29 result in the event that someone else uses the same name to implement some other extension. 30 If this option is specified, <application>Courier's</application> ESMTP server will also 31 advertise a dummy ESMTP capability called XCOURIEREXTENSIONS, and will not recognize any 32 Courier-specific extensions unless the remote mail server also advertises this dummy ESMTP 33 capability.</para> 34 35 <para><option>--disable-autorenamesent</option>: do not rename the Sent folder every month. 36 This option can also be controlled by the SQWEBMAIL_AUTORENAMESENT environment variable.</para> 17 <para><parameter>--with-piddir=/var/run/courier</parameter>: Specifies 18 the directory where <application>Courier</application>'s 19 <filename>PID</filename> files are stored when 20 <application>Courier</application> is active.</para> 37 21 38 22 <para><option>--disable-root-check</option>: Allows 39 23 <application>Courier</application> to be built as the root user.</para> 24 25 <para><parameter>--with-mailuser=courier</parameter>: All except two 26 <application>Courier</application> daemons run as a non-privileged user. 27 This option specifies the userid that <application>Courier</application> 28 will install and run as.</para> 29 30 <para><parameter>--with-mailgroup=courier</parameter>: like 31 <option>--with-mailuser</option>, but specifies the group 32 <acronym>ID</acronym>.</para> 33 34 <para><option>--with-paranoid-smtpext</option>: Be paranoid when 35 negotiating Courier-specific <acronym>ESMTP</acronym> extensions with 36 remote servers. The <application>Courier</application> mail server 37 defines and implements certain experimental <acronym>ESMTP</acronym> 38 extensions: XVERP and XEXDATA. Problems may result in the event that 39 someone else uses the same name to implement some other extension. If 40 this option is specified, <application>Courier's</application> 41 <acronym>ESMTP</acronym> server will also advertise a dummy 42 <acronym>ESMTP</acronym> capability called XCOURIEREXTENSIONS, and will 43 not recognize any Courier-specific extensions unless the remote mail 44 server also advertises this dummy <acronym>ESMTP</acronym> 45 capability.</para> 46 47 <para><option>--disable-autorenamesent</option>: Do not rename the Sent 48 folder every month. This option can also be controlled by the 49 <envar>SQWEBMAIL_AUTORENAMESENT</envar> environment variable.</para> 50 51 <para><option>--enable-workarounds-for-imap-client-bugs</option>: There 52 are several confirmed bugs in some <acronym>IMAP</acronym> clients that 53 do not properly implement the <acronym>IMAP</acronym>4rev1 protocol. 54 This option enables some workarounds for those buggy 55 <acronym>IMAP</acronym> clients. NOTE: <command>make check</command> 56 will fail if this option is used. You should first configure without 57 this option, and if all post-configuration tests succeed, rerun 58 configure with this option and recompile.</para> 40 59 41 60 <para><parameter>--with-db=gbbm</parameter>: … … 43 62 <application><acronym>GDBM</acronym></application> or the 44 63 <application>DB</application> database library. 45 <application><acronym>GDBM</acronym></application> is used if both are present. This option forces the selection of the database library. 46 </para> 64 <application><acronym>GDBM</acronym></application> is used if both are 65 present. This option forces the selection of the database 66 library.</para> 47 67 48 <!-- # Note - Courier will build fine with <xref linkend="db"/>, but all the database files 49 will not be created correctly --> 50 51 <para><parameter>--with-mailuser=courier</parameter>: All except two 52 <application>Courier</application> daemons run as a non-privileged 53 user. This option specifies the userid that 54 <application>Courier</application> will install and run as.</para> 55 56 <para><parameter>--with-mailgroup=courier</parameter>: like 57 <option>--with-mailuser</option>, but specifies the group 58 <acronym>ID</acronym>.</para> 59 60 <para><option>--enable-workarounds-for-imap-client-bugs</option>: there are several confirmed bugs in some 61 <acronym>IMAP</acronym> clients that do not properly implement the 62 <acronym>IMAP</acronym>4rev1 protocol. This option enables some workarounds for 63 those buggy <acronym>IMAP</acronym> clients. NOTE: make check will fail if this option is used. You should first configure 64 without this option, and if all post-configuration tests succeed, rerun configure with this option and recompile.</para> 68 <!-- # Note - Courier will build fine with <xref linkend="db"/>, but all 69 the database files will not be created correctly --> 65 70 66 71 <para><parameter>--with-ispell=/usr/bin/aspell</parameter>: 67 <application>Courier</application>'s webmail server can use spell checking, if 68 the aspell program is available. If configure finds ispell, spell checking is enabled. If aspell is not in the 69 current search path, use 70 <parameter>--with-ispell=<replaceable>program</replaceable></parameter> to 71 explicitly set the location of <application>aspell</application>.</para> 72 <application>Courier</application>'s webmail server can use spell 73 checking, if <command>configure</command> finds 74 <application>ispell</application> or if you explicitly set the location 75 of <application>aspell</application>.</para> 72 76 77 <para><parameter>--enable-mimetypes=<replaceable>[location of mime.types file]</replaceable></parameter>: 78 Use this switch if you receive an error saying that the 79 <filename>mime.types</filename> file could not be found.</para> 80 73 81 </sect2> 74 -
server/mail/courier/courier-inst.xml
r4dbc3f7a r7283ae5 9 9 useradd -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier</command></userinput></screen> 10 10 11 <para> You also need to create a bin user. If you already have a user named bin 12 this step can be safely ignored.</para> 13 14 <screen><userinput><command>useradd -c 'bin' -d /dev/null -g bin -u 1 bin</command></userinput></screen> 15 16 <para>This creates a 17 <filename class="directory">/var/run/courier</filename> directory where 18 all the <application>Courier</application> <acronym>MTA</acronym> pid 19 files will exist. This will allow <filename>courierfilter.pid</filename> 20 to be created. Without the <command>courierfilter</command> running the 21 <application>Courier</application> MTA will not work. Issue the 22 following commands to create 23 <filename class="directory">/var/run/courier</filename>:</para> 24 25 <screen><userinput><command>mkdir /var/run/courier && 26 chown courier:courier /var/run/courier</command></userinput></screen> 11 27 12 28 <para>Install <application>courier</application> by running the following commands:</para> 13 29 14 <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc/courier --with-piddir=/var/run \ 15 --libexecdir=/usr/lib/courier --datadir=/usr/share/courier \ 16 --localstatedir=/var/lib/courier --disable-root-check --with-db=gdbm \ 17 --with-paranoid-smtpext --disable-autorenamesent \ 18 --with-mailuser=courier --with-mailgroup=courier \ 19 --enable-workarounds-for-imap-client-bugs \ 20 --with-ispell=/usr/bin/aspell --enable-mimetypes=/etc/apache/mime.types && 30 <screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/lib/courier \ 31 --datadir=/usr/share/courier --sysconfdir=/etc/courier \ 32 --localstatedir=/var/lib/courier --with-piddir=/var/run/courier \ 33 --disable-root-check --with-mailuser=courier --with-mailgroup=courier \ 34 --with-paranoid-smtpext --disable-autorenamesent \ 35 --enable-workarounds-for-imap-client-bugs && 21 36 make && 22 37 make install && 23 38 make install-configure</command></userinput></screen> 24 39 25 <!-- # Note - You may receive an error saying that the mime.types file26 could not be found. This can easily be corrected by changing27 -enable-mimetypes=(location of mime.types file) -->28 29 30 40 </sect2> 31 -
server/mail/courier/courier-intro.xml
r4dbc3f7a r7283ae5 8 8 packages also includes a web-based email interface, <acronym>IMAP</acronym>, 9 9 <acronym>IMAP</acronym>-<acronym>SSL</acronym>, <acronym>POP</acronym>3, and 10 <acronym>POP</acronym>3-<acronym>SSL</acronym>. The configuration 10 <acronym>POP</acronym>3-<acronym>SSL</acronym>.</para> 11 12 <!-- 13 The configuration 11 14 listed below will allow users with <acronym>PAM</acronym> and virtual-users in 12 15 a <application>My<acronym>SQL</acronym></application> Database access to email.</para> 13 16 --> 14 17 15 18 <sect3><title>Package information</title> … … 26 29 <para><xref linkend="gdbm"/> or <xref linkend="db"/></para></sect4> 27 30 <sect4><title>Optional</title> 28 <para><xref linkend="mysql"/> or <xref linkend="postgresql"/>, 29 <xref linkend="Linux_PAM"/>, <xref linkend="openssl"/>, 30 <xref linkend="fam"/>, <xref linkend="openldap"/>, expect, 31 <xref linkend="apache"/> and <xref linkend="aspell"/></para></sect4> 31 <para> 32 <xref linkend="mysql"/> or <xref linkend="postgresql"/>, 33 <xref linkend="Linux_PAM"/>, 34 <xref linkend="openssl"/>, 35 <xref linkend="fam"/>, 36 <xref linkend="openldap"/>, 37 <xref linkend="apache"/>, 38 <xref linkend="ispell"/> or <xref linkend="aspell"/>, 39 <xref linkend="gnupg"/>, 40 <ulink url="http://expect.nist.gov/">Expect</ulink>, 41 <ulink url="http://netpbm.sourceforge.net/">Netpbm</ulink> and 42 <ulink url="http://alpha.greenie.net/mgetty/">Mgetty+Sendfax</ulink> 43 </para></sect4> 32 44 </sect3> 33 45 -
server/mail/courier/courier.ent
r4dbc3f7a r7283ae5 5 5 <!ENTITY courier-config SYSTEM "courier-config.xml"> 6 6 <!ENTITY courier-desc SYSTEM "courier-desc.xml"> 7 <!ENTITY courier-version "0.45. 1">7 <!ENTITY courier-version "0.45.4"> 8 8 <!ENTITY courier-download-http "http://osdn.dl.sourceforge.net/sourceforge/courier/courier-&courier-version;.tar.bz2"> 9 <!ENTITY courier-download-ftp " ftp://ftp.pu.edu.tw/Unix/Mail/maildrop/courier-&courier-version;.tar.bz2">9 <!ENTITY courier-download-ftp ""> 10 10 <!ENTITY courier-size "4.2 MB"> 11 <!ENTITY courier-buildsize "1 34 MB">12 <!ENTITY courier-time " 2.79SBU">11 <!ENTITY courier-buildsize "114 MB"> 12 <!ENTITY courier-time "3.00 SBU">
Note:
See TracChangeset
for help on using the changeset viewer.