The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Alternate Web Based Email - Quick And Dirty Install.

Discussion in 'E-mail Discussions' started by sitehostz, Apr 3, 2003.

  1. sitehostz

    sitehostz Well-Known Member

    Joined:
    Nov 30, 2002
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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 webmaster@yoursite.com 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 webmaster@yoursite.com and set this email addy as the default email under your control panel email settings.
     
    #1 sitehostz, Apr 3, 2003
    Last edited: Apr 20, 2003
  2. sitehostz

    sitehostz Well-Known Member

    Joined:
    Nov 30, 2002
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Delaware
  3. rcthost

    rcthost Active Member

    Joined:
    Sep 16, 2002
    Messages:
    44
    Likes Received:
    0
    Trophy Points:
    6
  4. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    You still get a double login for Horde.
     
  5. sitehostz

    sitehostz Well-Known Member

    Joined:
    Nov 30, 2002
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    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
     
  6. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    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 .
     
  7. JohnL

    JohnL Member

    Joined:
    Apr 10, 2003
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    ...any chance you could share your login script with us ... we are all looking for such a script. Thanks!

    John
     
  8. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    Where did the download go? :(
     
  9. sexy_guy

    sexy_guy Well-Known Member

    Joined:
    Mar 19, 2003
    Messages:
    848
    Likes Received:
    0
    Trophy Points:
    16
    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!!!
     
  10. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    It is no more flawed than Horde or Neomail. You can do the same in both of those. Check out the preferences in them.
     
  11. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    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.
     
  12. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
    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/
     
  13. WeMasterz5

    WeMasterz5 Well-Known Member

    Joined:
    Feb 24, 2003
    Messages:
    361
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Miami
  14. Radio_Head

    Radio_Head Well-Known Member

    Joined:
    Feb 15, 2002
    Messages:
    2,051
    Likes Received:
    1
    Trophy Points:
    38
    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 .
    ....]
     
  15. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    I just did the install from Scratch. I will post the instructions as soon as I get a chance.
     
  16. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    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!
     
    #16 Marty, Apr 17, 2003
    Last edited: Apr 17, 2003
  17. Lamar

    Lamar Well-Known Member

    Joined:
    Jan 9, 2002
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    Thanks, Marty! It works like a champ.

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

    MikeHihn Active Member

    Joined:
    Aug 2, 2002
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
  19. moronhead

    moronhead Well-Known Member

    Joined:
    Aug 12, 2001
    Messages:
    706
    Likes Received:
    0
    Trophy Points:
    16
    > 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
     
  20. Marty

    Marty Well-Known Member

    Joined:
    Oct 10, 2001
    Messages:
    630
    Likes Received:
    1
    Trophy Points:
    18
    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.
     
Loading...

Share This Page