[cvs] [Wiki] changed: FAQ/Admin/Config
Chuck Hagenbuch
chuck at horde.org
Sat Feb 17 08:54:27 PST 2007
chuck Sat, 17 Feb 2007 08:54:27 -0800
Modified page: http://wiki.horde.org/FAQ/Admin/Config
New Revision: 4.9
Change log: remove more horde 1.2 and imp 2.x entries
@@ -43,30 +43,8 @@
DocumentRoot /usr/local/apache/htdocs/horde/imp
</code>
(substituting your own directory names for the defaults above). Then, make sure links within Horde are correct as follows:
-
-**[Horde 1.2]:** Modify the following variables in {{/horde/config/horde.php3}}:
-
-<code type="php">
-$default->horde_root_url = '/horde';
-$default->horde_graphics_url = $default->horde_root_url . '/graphics';
-$default->horde_include_dir = './templates';
-</code>
-
-Note that the above are relative to the URL, not to the filesystem; the alias we added to the webserver will ensure that /horde works for anything not included in the component (such as problem reporting).
-
-Lastly, configure the Horde component (e.g. IMP) to be at the root of the webserver.
-
-**[IMP 2.x]:** Modify the following values in the file {{/horde/imp/config/defaults.php3}}:
-
-<code type="php">
-$default->root_url = '';
-$default->graphics_url = $default->root_url . '/graphics';
-$default->include_dir = './templates';
-</code>
-
-Note that the {{root_url}} is the empty string {{""}}, and is NOT {{'/'}}!
**[IMP 3.x/4.x]:** Modify the {{$this->applications['imp']}} array in {{horde/config/registry.php}} and change the value of the webroot as follows:
<code type="php">
@@ -266,17 +244,8 @@
http://example.net/webmail/
</code>
mail will be sent from //username at example.net//.
-
-**[IMP 2.2]:** To do this, set the following values in {{/horde/imp/config/defaults.php3}}:
-
-<code type="php">
-$default->server = $SERVER_NAME;
-$default->from_server = $SERVER_NAME;
-</code>
-
-Note that the above will allow someone to go to a different virtual host than the one they are intended to use, after which their mail will come from the unintended virtual host.
**[IMP 3.x]:** It is possible in IMP 3.x to use virtual hosts, but at this time we have no instructions for doing so. You can check the IMP mailing list archives for information.
+++ How can I restrict what my users can do with IMP?
@@ -457,54 +426,20 @@
+++ How can I use LDAP for IMP's contact list?
For LDAP searches to work in IMP, LDAP support must have been compiled into PHP.
-**[IMP 2.2]:** To configure IMP to allow LDAP searches in the contact list, first enable LDAP in {{/horde/imp/config/defaults.php3}}:
-
-<code type="php">
-$default->use_ldap_search = true;
-</code>
-
-Then, in {{/horde/imp/config/ldap.php3}}, specify your LDAP servers. An example LDAP server configuration is available in {{/horde/imp/config/ldap.php3.dist}}.
-
-**[IMP 3.x]:** IMP 3.x no longer has a built-in address book, but instead uses the Horde module Turba for an address book. See the Turba faq section for information on configuring Turba for LDAP support. You must have Turba installed and working before you configure IMP to use it for address books.
+**[IMP 3+]:** IMP 3.x no longer has a built-in address book, but instead uses the Horde module Turba for an address book. See the Turba faq section for information on configuring Turba for LDAP support. You must have Turba installed and working before you configure IMP to use it for address books.
To configure IMP to use one or more Turba directories, you modify the file {{horde/imp/config/prefs.php}} to set the value of the {{$_prefs['search_sources']}} array. The 'value' field of this array needs to be set to a tab delimited set of Turba directory sources. IMP will then use these sources for directory lookups.
+++ How can I let users change their password through IMP?
-**[IMP 2.2]:** To enable password changes through IMP, set the following in {{/horde/imp/config/defaults.php3}}:
-
-<code type="php">
-$default->change_password = 'poppassd.php3';
-$default->poppassd_server = $SERVER_NAME;
-$default->poppassd_port = '0';
-</code>
-
-You will have to install a [http://www.netwinsite.com/poppassd/ poppassd server] on your IMAP server for the above to work. Note that that poppassd won't work out of the box unless you're using !SunOS from 1993; you'll have to tell it what to expect from your passwd command at the top of {{poppassd.c}}.
-
-If you're using a recent version of Linux that authenticates via PAM, Jacob Coreil observes that a modified and [ftp://ftp.ceti.com.pl/pub/linux/poppassd-1.8-ceti.tar.gz PAM-ready version of poppassd] is also available. Piotr Michalczyk reported that, if you're using SASL authentication, you may want to install [http://pm.freehost.pl/file/saslpoppassd.tar.bz2 saslpoppassd] (by Mikkel Fischer).
-
-You can also set
-
-<code type="php">
-$default->change_password
-</code>
-
-to the URL of a dedicated password-changing program at your site, or you can change
-
-<code type="php">
-$default->poppassd_server
-</code>
-
-to point to a central password server at your site which runs poppassd.
-
**[IMP 3+]:** Since version 3.x IMP does not include support for changing passwords. You can download a seperate Horde module called [http://www.horde.org/passwd/ Passwd] to add this functionality.
+++ How can I let users open new accounts through IMP?
**[IMP 2.2]:** There is rudimentary account-signup functionality built into Horde 1.2 (IMP 2.2), which will allow users to fill out a form to request an account, and then send the collected data to a specified email address. To enable it, set the following in {{horde/config/horde.php3}}:
<code type="php">
-$default->signup = true;
+$default->signup = true;
$default->signup_email = 'address which receives account requests';
</code>
There is currently no automated account creation facility in IMP. If you feel you are capable of writing this (meaning that you know how to write secure setuid programs!), look at {{horde/signup.php3}}. Keep in mind that allowing users to create accounts without any sort of admin authorization might not be a good thing.
More information about the cvs
mailing list