| |
TWIG - Web-Based E-Mail and More
TWIG (The Web Information Gateway) is a powerful
web-based intranet/groupware tool and application framework. It is implemented using
PHP, an HTML-embedded scripting language, and the
MySQL database application.
You can use TWIG to provide e-mail accounts that are easily accessible from anywhere on the
Web. Other features include a contact manager, scheduler, Usenet Newsgroup support, to-do lists,
and bookmarks. Many more features are planned.
Installation
To install TWIG, do the following according to your Virtual Private Server O/S.
FreeBSD &
Solaris [twig 2.7.5]
Install MySQL on your Virtual Private
Server. Be sure to set up a root password when you install.
Install PHP4 on your Virtual Private Server.
TWIG requires this version of the PHP4 Apache module:
mod_php4-4.2.2-module-mysql-mcrypt-ftp-imap.so
NOTE: With the release of PHP4.2.2, one of the default settings has
been changed. This has been found to affect several commonly used scripts, including TWIG.
If you are using TWIG or are having trouble with scripts that worked without problems
prior to upgrading to version 4.2.2, create a file named php.ini in the
~/usr/local/lib/ directory of your Virtual Private Server. The php.ini file
needs to contain at least this line:
register_globals = On
|
Connect to your Virtual Private Server via
Telnet or SSH and install the TWIG
software by issuing the following command.
% vinstall twig
BSD/OS Upgrade!
Refer to these special instructions:
Huh?
If you don't know the Virtual Private Server O/S, try the following:
Reading E-Mail
You will now be able to read your Virtual Private Server e-mail with any web browser (e.g.
Netscape or MSIE). You simply need to access a URL like this:
http://YOUR-DOMAIN.NAME/twig/
TWIG will prompt you for your e-mail username and password. After successful authentication,
the contents of your mailbox will be displayed.
NOTE: Since TWIG uses IMAP it also can be used to create
additional mail folders to sort and store incoming mail. Any additional mail folders that a
user creates will be created in the user's home directory as listed in your local password
file (~/etc/passwd). If the user's home directory happens to be defined as a directory
in the ~/www/htdocs/ or ~/www/vhosts directory structure (typically created in
this fashion such that the user can upload and download content to and from a
Virtual Subhost via FTP) then any mail folders
these users create using TWIG will be accessible to anyone via a web client.
Therefore, it is highly recommended that these users create any additional mail
folders under a Mail subdirectory and create a .htaccess file and store it in
such a Mail directory to protect the confidentiality of the mail stored therein. The
contents of a suitable .htaccess file are shown below:
<Limit GET POST PUT DELETE>
deny from all
</Limit>
|
More Information
For more information see:
|
|
|