Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: xandersen on January 25, 2006, 12:08:41 PM

Title: Installed sme-squirrelmail and now i get nothing
Post by: xandersen on January 25, 2006, 12:08:41 PM
I installed a squirrelmail rpm, and the installation went fine, as far as I could tell, but then when I tried to get my web sites, theres nothing, theres no response from the web server, but i can log in via Putty command line just fine.  I cant get the server manager, phpmyadmin, anything.  is there a way to undo changes made by an rpm?

Any help quick would be greatly appreciated, i have a presentation to make from that server in 12 hours! :oops:

Thanks!
Title: Installed sme-squirrelmail and now i get nothing
Post by: byte on January 25, 2006, 12:44:39 PM
you could remove the rpm you installed!

rpm -e nameofrom

Dont add the version number when trying to do a rpm -e
Title: Installed sme-squirrelmail and now i get nothing
Post by: dmac on January 25, 2006, 03:44:49 PM
check you httpd.conf file.  Sounds like your folder are not being properly redirected.

Darin MacLachlan
Title: Installed sme-squirrelmail and now i get nothing
Post by: boss_hog on January 25, 2006, 05:37:30 PM
Hey xandersen,
did you try restarting apache?

/etc/init.d/httpd-e-smith restart

If you need help, please post any errors showing up in the logs.
Good luck
Joe
Title: restarted httpd
Post by: xandersen on January 25, 2006, 07:47:06 PM
restarted apache, and now it works

thanks for the help!
Title: Installed sme-squirrelmail and now i get nothing
Post by: KaiNeR on January 29, 2006, 02:17:47 PM
Hi mate, i'm wanting to install squirrel mail too

but i havent got the foggiest how to do it, i read that i needed to create an ibay (which i've done) and then tar -xzvf the squirrelmail.tar.gz in teh HTML directory, then ran teh config.pl and went through all the configuration.

i want squirrel mail to ressolve to mail.mydomain.com, instead of mydomain.com/webmail

i restarted apache, but still doesnt work

any idea's anyone ??
Please


even if you give me a quick guide to what i have to do to do this

thanks
Title: Installed sme-squirrelmail and now i get nothing
Post by: dmac on February 08, 2006, 07:07:22 PM
You will need to create a template fragment for httpd.conf.

Create a file in /etc/e-smith/template-custom/etc/httpd/conf/httpd.conf/ folder.  you may need to create the folder structure if it doesn't allready exist.  Call it 81VirtualMail or what ever you want.

add the following to this file,
<VirtualHost 0.0.0.0:80>
     ServerName  mail.your.domain
     ServerAlias  mail  servername.your.domain
     DocumentRoot          /home/e-smith/files/ibays/IBAYNAME/html
     ScriptAlias   /cgi-bin  /home/e-smith/files/ibays/IBAYNAME/cgi-bin
     Alias           /files     /home/e-smith/files/ibays/IBAYNAME/files
</VirtualHost>

then run
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf

and then for good luck
/etc/init.d/httpd-e-smith restart

You cand add another virtual host for port 443 if you wish.

This is what I have done, and from outside my network, squirrelmail is accessable by mail.my.domain.  Don't forget to add a dns entry on the internet for mail to point to your SME server.

THT,

Darin