Alternate Web Based Email - Quick And Dirty Install.

sitehostz

Well-Known Member
Nov 30, 2002
66
0
156
Delaware
=============================

Sorry Everyone....

Sitehostz.com was moved to another one of our servers and I forgot about the links in the forums about squirrelmail.

For those who are following instrutions for other installs, Our version has various other plugins installed that added all of the additional features.

I will update the link in a few minutes..


==============================


Many of our clients were tired of having to login twice to get to thier email accounts online while being away from home. So we took the latest version of Squirrel Mail, added the most requested plugins and now have a Free Web Based Email Client that offers more features than those found on many commercial email scripts.

Some of the most notable features are:
External Pop3 Checker (Check unlimited accounts)
Email compose, Spell Checker
Incoming email translation.
Mail Filters
Spam Filers
Spam Cop Reporting
Html Email Viewing
Built in Calander
Mini Message Window, Shows when you new get emails
And more.. Add more plugins sitewide in a snap.

We have done a basic configuration so that you simply need to download the the file, unzip it, add a simple Alias to the top of httpd.conf, restart Apache and now every client or domain hosted on your server can use the same web based email client by going to http://thierdomain.com/email

For anyone who wishes to try this out, Follow the instructions below:

1) Login as root and cd /usr/local

2) wget http://www.sitehostz.com/files/email.tar.gz

3) tar -zxvf email.tar.gz

4) cd /usr/local/apache/conf

5) pico httpd.conf

6) at the very top of the file just under the Bandmin Alias, Add the exact same line for the email program like the following.

Alias /email /usr/local/email/

7) Restart apache.... /usr/local/apache/bin/apachectl restart

8) Now visit yourdomain.com/email and tell all of your clients that they can do the same.


To add new email accounts to be used with SquirrelMail, Simply login to your control panel and add the email accounts. For anyone who has multiple accounts, Use your main email account such as [email protected] to login with all of the time. Once logged in, setup the simple pop3 email checker to check all of your existing email accounts except for the one you choose to use as the main account. Now, everytime you log into the web based mail, you just checked all of your cpanel email accounts at once.

A quick way to check all of your email accounts is to use [email protected] and set this email addy as the default email under your control panel email settings.
 
Last edited:

sitehostz

Well-Known Member
Nov 30, 2002
66
0
156
Delaware
Hello,
The main reason for the post is that with SquirrelMail, We can check all of our pop accounts at once. Somcething that you can't do with horde or at least couldn't before.

Chris
 

Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,048
1
343
After 3 days of work I created 4 php scripts where the client
insert the user and password and login (using ssl or not)
pressing a button (absolutely no other prompt) .
It works inside the control panel or outside the control panel , for example on the client domain name . It works perfectly with horde or neomail , it works also with ssl without no double prompt .
 

JohnL

Member
Apr 10, 2003
12
0
151
...any chance you could share your login script with us ... we are all looking for such a script. Thanks!

John
 

Marty

Well-Known Member
Oct 10, 2001
629
1
318
Where did the download go? :(
 

sexy_guy

Well-Known Member
Mar 19, 2003
847
0
166
Originally posted by sitehostz
Many of our clients were tired of having to login twice to get to thier email accounts online while being away from home. So we took the latest version of Squirrel Mail, added the most requested plugins and now have a Free Web Based Email Client that offers more features than those found on many commercial email scripts.

Some of the most notable features are:
External Pop3 Checker (Check unlimited accounts)
Email compose, Spell Checker
Incoming email translation.
Mail Filters
Spam Filers
Spam Cop Reporting
Html Email Viewing
Built in Calander
Mini Message Window, Shows when you new get emails
And more.. Add more plugins sitewide in a snap.

We have done a basic configuration so that you simply need to download the the file, unzip it, add a simple Alias to the top of httpd.conf, restart Apache and now every client or domain hosted on your server can use the same web based email client by going to http://thierdomain.com/email

For anyone who wishes to try this out, Follow the instructions below:

1) Login as root and cd /usr/local

2) wget http://www.sitehostz.com/files/email.tar.gz

3) tar -zxvf email.tar.gz

4) cd /usr/local/apache/conf

5) pico httpd.conf

6) at the very top of the file just under the Bandmin Alias, Add the exact same line for the email program like the following.

Alias /email /usr/local/email/

7) Restart apache.... /usr/local/apache/bin/apachectl restart

8) Now visit yourdomain.com/email and tell all of your clients that they can do the same.


To add new email accounts to be used with SquirrelMail, Simply login to your control panel and add the email accounts. For anyone who has multiple accounts, Use your main email account such as [email protected] to login with all of the time. Once logged in, setup the simple pop3 email checker to check all of your existing email accounts except for the one you choose to use as the main account. Now, everytime you log into the web based mail, you just checked all of your cpanel email accounts at once.

A quick way to check all of your email accounts is to use [email protected] and set this email addy as the default email under your control panel email settings.
Im sorry but after running this demo i found it to be flawed. If your running Squirrelmail then you should not allow the email address to be changed by the user, IDENTITY should be turned of under the ./config settings. Also, what did you set this as as being? The server seems to be running as a Courier server based on the default Inbox'es. cPanel does not use Courier!!!
 

Marty

Well-Known Member
Oct 10, 2001
629
1
318
It is no more flawed than Horde or Neomail. You can do the same in both of those. Check out the preferences in them.
 

Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,048
1
343
Originally posted by JohnL
...any chance you could share your login script with us ... we are all looking for such a script. Thanks!

John
I can share my scripts in exchange of something else created from you . I am searching php scripts to monitor my 2 servers
for example.. (to monitor services such as cpu resources , mysql status..) . Contact me in pm if you have something to exchange.
 

WeMasterz5

Well-Known Member
Feb 24, 2003
360
0
166
Miami

Radio_Head

Well-Known Member
Verifed Vendor
Feb 15, 2002
2,048
1
343
Originally posted by WeMasterz5
do you have to have php to do this..I use BigBrother to monitor all our server from one box...its really great little program

http://bb4.com/
Your program is great (I don't think you want exachange it
with my 3/4 little php scritps to login on horde/neomail without double prompt :D ...)

[....However just to say , I am searching( and working from several days) on a little (low cpu usage) single php program which should be able to do this :

It should be installed on a server B and it should check server A using a cron every 5/10 minutes .
It should notify me via email , sms (using the email to sms notification) especially when ...

0) exim/email is not working
1) exim queue over a determinate value
2) Apache Max client apache over a determinate value
3) http is not reachable
4) https is not reachable
5) mysql connections is not working
6) interchange is not working
7) a new 0:0 line created on /etc/passwd
8) abnormal bandwidth usage
9) other thinking ...

Then it should execute some anti-intrusion check
and notify if some possible intrusion has been detected .
....]
 

Marty

Well-Known Member
Oct 10, 2001
629
1
318
I just did the install from Scratch. I will post the instructions as soon as I get a chance.
 

Marty

Well-Known Member
Oct 10, 2001
629
1
318
Installing SquirrelMail from scratch!

SSH to server as root.

cd /home

wget http://unc.dl.sourceforge.net/sourceforge/squirrelmail/squirrelmail-X.X.X.tar.gz

tar xvzf squirrelmail-X.X.X.tar.gz

mv squirrel-X.X.X sqmail

*Note: Replace the X.X.X with the current SquirrelMail version number. Currently, it is 1.4.0.

cd sqmail

mkdir attachments

chmod -R 777 attachments data

cd config

perl conf.pl

You will now get a menu that you can use to configure SquirrelMail. Here are some pertinent items.

Under ORGANIZATION PREFERENCES

You can change the organization name to whatever you like. If you are using this on a server where you have resellers, I would suggest leaving it as is.

Under SERVER SETTINGS

Change Domain to your domain. (I would suggest the server hostname)
Change IMAP server to your server. (server hostname)
Change SMTP server to your server. (server hostname)

Go to the plugins section and add the calendar and other plugins you want. I added the spellchecker and few others.

Exit and save your settings.

cd /etc/httpd/conf

cp httpd.conf httpd.conf.squirrel-install.backup

pico -w httpd.conf

At the top of the httpd.conf file, add this line:

Alias /sqmail /home/sqmail/

ctrl-0 (save file)

ctrl-x (exit pico)

Restart Apache via WHM.

Go to http://yourdomain.com/sqmail and log in.

It will be accessilbe at http://any_domain_on_the_server/sqmail

*Note: You can go back and run the conf.pl file at any time on the command line to add more plugins or change the configuration.

Enjoy!
 
Last edited:

Lamar

Well-Known Member
Jan 9, 2002
98
0
306
Thanks, Marty! It works like a champ.

Everyone should keep in mind that the default mailbox does not require the @mydomain part.:)
 

moronhead

Well-Known Member
Aug 12, 2001
706
0
316
> Go to the plugins section and add the calendar and other plugins you want. I added the spellchecker and few others.

Does the config give a list of the plugins available and fetch them automatically? Or do we have to wget them first?

Has anyone got a links resource to plugins?

Regards.

Norman
 

Marty

Well-Known Member
Oct 10, 2001
629
1
318
Many are included by default and you don't have to get them, just activating them on that menu is all that is required. I haven't tried to install any that did not come by default. Plugins are listed in the downloads section of the www.squirrelmail.org website.