1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice

Squirrelmail?

Discussion in 'Plesk for Linux - 8.x and Older' started by Ronny, May 30, 2005.

  1. Ronny

    Ronny Guest

    0
     
    I have seen a bunch of threads but not a single one telling you how to install it or where to access. I have installed ART squirrelmail, but still can't access it with webmail.domain.com or domain.com/webmail or domain.com/squirrelmail
     
  2. Cranky

    Cranky Guest

    0
     
    It's webmail.domain.com but it'll not work if you're running Plesk7.5.3 (that's an assumption as Horde location changed in Plesk753) ... if not Plesk753 ensure you've restarted apache first.
     
  3. jhobbs721

    jhobbs721 Guest

    0
     
    In Plesk 7.1.x, you could simply pop it into /home/httpd/vhosts/webmail/httpdocs and it would like a champ. I'm running Plesk 7.5.3, and this is no longer the case. With that said, it's still possible to get it working...

    You'll need to download the latest Squrrelmail from their site (v1.4.4 I think) and expand it somewhere on your machine (say /usr/local/webmail/squirrelmail-1.4.4). Lock down permissions on the file as restrictive as you can get away with (see the install guide for SM for more info). Also create a directory for data and attachments (these would be writable by the WebServer), so you could use (/usr/local/webmail/squirrelmail-tmp/data and attach). Set permissions on those properly too.

    Once you have squirrelmail out there, use the configure script to set your Squirrelmail installation up. See the SM docs for that too, it's pretty easy.

    Now edit your httpd.include file (think it's /etc/httpd/conf/httpd.include) and look for the 'webmail' Virtual Hosts on 80 and 443. You'll see an alias in each one for /horde and /imp... Just create a new alias called squirrelmail (or whatever you want), and configure it to point at the path you deployed to above.

    Once all that is done, restart httpd (/etc/init.d/httpd restart) and try hitting squirrelmail...

    That's all off the top, so please forgive any typo'd paths. If you're having issues, I can fill in the gaps when I get back to the house (and my machine).

    Joe
     
  4. jhobbs721

    jhobbs721 Guest

    0
     
    Nevermind that previous post. Works fine until Plesk rebuilds the httpd.include file (adding a new domain, etc). Then it gets scrubbed...

    Back to the drawing board. I'll let you know if I come up with anything...

    Joe
     
  5. jhobbs721

    jhobbs721 Guest

    0
     
    Alright, I think I have it this time... It's a bit of an extreme fix I'm sure, but it works (so far)...

    I ended up writing a 'wrapper' script for websrvmng in /usr/local/psa/admin/sbin... The wrapper calls the original websrvmng (renamed to websrvmng.plesk), and then calls a script I wrote to parse httpd.include and put my entries back in.

    Man, I wish Plesk would refer to editable templates... This would be so much easier!

    Joe
     
  6. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    my squirrelmail rpm places a config file in /etc/httpd/conf.d/squirrelmail.conf, which sets the following:

    Alias /webmail /usr/share/squirrelmail

    In order to replace horde with squirrelmail you I believe you would add an Alias:

    Alias /horde /usr/share/squirrelmail

    This was in fact the old behavior of the rpm when perlboy first created the package. If your system has this file, and it's not parsing it for some reason, then I'd say the problem is elsewhere in your configs, its probably not an internal issue with apache itself.
     
  7. jhobbs721

    jhobbs721 Guest

    0
     
    In my situation, I have some users who prefer Horde while others prefer Squirrelmail. I wanted to provide both with a pretty little page to let them choose :)...

    It's all good. Works so far!

    Joe
     
  8. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Yeah I do the same for my users, some absolutely hate/love one or the other.
     
Loading...