Mail Server-Install Squirrel Mail on Mail Server

To add webmail option:

Login your mail server with user root.
login as: root
root@192.168.65.123′s password:
Last login: Thu Sep 13 14:40:58 2007 from dd-wrt
Linux server1 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
server1:~#apt-get install squirrelmail

Then you should get:
Run /usr/sbin/squirrelmail-configure as root to configure/upgrade config.

/usr/sbin/squirrelmail-configure
Choose option D and type
Command >> courier
then press any key
Q
to quit
Y
to save data

after we edit
nano /etc/apache2/sites-enabled/000-default

<Directory “/usr/share/doc/”>
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
Alias /squirrelmail /usr/share/squirrelmail
<Directory /usr/share/squirrelmail>
Options Indexes
AllowOverride none
DirectoryIndex index.php
Order allow,deny
allow from all
</Directory>

</VirtualHost>

After restart Apache2
/etc/init.d/apache2 restart
then type in your favorite browser
http://server1.example.com/squirrelmail/src/login.php
username is User@example.com with the chosen password…

You can also customize the php for support with big mailbox
nano /etc/php5/apache2/php.ini
change
max_execution_time = 30 …………….to
max_execution_time = 60
memory_limit = 16M……………………..to
memory_limit = 64M

then restart postfix server

/etc/init.d/apache2 restart

Have fun

This entry was posted in node. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>