Fixing config.php.sample

This commit is contained in:
Mikko Husari 2008-12-10 21:05:44 +02:00
parent 7f07671b68
commit 9a3157d8d9

View File

@ -79,16 +79,16 @@ $conf['amavisd']['spam_release_port'] = '9998';
$conf['db']['dbType'] = 'mysql'; $conf['db']['dbType'] = 'mysql';
// Database user who can access the amavisd database // Database user who can access the amavisd database
$conf['db']['dbUser'] = 'amavis'; $conf['db']['dbUser'] = 'user';
// Password for above user to access the amavisd database // Password for above user to access the amavisd database
$conf['db']['dbPass'] = 'minion'; $conf['db']['dbPass'] = 'pass';
// Name of database // Name of database
$conf['db']['dbName'] = 'amavis'; $conf['db']['dbName'] = 'dbname';
// Database host specification (hostname[:port]) [localhost] // Database host specification (hostname[:port]) [localhost]
$conf['db']['hostSpec'] = 'localhost:3306'; $conf['db']['hostSpec'] = 'hostname.example.com:3306';
// If using the bytea or BLOB mail_text quarantine type set to // If using the bytea or BLOB mail_text quarantine type set to
// True. Since amavisd-2.4.4. // True. Since amavisd-2.4.4.
@ -109,7 +109,7 @@ $conf['db']['binquar'] = false;
exchange -> MS Exchange 5.5 exchange -> MS Exchange 5.5
imap -> IMAP protocol imap -> IMAP protocol
*/ */
$conf['auth']['serverType'] = 'imap'; $conf['auth']['serverType'] = 'ldap';
/*** LDAP Authentication Settings ***/ /*** LDAP Authentication Settings ***/
@ -252,7 +252,7 @@ $conf['auth']['exch_domain'] = '';
/*** IMAP Authentication Settings ***/ /*** IMAP Authentication Settings ***/
// List of IMAP servers and ports (e.g.: 10.1.1.20:143) // List of IMAP servers and ports (e.g.: 10.1.1.20:143)
$conf['auth']['imap_hosts'] = array( 'localhost:993' ); $conf['auth']['imap_hosts'] = array( 'imaphost.example.com:143' );
// IMAP type // IMAP type
/* Options are: /* Options are:
@ -262,10 +262,10 @@ $conf['auth']['imap_hosts'] = array( 'localhost:993' );
imapcert -> use the Secure Socket Layer to encrypt the session, imapcert -> use the Secure Socket Layer to encrypt the session,
do not validate certificates from TLS/SSL server, needed if server uses self-signed certificates do not validate certificates from TLS/SSL server, needed if server uses self-signed certificates
*/ */
$conf['auth']['imap_type'] = 'imapcert'; $conf['auth']['imap_type'] = 'imapssl';
// Domain name part of the email address, (e.g.: example.com) // Domain name part of the email address, (e.g.: example.com)
$conf['auth']['imap_domain_name'] = 'husku.net'; $conf['auth']['imap_domain_name'] = 'example.com';
/** /**
@ -291,13 +291,7 @@ $conf['auth']['imap_domain_name'] = 'husku.net';
// List of Super Admins // List of Super Admins
// Super Admins can do anything mail admins can plus // Super Admins can do anything mail admins can plus
// change settings // change settings
$conf['auth']['s_admins'] = array ('husku'); $conf['auth']['s_admins'] = array ('user1', 'user2');
// List of Mail Admins
// Mail Admins can see other users' spam and attachments
// and can perform any action on them
$conf['auth']['m_admins'] = array ('');
// List Of Domain Admins // List Of Domain Admins
// List of usernames that can control whole domain they belong to // List of usernames that can control whole domain they belong to
@ -306,6 +300,10 @@ $conf['auth']['m_admins'] = array ('');
// administer all quarantines under porche.com and lambo.com // administer all quarantines under porche.com and lambo.com
$conf['auth']['d_admins'] = array ('john'); $conf['auth']['d_admins'] = array ('john');
// List of Mail Admins
// Mail Admins can see other users' spam and attachments
// and can perform any action on them
$conf['auth']['m_admins'] = array ();
// User login restriction (Does not affect admins) // User login restriction (Does not affect admins)
// If set to true, users will not be able to login. This is if you do // If set to true, users will not be able to login. This is if you do
@ -336,7 +334,7 @@ $conf['ui']['welcome'] = 'Welcome to MailZu!';
// The full url to the root directory of MailZu // The full url to the root directory of MailZu
// Please do not include the trailing slash // Please do not include the trailing slash
$conf['app']['weburi'] = 'http://husku.net/mailzu'; $conf['app']['weburi'] = 'https://mailzuhost.example.com/mailzu';
// How to send email ['mail'] // How to send email ['mail']
/* Options are: /* Options are:
@ -345,11 +343,11 @@ $conf['app']['weburi'] = 'http://husku.net/mailzu';
'sendmail' for sendmail 'sendmail' for sendmail
'qmail' for qmail MTA 'qmail' for qmail MTA
*/ */
$conf['app']['emailType'] = 'smtp'; $conf['app']['emailType'] = 'mail';
// SMTP email host address [] // SMTP email host address []
// This is only required if emailType is SMTP // This is only required if emailType is SMTP
$conf['app']['smtpHost'] = 'localhost'; $conf['app']['smtpHost'] = '';
// SMTP port [25] // SMTP port [25]
// This is only required if emailType is SMTP // This is only required if emailType is SMTP
@ -372,7 +370,7 @@ $conf['recipient_delimiter'] = '';
// The email addresses of the support staff and/or administrator // The email addresses of the support staff and/or administrator
// An email is sent to these addresses when a user reports an error // An email is sent to these addresses when a user reports an error
// or clicks the "Email Administrator" link // or clicks the "Email Administrator" link
$conf['app']['adminEmail'] = array('husku@husku.net'); $conf['app']['adminEmail'] = array('support@example.com');
// Email admin upon Release Request // Email admin upon Release Request
// When users try to release a banned file a request is sent to an // When users try to release a banned file a request is sent to an
@ -390,7 +388,7 @@ $conf['app']['notifyAdmin'] = 0;
// with releasing attachments. Default is 1 (show link). // with releasing attachments. Default is 1 (show link).
// //
// $conf['app']['showEmailAdmin'] = 0; // $conf['app']['showEmailAdmin'] = 0;
$conf['app']['showEmailAdmin'] = 0; $conf['app']['showEmailAdmin'] = 1;
// Site Quarantine Summary display toggle. // Site Quarantine Summary display toggle.
// Enable and display the "Site Quarantine Summary" link for admins. // Enable and display the "Site Quarantine Summary" link for admins.
@ -399,8 +397,10 @@ $conf['app']['showEmailAdmin'] = 0;
// $conf['app']['siteSummary'] = 1 // $conf['app']['siteSummary'] = 1
$conf['app']['siteSummary'] = 1; $conf['app']['siteSummary'] = 1;
// Enable/Disable Domain Quarantine Summary
$conf['app']['domainSummary'] = 1; $conf['app']['domainSummary'] = 1;
// Show Site Quarantine in search only mode if set to 1. // Show Site Quarantine in search only mode if set to 1.
// No message is displayed when clicking on 'Site quarantine'. // No message is displayed when clicking on 'Site quarantine'.
// Keep the default for for large sites. // Keep the default for for large sites.
@ -453,7 +453,7 @@ $conf['app']['allowBadHeaders'] = 0;
// Virues are treated like Banned files and are placed // Virues are treated like Banned files and are placed
// in the Pending Requests and require Admin release // in the Pending Requests and require Admin release
// $conf['app']['allowViruses'] = 0 // $conf['app']['allowViruses'] = 0
$conf['app']['allowViruses'] = 1; $conf['app']['allowViruses'] = 0;
// Allow users to search by Mailid // Allow users to search by Mailid
// $conf['app']['allowMailid'] = 0 // $conf['app']['allowMailid'] = 0
@ -467,5 +467,6 @@ $conf['app']['autocreate_wbl_users'] = true;
$conf['app']['release_when_listing'] = true; $conf['app']['release_when_listing'] = true;
$conf['app']['delete_when_listing'] = true; $conf['app']['delete_when_listing'] = true;
include_once('init.php'); include_once('init.php');
?> ?>