$NetBSD: patch-aa,v 1.4 2003/08/16 21:07:17 bouyer Exp $

--- config/horde.php.dist.orig	Mon May 19 17:56:12 2003
+++ config/horde.php.dist	Fri Aug 15 23:36:57 2003
@@ -94,7 +94,7 @@
 // What backend should we use for authenticating users to Horde? Valid
 // options are currently 'imap', 'ldap', 'mcal', 'sql', 'ftp', 'smb',
 // 'krb5' and 'radius'.
-$conf['auth']['driver'] = '';
+$conf['auth']['driver'] = 'imap';
 
 // An array holding any parameters that the Auth object will need to
 // function correctly.
@@ -105,7 +105,7 @@
 // c-client version 2000c or older), 'imap/ssl', or imap/ssl/novalidate-cert
 // (for a self-signed certificate).  Default ports are 143 for imap and
 // 993 for imap over ssl.
-// $conf['auth']['params']['dsn'] = '{imap.example.com:143/imap}INBOX';
+$conf['auth']['params']['dsn'] = '{localhost:143/imap}INBOX';
 
 // See $conf['prefs']['params'] further down for an example how to
 // setup a SQL backend. But you must use the horde_users SQL table for
@@ -127,14 +127,14 @@
 
 // What log driver should we use? Valid values are 'file', 'mcal',
 // 'sql', and 'syslog'.
-$conf['log']['type'] = 'file';
+$conf['log']['type'] = 'syslog';
 
 // What is the name of the log? For the 'file' driver, this is the
 // path to a text file; for mcal, it would be the name of a calendar,
 // and for sql it would be the table name to use. For the 'syslog'
 // driver it is the facility as a _constant_ (with no quotes), e.g.:
 // ... = LOG_LOCAL0;
-$conf['log']['name'] = '/tmp/horde.log';
+$conf['log']['name'] = 'LOG_MAIL';
 
 // What level of messages should we log? The values are LOG_EMERG,
 // LOG_ALERT, LOG_CRIT, LOG_ERR, LOG_WARNING, LOG_NOTICE, LOG_INFO,
@@ -159,7 +159,7 @@
 // (meaning use system defaults and don't save any user preferences),
 // 'session' (preferences only persist during the login), 'ldap',
 // and 'sql'.
-$conf['prefs']['driver'] = 'none';
+$conf['prefs']['driver'] = 'sql';
 
 // Any parameters that the preferences driver needs. This includes
 // database or ldap server, username/password to connect with, etc.
@@ -168,12 +168,12 @@
 // This is an example configuration for a MySQL preference backend.
 // The SQL script to setup the preference database is placed in
 // horde/scripts/db/prefs.sql.
-// $conf['prefs']['params']['phptype'] = 'mysql';
-// $conf['prefs']['params']['hostspec'] = 'localhost';
-// $conf['prefs']['params']['username'] = 'horde';
-// $conf['prefs']['params']['password'] = '*****';
-// $conf['prefs']['params']['database'] = 'horde';
-// $conf['prefs']['params']['table'] = 'horde_prefs';
+$conf['prefs']['params']['phptype'] = 'mysql';
+$conf['prefs']['params']['hostspec'] = 'localhost';
+$conf['prefs']['params']['username'] = 'hordemgr';
+$conf['prefs']['params']['password'] = 'hordemgr';
+$conf['prefs']['params']['database'] = 'horde';
+$conf['prefs']['params']['table'] = 'horde_prefs';
 
 // This is an example configuration for an LDAP preference backend.
 // The schemas needed for ldap are in horde/scripts/ldap.  For more
@@ -222,8 +222,8 @@
 // option; SMTP requires at least a server and a port (if nonstandard).
 // SMTP authentication can be enabled by setting the 'auth' parameter
 // to true.
-$conf['mailer']['params'] = array();
-// $conf['mailer']['params'] = array('sendmail_path' => '/usr/lib/sendmail');
+//$conf['mailer']['params'] = array();
+$conf['mailer']['params'] = array('sendmail_path' => '/usr/sbin/sendmail');
 // $conf['mailer']['params'] = array('host' => 'smtp.example.com');
 
 
@@ -298,10 +298,10 @@
 
 // Should we display a problem reporting link in Horde application
 // menus?
-$conf['problems']['enabled'] = false;
+$conf['problems']['enabled'] = true;
 
 // If so, where should problem report emails be sent?
-$conf['problems']['email'] = 'webmaster@example.com';
+$conf['problems']['email'] = 'postmaster';
 
 
 /**
