307 lines
5.1 KiB
HTML
307 lines
5.1 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Configure Webmail IMP via your web browser</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.60"><LINK
|
|
REL="HOME"
|
|
TITLE="Securing and Optimizing Linux"
|
|
HREF="index.html"><LINK
|
|
REL="UP"
|
|
TITLE="Optional component to install with Apache"
|
|
HREF="opt-Apache.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Configure your php.ini from PHP4"
|
|
HREF="chap29sec277.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Software -Server/File Sharing-Network"
|
|
HREF="soft-fileshrng.html"></HEAD
|
|
><BODY
|
|
CLASS="section"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Securing and Optimizing Linux: RedHat Edition -A Hands on Guide</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="chap29sec277.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 30. Optional component to install with Apache</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="soft-fileshrng.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="section"
|
|
><H1
|
|
CLASS="section"
|
|
><A
|
|
NAME="AEN21743"
|
|
>30.16. Configure Webmail <SPAN
|
|
CLASS="acronym"
|
|
>IMP</SPAN
|
|
> via your web browser</A
|
|
></H1
|
|
><P
|
|
> Several ways exist to configure Webmail <SPAN
|
|
CLASS="acronym"
|
|
>IMP</SPAN
|
|
>, and the one we've chosen is the new setup engine named <TT
|
|
CLASS="filename"
|
|
>setup.php3</TT
|
|
>, which gives people the ability to configure <SPAN
|
|
CLASS="acronym"
|
|
>IMP</SPAN
|
|
> via
|
|
a web browser.
|
|
</P
|
|
><DIV
|
|
CLASS="procedure"
|
|
><OL
|
|
TYPE="1"
|
|
><LI
|
|
><P
|
|
> For security reasons, it is disabled by default, but you can enable it with the following commands:
|
|
To enable <TT
|
|
CLASS="filename"
|
|
>setup.php</TT
|
|
>, use the following command:
|
|
<TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="screen"
|
|
> [root@deep ] /# <B
|
|
CLASS="command"
|
|
>cd</B
|
|
> /home/httpd/horde/
|
|
[root@deep ] /horde# sh ./install.sh
|
|
</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
<TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="literallayout"
|
|
><TT
|
|
CLASS="computeroutput"
|
|
> Your blank configuration files have been created, please go to
|
|
the configuration utitlity at :
|
|
|
|
your install path url/setup.php3
|
|
</TT
|
|
></PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
> Once the new setup engine of Webmail IMP has been enabled, point your browser to the following URL: <TT
|
|
CLASS="literal"
|
|
>http://my-web-server/horde/setup.php</TT
|
|
>. At this point, you can walk through the graphical setup program
|
|
and configure all aspects of <SPAN
|
|
CLASS="acronym"
|
|
>IMP</SPAN
|
|
>.
|
|
|
|
<TT
|
|
CLASS="filename"
|
|
>my-web-server</TT
|
|
> is the address where your Apache web server lives, and the <TT
|
|
CLASS="filename"
|
|
>/horde/</TT
|
|
> directory is where the <TT
|
|
CLASS="filename"
|
|
>setup.php</TT
|
|
> file resides.
|
|
|
|
</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
> When you are done with the new setup engine of Webmail IMP, be sure to disable it again for security reasons.
|
|
To disable <TT
|
|
CLASS="filename"
|
|
>setup.php</TT
|
|
>, use the following command:
|
|
<TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="screen"
|
|
> [root@deep ] /# <B
|
|
CLASS="command"
|
|
>cd</B
|
|
> /home/httpd/horde/
|
|
[root@deep ] /horde# sh ./secure.sh
|
|
</PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
<TABLE
|
|
BORDER="0"
|
|
BGCOLOR="#E0E0E0"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
><PRE
|
|
CLASS="literallayout"
|
|
><TT
|
|
CLASS="computeroutput"
|
|
> I have made your configuration files, and libraries mode 0555
|
|
which is read / execute for everyone.
|
|
|
|
And the setup.php is mode 0000 which is no access period.
|
|
</TT
|
|
></PRE
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
>
|
|
</P
|
|
></LI
|
|
></OL
|
|
></DIV
|
|
><P
|
|
> At this stage, we must verify that Webmail <SPAN
|
|
CLASS="acronym"
|
|
>IMP</SPAN
|
|
> is working on your system. To do this, point your web browser to the following address: <TT
|
|
CLASS="literal"
|
|
>http://my-web-server/horde/</TT
|
|
>.
|
|
<TT
|
|
CLASS="filename"
|
|
>my-web-server</TT
|
|
> is the address where your Apache web server lives, and <TT
|
|
CLASS="filename"
|
|
>/horde</TT
|
|
> is the directory that host Webmail <TT
|
|
CLASS="literal"
|
|
>IMP</TT
|
|
> program.
|
|
|
|
</P
|
|
><DIV
|
|
CLASS="mediaobject"
|
|
><P
|
|
><IMG
|
|
SRC="./images/Webmail-IMP.gif"
|
|
ALT="Webmail through browser"
|
|
></IMG
|
|
></P
|
|
></DIV
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="chap29sec277.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="soft-fileshrng.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Configure your <TT
|
|
CLASS="filename"
|
|
>php.ini</TT
|
|
> from PHP4</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="opt-Apache.html"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Software -Server/File Sharing-Network</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |