1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/mail/ilohamail/files/pkg-message.in
TAKATSU Tomonari bdaca27c6e - Use $SUB_FILES to dynamically adjust pkg-message [1]
- Fix mysql commands in pkg-message.in, partially based on [1]
- Change MAINTAINER address from tota@rtfm.jp to tota@FreeBSD.org

PR:		ports/142732 [1]
Submitted by:	Sevan Janiyan <venture37_AT_geeklan.co.uk> [1]
Approved by:	maho (mentor)
2010-02-09 14:58:53 +00:00

42 lines
1.4 KiB
Plaintext

==========================================================================
IlohaMail has now been installed.
Create a redirect one of the following methods:
- add an alias to apache's httpd.conf pointing to %%ILOHADIR%%/source
- create a VirtualHost with DocumentRoot set to %%ILOHADIR%%/source
- make a symbolic link to %%ILOHADIR%%/source
Check your PHP.ini file. You need:
- short_open_tag = On
- file_uploads = On
Edit %%ILOHADIR%%/conf/conf.inc and
%%ILOHADIR%%/conf/login.inc files as necessary.
Using the MySQL back-end is also recommended.
1. Create database user who has rights on webmail database manipulation
by following "sample" mysql commands:
$ mysql -u root -p
mysql> use mysql;
mysql> grant select,insert,update,delete,index,
-> alter,create,drop,references, lock tables,
-> create temporary tables on webmail.* to webmail@localhost
-> identified by 'password';
mysql> flush privileges;
2. Create a MySQL database.
$ mysqladmin create webmail -u root -p
3. Create tables.
$ mysql webmail < %%DATADIR%%/MySQL/sql -u root -p
4. Configure %%ILOHADIR%%/conf/db_conf.php.
5. Set value of $backend in %%ILOHADIR%%/conf/conf.inc from "FS" to "DB".
For more complete database setup, post-installation instructions
please read IlohaMail Guide in %%DOCSDIR%%/Manual.
==========================================================================