Forums

Resolved
0 votes
For those that like eye-candy, a nice alternative to Squirrelmail is hastymail2. Hastymail uses AJAX to produce some nice looking pages - but still light-weight and quite fast, but not as fast as squirrel ...

See this URL for more information :- http://www.hastymail.org/

I have it up and running on the same ClearOS 6.3 64 bit system as Squirrelmail. Used "url_base = /hastymail2/" in the conf file so as not to conflict with Squirrel. (This equates to an absolute path of "/usr/share/hastymail2/" )

Followed the instructions in the "INSTALL" file from the tarball and everything worked well...

except!! for the following changes...

Instructions said....This will create a directory called "hastymail2"
in reality should be "This will create a directory called "hastymail2_1_1" for the tarball downloaded

therefore Installation instruction 3.1.b (first b) becomes
"mv hastymail2_1_1/hastymail2.conf.example /etc/hastymail2/hastymail2.conf"
after creating the /etc/hastymail2 directory

and also Installation instruction 3.1.b (second b) becomes {yes, there are twp b's :-) ]
becomes "mv /place_you_unpacked_the_tarball/hastymail2_1_1 /usr/share/hastymail2" in my case after creating the directory /usr/share/hastymail2

The only lines I changed in the conf file "/etc/hastymail2/hastymail2.conf" were...

url_base = /hastymail2/
http_prefix = https
imap_folder_prefix = INBOX


I used the install instruction at Section 3 "CLI version:" changing it as below as I had a different document root for the server...

php /usr/share/hastymail2/install_scripts/install_config.php /etc/hastymail2/hastymail2.conf /etc/hastymail2/hastymail2.rc


Will continue to test over the next few days...
Monday, September 10 2012, 09:00 AM
Share this post:
Responses (1)
  • Accepted Answer

    Wednesday, September 12 2012, 01:45 AM - #Permalink
    Resolved
    0 votes
    Have now improved the installation method for ClearOS Version 5 that leaves hastymail2 files in their default locations...

    Install hastymail2 as per the instructions for version 6.3

    Create /usr/webconfig/conf/httpd.d/hastymail2.conf with the following contents...

    Listen 8443

    <VirtualHost _default_:8443>
    SSLEngine on
    SSLCertificateFile /usr/webconfig/conf/server.crt
    SSLCertificateKeyFile /usr/webconfig/conf/server.key
    SSLCipherSuite HIGH:MEDIUM:!aNULL:!SSLv2:+SHA1:+MD5:+HIGH:+MEDIUM
    DocumentRoot "/usr/share/hastymail2"
    SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
    RewriteEngine on
    RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
    RewriteRule .* - [F]
    RewriteRule !^/hastymail2 /hastymail2 [PT]
    Alias /hastymail2 /usr/share/hastymail2
    </VirtualHost>

    I choose port 8443 - use whatever you prefer that is free...
    Then restart webconfig
    # service webconfig restart
    You can then access hastymail2 using the following url - substitute your own port number choice if different to mine..

    https://your_server.ip:8443/hastymail2

    The /etc/hasymail2/hastymail2.conf settings are very safe and conservative - so some more changes in addition to those previously mentioned are required...

    An example...
    If you want emails in html to display properly instead of showing the parts then these meed changing in the
    MESSAGE VIEW OPTIONS section as a minimum:-

    default_html_first = true # was false
    default_remote_image = true # was false

    There is great flexibility so you should be able to set up to your taste...

    Only other thing to note is that if you want to create a new hastymail2.rc file, you must delete the old one first... (you must create a new hastymail2.rc file after making any changes to hastymail2.conf for them to take effect...)
    The reply is currently minimized Show
Your Reply