configuration of squirrel mail in RHEL 5.2
For more Linux based tutorials My BLOG
To install squirrel mail you will need to download the tar file.
here is a link where you can find one
http://squirrelmail.org/download.php
make a directory inside /var/www/
and unzip the file tar file inside this directory. You can use this command for that
you might also need php and php-imap to install PHP supports for Apache/IMAP.
Now make one symlink for the squirrelmail.x.x.x
you can check the symlinks
Now just edit your apache configuration file with the virtual host entry
Here server is the name of your machine and example.com is the domain name so change as per your namchine hostname and domain name.
IP used is your machine's IP.
Restart the apache server
Now configure the squirrel mail server
Now follow the instructions to edit your squirrelmail as per your requirements.
You also might need to Create 'attach' and 'data' directories for SquirrelMail:
Change the ownership of both these files to apache
Go to the browser and mention the ip of your machine
you will get the login page
try logging with one of your self created user
*********************************************************************
If you are unable to send or receive mails
you will require to install dovecot for Imap server and smtp sendmail server
To install squirrel mail you will need to download the tar file.
here is a link where you can find one
http://squirrelmail.org/download.php
make a directory inside /var/www/
Code:
#mkdir /var/www/mail
Code:
#tar -tjvf squirrelmail.x.x.x.tar.bz2
Code:
#yum -y install php php-imap #cd /var/www/mail
Code:
#ln -s squirrelmail.x.x.x/ mail
Code:
#ls -l
Code:
#vi /etc/httpd/conf/httpd.conf (at the end of the file) <virtualHost 192.x.x.x:80> ServerAdmin mail@server.example.com DocumentRoot /var/www/mail/ <Directory /var/www/mail> Options FollowSymlinks Order allow,deny Allow from all </Directory> </VirtualHost>
IP used is your machine's IP.
Restart the apache server
Code:
#service httpd restart
Code:
#cd /var/www/mail/mail/config/ #./config.pl
You also might need to Create 'attach' and 'data' directories for SquirrelMail:
Code:
/var/local/squirrelmail/{data,attach} (if you go for default settings)
Code:
#chown -R apche:apache /var/local/squirrelmail/
Code:
http://192.168.x.x/mail
you will get the login page
try logging with one of your self created user
*********************************************************************
If you are unable to send or receive mails
you will require to install dovecot for Imap server and smtp sendmail server
Total Comments 0