Changeset 7283ae5


Ignore:
Timestamp:
04/11/2004 12:14:37 AM (17 years ago)
Author:
Igor Živković <igor@…>
Branches:
10.0, 10.1, 11.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, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, v5_1, v5_1-pre1, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
9262ca5
Parents:
4dbc3f7a
Message:

updated to courier-0.45.4

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

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • appendices/glossary.xml

    r4dbc3f7a r7283ae5  
    127127<glossdef><para>Enlighten Sound Daemon</para></glossdef></glossentry>
    128128
     129<glossentry id="gESMTP"><glossterm><acronym>ESMTP</acronym></glossterm>
     130<glossdef><para>Extended Simple Mail Transfer Protocol</para></glossdef></glossentry>
     131
    129132<glossentry id="gFAM"><glossterm><acronym>FAM</acronym></glossterm>
    130133<glossdef><para>File Alteration Monitor</para></glossdef></glossentry>
  • introduction/welcome/changelog.xml

    r4dbc3f7a r7283ae5  
    1212<itemizedlist>
    1313
     14<listitem><para>April 10th, 2004 [igor]: Updated to Courier-0.45.4
     15thanks to Jim Gifford.</para></listitem>
     16   
    1417<listitem><para>April 10th, 2004 [larry]: updated to bug-buddy-2.6.0,
    1518eog-2.6.0, gedit-2.6.0, gtksourceview-2.6.0, libgnomeprint-2.6.0 and
  • server/mail/courier/courier-config.xml

    r4dbc3f7a r7283ae5  
    33
    44<sect3><title>Config files</title>
    5 <para><filename>/etc/courier/authmysqlrc</filename></para>
     5<para><filename>/etc/courier/*</filename></para>
    66</sect3>
    77
    88<sect3><title>Configuration Information</title>
    99
    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
    1112<application>My<acronym>SQL</acronym></application>:</para>
     13
    1214<screen><userinput>MYSQL_SERVER            localhost
    1315MYSQL_USERNAME          courier
    14 MYSQL_PASSWORD          (your choice)
     16MYSQL_PASSWORD          <replaceable>[your choice]</replaceable>
    1517MYSQL_SOCKET            /tmp/mysql.sock
    1618MYSQL_PORT              3306
    17 MYSQL_DATABASE          courier-mail
     19MYSQL_DATABASE          courier_mail
    1820MYSQL_USER_TABLE        users
    1921MYSQL_CLEAR_PWFIELD     clear
    20 DEFAULT DOMAIN          (your domain)
     22DEFAULT DOMAIN          <replaceable>[your domain]</replaceable>
    2123MYSQL_QUOTA_FIELD       quota</userinput></screen>
    2224
    23 
    2425<para>If you utilize <application>PAM</application>:</para>
     26
    2527<screen><userinput><command>cat &gt; /etc/pam.d/esmtp &lt;&lt; "EOF</command>
    2628# Begin /etc/pam.d/esmtp
     
    6062<command>EOF</command></userinput></screen>
    6163
    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>
    6765database:</para>
    6866
    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;
     72USE courier_mail</command></userinput></screen>
     73
     74<para>This command will setup the table users for the courier_mail
     75database:</para>
     76
     77<screen><userinput><command>CREATE TABLE users (
     78id                    char(128) DEFAULT '' NOT NULL,
     79crypt                 char(128) DEFAULT '' NOT NULL,
     80clear                 char(128) DEFAULT '' NOT NULL,
     81name                  char(128) DEFAULT '' NOT NULL,
     82uid                   int(10) unsigned DEFAULT '65534' NOT NULL,
     83gid                   int(10) unsigned DEFAULT '65534' NOT NULL,
     84home                  char(255) DEFAULT '' NOT NULL,
     85quota                 char(255) DEFAULT '' NOT NULL,
     86KEY id (id(128))
     87);</command></userinput></screen>
    8288
    8389<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;
     93QUIT</command></userinput></screen>
    9094
    9195<para><emphasis>General Settings for Mail</emphasis></para>
     
    133137following commands:</para>
    134138
    135 <screen><userinput><command>makesmtpaccess
    136 makehosteddomains
     139<screen><userinput><command>makesmtpaccess &amp;&amp;
     140makehosteddomains &amp;&amp;
    137141makealiases</command></userinput></screen>
    138142
     
    186190your system users.</para>
    187191
    188 <screen><userinput><command>cd /home/<replaceable>[username]</replaceable>
    189 maildirmake Maildir
     192<screen><userinput><command>cd /home/<replaceable>[username]</replaceable> &amp;&amp;
     193maildirmake Maildir &amp;&amp;
    190194chown <replaceable>[username]</replaceable>.<replaceable>[username]</replaceable> Maildir -R</command></userinput></screen>
    191195
     
    195199users.</para>
    196200
    197 <screen><userinput><command>echo "vmailman:x:9000:9000:Virtual Mailman:/home/vmailman:/bin/bash" &gt;&gt; /etc/passwd
    198 echo "vmailman:x:9000:" &gt;&gt; /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 &amp;&amp;
     202useradd -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 &amp;&amp;
     207mkdir <replaceable>[virtual_user]</replaceable> &amp;&amp;
     208cd <replaceable>[virtual_user]</replaceable> &amp;&amp;
     209maildirmake Maildir &amp;&amp;
    206210chown vmailman.vmailman Maildir -R</command></userinput></screen>
    207211
    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>
     213database.</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
     218least 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>',
     2259000,
     2269000,
     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',
     2389000,
     2399000,
     240'/home/vmailman/blfsuser',
     241''
     242);</command></userinput></screen>
    221243
    222244<para><emphasis>Setup for Web-based Email</emphasis></para>
     
    225247system.</para>
    226248
    227 <para>You will need to copy the file webmail from
    228 <filename>/usr/lib/courier/courier/webmail/webmail</filename> to your <filename>cgi-bin
     249<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
    229251</filename> directory of your <application>Apache</application>
    230252server.</para>
     
    236258<application>Apache</application> server. The directory needs to be named
    237259<filename>webmail</filename> or you need to specify it during the configure
    238 phase with <command>--enable-imageurl=/url</command>.</para>
     260phase with <parameter>--enable-imageurl=<replaceable>[URL]</replaceable></parameter>.</para>
    239261
    240262<screen><userinput><command>cp -a /usr/share/courier/sqwebmail/images /var/www/htdocs/webmail</command></userinput></screen>
     
    244266system.</para>
    245267
    246 <para>You will need to copy the file <filename>webadmin</filename> from
    247 <filename class="directory">/usr/lib/courier/webmail/webadmin</filename>
    248 to your <filename class="directory">cgi-bin </filename> directory of your
     268<para>You will need to copy the <filename>webadmin</filename> file from
     269<filename class="directory">/usr/lib/courier/courier/webmail</filename>
     270to your <filename class="directory">cgi-bin</filename> directory of your
    249271<application>Apache</application> server.</para>
    250272
  • server/mail/courier/courier-desc.xml

    r4dbc3f7a r7283ae5  
    22<title>Contents</title>
    33
    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>
    4463
    4564</sect2>
     
    5069<para><command>cancelmsg</command> removes a message from the mail queue.</para></sect3>
    5170
     71<sect3><title>courier</title>
     72<para><filename>courier</filename> Courier is a modular multi-protocol E-mail transport agent. The courier
     73command 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
     77are used to selectively block unwanted mail.</para></sect3>
     78
    5279<sect3><title>couriermlm</title>
    5380<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
     84used to selectively block unwanted mail.</para></sect3>
    5485
    5586<sect3><title>lockmail</title>
     
    6697<para><filename>maildrop</filename> is a replacement local mail delivery agent that includes a mail filtering
    6798language.</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>
    9999
    100100<sect3><title>makeacceptmailfor</title>
     
    127127</filename>.</para></sect3>
    128128
     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.
     138This sendmail command is part of the Courier mail server, although it attempts to emulate the behavior of the
     139original sendmail MTA.</para></sect3>
     140
    129141<sect3><title>showconfig</title>
    130142<para><filename>showconfig</filename> Shows the current Courier configuration.</para></sect3>
     
    133145<para><filename>showmodules</filename> Shows the current Courier modules.</para></sect3>
    134146
    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
     149domain.  This is useful in diagnosing mail delivery problems..</para></sect3>
    141150
    142151</sect2>
    143 
  • server/mail/courier/courier-exp.xml

    r4dbc3f7a r7283ae5  
    22<title>Command explanations</title>
    33
    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
     5the directory which contains programs and libraries that cannot be
     6directly executed from the command-line.</para>
    167
    178<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>
     9directory where miscellaneous shell scripts,
     10<application>Perl</application> scripts, and data files will be
     11installed.</para>
    2012
    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>:
     14Specifies the directory that will hold the mail queue, and other
     15temporary data.</para>
    2516
    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
     18the directory where <application>Courier</application>'s
     19<filename>PID</filename> files are stored when
     20<application>Courier</application> is active.</para>
    3721
    3822<para><option>--disable-root-check</option>: Allows
    3923<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.
     27This option specifies the userid that <application>Courier</application>
     28will 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
     35negotiating Courier-specific <acronym>ESMTP</acronym> extensions with
     36remote servers. The <application>Courier</application> mail server
     37defines and implements certain experimental <acronym>ESMTP</acronym>
     38extensions: XVERP and XEXDATA. Problems may result in the event that
     39someone else uses the same name to implement some other extension. If
     40this 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
     43not recognize any Courier-specific extensions unless the remote mail
     44server also advertises this dummy <acronym>ESMTP</acronym>
     45capability.</para>
     46
     47<para><option>--disable-autorenamesent</option>: Do not rename the Sent
     48folder 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
     52are several confirmed bugs in some <acronym>IMAP</acronym> clients that
     53do not properly implement the <acronym>IMAP</acronym>4rev1 protocol.
     54This option enables some workarounds for those buggy
     55<acronym>IMAP</acronym> clients. NOTE: <command>make check</command>
     56will fail if this option is used. You should first configure without
     57this option, and if all post-configuration tests succeed, rerun
     58configure with this option and recompile.</para>
    4059
    4160<para><parameter>--with-db=gbbm</parameter>:
     
    4362<application><acronym>GDBM</acronym></application> or the
    4463<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
     65present. This option forces the selection of the database
     66library.</para>
    4767
    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
     69the database files will not be created correctly -->
    6570
    6671<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
     73checking, if <command>configure</command> finds
     74<application>ispell</application> or if you explicitly set the location
     75of <application>aspell</application>.</para>
    7276
     77<para><parameter>--enable-mimetypes=<replaceable>[location of mime.types file]</replaceable></parameter>:
     78Use this switch if you receive an error saying that the
     79<filename>mime.types</filename> file could not be found.</para>
     80   
    7381</sect2>
    74 
  • server/mail/courier/courier-inst.xml

    r4dbc3f7a r7283ae5  
    99useradd -c 'Courier Mail Server' -d /dev/null -g courier -s /bin/false courier</command></userinput></screen>
    1010
     11<para> You also need to create a bin user. If you already have a user named bin
     12this 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
     18all the <application>Courier</application> <acronym>MTA</acronym> pid
     19files will exist. This will allow <filename>courierfilter.pid</filename>
     20to be created. Without the <command>courierfilter</command> running the
     21<application>Courier</application> MTA will not work. Issue the
     22following commands to create
     23<filename class="directory">/var/run/courier</filename>:</para>
     24
     25<screen><userinput><command>mkdir /var/run/courier &amp&amp;
     26chown courier:courier /var/run/courier</command></userinput></screen>
    1127
    1228<para>Install <application>courier</application> by running the following commands:</para>
    1329
    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 &amp;&amp;
     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 &amp;&amp;
    2136make &amp;&amp;
    2237make install &amp;&amp;
    2338make install-configure</command></userinput></screen>
    2439
    25 <!-- # Note - You may receive an error saying that the mime.types file
    26 could not be found.  This can easily be corrected by changing
    27 -enable-mimetypes=(location of mime.types file)  -->
    28 
    29 
    3040</sect2>
    31 
  • server/mail/courier/courier-intro.xml

    r4dbc3f7a r7283ae5  
    88packages also includes a web-based email interface, <acronym>IMAP</acronym>,
    99<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<!--
     13The configuration
    1114listed below will allow users with <acronym>PAM</acronym> and virtual-users in
    1215a <application>My<acronym>SQL</acronym></application> Database access to email.</para>
    13 
     16-->
    1417
    1518<sect3><title>Package information</title>
     
    2629<para><xref linkend="gdbm"/> or <xref linkend="db"/></para></sect4>
    2730<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>
    3244</sect3>
    3345
  • server/mail/courier/courier.ent

    r4dbc3f7a r7283ae5  
    55<!ENTITY courier-config SYSTEM "courier-config.xml">
    66<!ENTITY courier-desc SYSTEM "courier-desc.xml">
    7 <!ENTITY courier-version "0.45.1">
     7<!ENTITY courier-version "0.45.4">
    88<!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 "">
    1010<!ENTITY courier-size "4.2 MB">
    11 <!ENTITY courier-buildsize "134 MB">
    12 <!ENTITY courier-time "2.79 SBU">
     11<!ENTITY courier-buildsize "114 MB">
     12<!ENTITY courier-time "3.00 SBU">
Note: See TracChangeset for help on using the changeset viewer.