Postfix Cyrus Web cyradm HOWTO
touch /var/log/web cyradm.log
chown nobody /var/log/web cyradm.log
After unpacking web cyradm, move it to a place in your webserver's documentroot.
Thats all. Now you need to configure the whole bunch of software.
Web cyradm 0.5.4 is considered stable, and was released on 2003 12 05
Since web cyradm uses PEAR for its database abstraction layer, you also need a
recent copy of PEAR. This is included in recent PHP Versions. I strongly suggest to
update PHP to 4.3.4, because a lot of important bugs have been fixed.
A frequent mistake is to forget to touch the logfile and change the owner to the
Apache UID. This is usually nobody or wwwrun .
3.8.3. Create the databases and tables
Now we need to create the database and tables for Postfix and Web cyradm and add
a user to the database.
Web cyradm comes with several MySQL scripts:
insertuser_mysql.sql
and
create_mysql.sql
. The first inserts the Database user to the database mysql
and creates the database mail . The second creates the required tables and
populates the database with an initial admin user and the cyrus user.
The other scripts are used for incremental upgrading from older releases.
The password for the database user mail in this example is secret . Please insert
whatever user and password you like.
The username for the initial superuser is admin with the password test .
Change the default password!
If a malicious user wants to gain unauthorized access to a
system, the first attempt is always the default username and
password supplied by the vendor. It is IMPORTANT that you
change them in the scripts before applying them.
After customizing the username and password, apply the scripts:
/usr/local/mysql/bin/mysql u root p < \
/usr/local/apache/htdocs/web cyradm/scripts/insertuser_mysql.sql
/usr/local/mysql/bin/mysql mail u mail p < \
/usr/local/apache/htdocs/web cyradm/scripts/create_mysql.sql
20
MySQL Web Hosting Postfix-Cyrus-Web-cyradm MySQL Hosting
|
|
|
|
TotalRoute.net Business web hosting division of Vision Web Hosting Inc. All rights reserved. |