Squirrelmail after upgrade to PHP53

Discussion in 'Installation/Configuration' started by helly88, Jul 26, 2011.

  1. helly88

    helly88 Member

    Ok, So I upgraded to PHP53 (because I need that version) and I saw that squirrelmail got removed.

    So I downloaded the newest version of Squirrelmail using wget. Then i extracted it and placed it at /usr/share/squirrelmail. I ran the config and told it that I use dovecot.

    I created an alias that poits mydomain.com/webmail/ to that dir and I get the login screen when I acces the site.
    However, I can't login, I get this error:

    ERROR
    Error opening ../data/default_pref
    Could not create initial preference file!
    /var/local/squirrelmail/data/ should be writable by user httpd
    Please contact your system administrator and report this error.

    So I guess it wasn't as simple as downloading and unpacking it...
    Can anybody tell me what I need to do? There is not a folder called /var/local/squirrelmail

    Should I just chown the /usr/share/squirrelmail folder to client1:web1?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    You could try this:
    Code:
    mkdir -p /var/local/squirrelmail/data/
    chown -R httpd /var/local/squirrelmail/
     
  3. helly88

    helly88 Member

    chown: 'httpd': invalid user.

    I've followed your guide (Perfect server centos 5.6 and ISPconfig 3).
     
  4. helly88

    helly88 Member

    ofc, this is Centos.. I changed the owner of the folder to apache and it worked.

    One other thing though, When I send a mail from my webmail, It dosen't use the correct format.. æøå (Norwegian letters) don't work. I'll guess I'll just google that problem.

    Thanks :)
     
  5. hueseo

    hueseo New Member

    he he confrguaration :eek::eek::eek:
     

Share This Page