Results 1 to 18 of 18

Thread: SquirrelMail 1.4.10a Released

  1. #1
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,768

    SquirrelMail 1.4.10a Released

    The 1.4.10 release contains multiple fixes for cross site scripting issues triggered by viewing HTML mail. Besides that it contains bug fixes and stability enhancements.

    Download here
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  2. #2
    Join Date
    Dec 2005
    Location
    Lewistown, Pennsylvania, USA
    Posts
    624
    This is the first time that I'll be doing an SM upgrade in DA. What method do I need to use to properly upgrade SM? I'm currently at 1.4.9a. Thanks.
    Sincerely yours,
    Jeremy Landes
    jlandes[at]landeserve.com
    Do you want to donate to me? It would be much appreciated.

  3. #3
    Join Date
    Nov 2006
    Location
    Mid-Wales, UK
    Posts
    106
    Just use Wael's update script [over at the How-to / Guides section] if I'm not mistaken... I shall be shortly

    Nath.
    Nathan H. - Server & Development Officer
    Currently running CentOS 5.x KVM VPS. DirectAdmin'ing for 10+ years

  4. #4
    Join Date
    Dec 2005
    Location
    Lewistown, Pennsylvania, USA
    Posts
    624
    I don't use the update script. I'd rather do it the DA way.
    Sincerely yours,
    Jeremy Landes
    jlandes[at]landeserve.com
    Do you want to donate to me? It would be much appreciated.

  5. #5
    Join Date
    Nov 2006
    Location
    Mid-Wales, UK
    Posts
    106
    no probs... I thought thats all that Wael's script did - but in a handy format lol

    Anyhow sorry... I'm being offtopic here.

    Cheers
    Nath
    Nathan H. - Server & Development Officer
    Currently running CentOS 5.x KVM VPS. DirectAdmin'ing for 10+ years

  6. #6
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,768
    If you want to update, just run this:
    Code:
    cd /usr/local/directadmin/scripts
    perl -pi -e 's/1.4.9a/1.4.10a/' squirrelmail.sh
    ./squirrelmail.sh
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  7. #7
    Join Date
    Apr 2006
    Location
    Zaventem
    Posts
    61
    I'm getting the following error when trying to log in (first time I have this with a SM upgrade):

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

  8. #8
    Join Date
    May 2007
    Location
    tangorodream
    Posts
    5
    The data directory is used for storing user preferences, like signature, name and theme. You need to create this directory yourself.
    This directory must be writable by the webserver. If your webserver is running as the user "apache" and group "apache" you can fix this by running:
    $ chown -R apache:apache /var/local/squirrelmail/data

  9. #9
    Join Date
    Aug 2006
    Location
    Netherlands / Noord-Brabant / Roosendaal
    Posts
    42
    The data path is wrong.. normally its /var/www/html/squirrelmail/data/ and not /var/local/squirrelmail/data/

    You can edit that by logging in as root to your box and type

    cd /var/www/html/squirrelmail/config/
    ./config.pl

    choose option 4, then you can set the path by option 1 and 2

    Just fased the same problem too, this fixed it
    Best Regards,

    X-Hosted Internet Diensten
    -----------------------------------
    P.O. Box 1185
    4700 BD - Roosendaal
    Netherlands
    (i) http://www.X-Hosted.nl
    (e) info@x-hosted.nl

  10. #10
    Join Date
    Apr 2006
    Location
    Zaventem
    Posts
    61
    That did the trick
    Thx X-hosted!

  11. #11
    Join Date
    Mar 2007
    Posts
    92
    I tried to get squirrelmail1.4.9a to work but it didn't. Gives me this error

    Error opening ../data/default_pref
    Default preference file not found or not readable!
    Please contact your system administrator and report this error.
    So I saw this thread and tried to update squirrelmail using the method smtalk gave with that perl command.

    That gave this error

    cp: `/var/www/html/squirrelmail/data' and `/var/www/html/squirrelmail-1.4.9a/data' are the same file
    Digging around, I found the 1.4.9a upgrade thread and followed the step of replacing 1.4.9a in squirrelmail.sh with 1.4.10a, that seemed to work since SM now shows 1.4.10a in browser.

    But the same problem with ../data/default_pref still exists.
    Last edited by emmanuel; 05-13-2007 at 08:30 AM.

  12. #12
    Join Date
    Aug 2006
    Location
    LT, EU
    Posts
    7,768
    emmanuel, try this:
    Code:
    chown -R apache:apache /var/www/html/squirrelmail-1.4.10a/data
    Martynas Bendorius
    MB Martynas IT. Professional server management company. Official DirectAdmin, CloudLinux, LiteSpeed and Comodo partners.

  13. #13
    Join Date
    Mar 2007
    Posts
    92
    Hi smtalk, I did that already based on your earlier post but it's not working.

    Ok fixed it, for some reason apparently apache isn't running as apache:apache but webapps:apache :/

    Thanks
    Last edited by emmanuel; 05-13-2007 at 07:09 PM.

  14. #14
    Hello,

    Thanks for the report. It looks like squirrelmail decided to change the default config.php file on us, so we'll have to adjust and set the settings the way we need. Try running the following:
    Code:
    /usr/bin/perl -pi -e 's#/var/local/squirrelmail/data/#/var/www/html/squirrelmail/data/#' /var/www/html/squirrelmail/config/config.php
    /usr/bin/perl -pi -e 's#/var/local/squirrelmail/attach/#/var/www/html/squirrelmail/data/#' /var/www/html/squirrelmail/config/config.php
    I've added that to the squirrelmail.sh file for the next release.
    But as a workaround until then, I've just edited the default squirrelmail tar.gz package so that the /var/local isn't used..rather /var/www/html instead.

    John

  15. #15
    Join Date
    Jan 2006
    Posts
    57
    Quote Originally Posted by DirectAdmin Support View Post
    Hello,

    Thanks for the report. It looks like squirrelmail decided to change the default config.php file on us, so we'll have to adjust and set the settings the way we need. Try running the following:
    Code:
    /usr/bin/perl -pi -e 's#/var/local/squirrelmail/data/#/var/www/html/squirrelmail/data/#' /var/www/html/squirrelmail/config/config.php
    /usr/bin/perl -pi -e 's#/var/local/squirrelmail/attach/#/var/www/html/squirrelmail/data/#' /var/www/html/squirrelmail/config/config.php
    I've added that to the squirrelmail.sh file for the next release.
    But as a workaround until then, I've just edited the default squirrelmail tar.gz package so that the /var/local isn't used..rather /var/www/html instead.

    John
    Hi all

    updated my squirrelmail to 1.4.10a yesterday and getting the error below, now the error is only when i try and send mail as admin@mydomain, if i reset a customers password and it sends the customer a mail this is ok from admin@mydomain but when i compose or reply to mails it gives me error below. I have checked other accounts and all can send mail ok, this only started after my update yesterday.

    Message not sent. Server replied:

    Authentication failed
    535 Incorrect authentication data


    login in via ssh and then telnet to localhost 25 sends a mail from admin@mydomain fine, anyone got idea whats wrong with squirrelmail?

    update: logged in to directadmin cp and changed the admin pass, now when i login to squirrelmail it lets me send mail, why would it let me login with old pass but not send mail since the old pass must have been correct to login?

    anyways works
    Last edited by CentOS5; 05-23-2007 at 07:51 AM.

  16. #16
    Join Date
    Oct 2004
    Location
    Rio de Janeiro - Brasil
    Posts
    183
    I am not able to change the language. (DA + CentOS 5 + apache 2 + php5)

    anybody else with this problem?

  17. #17
    Join Date
    May 2008
    Posts
    115
    OK
    thanks
    that post was 1 year old but I got it solved by this command

    chown -R webapps:apache /var/www/html/squirrelmail-1.4.17/data

    I put it here so if others have problem can refer to it
    No 5

  18. #18
    Join Date
    Aug 2009
    Posts
    1

    Error opening ../data/default_pref Default preference file not found or not readable

    Hello Friends,

    I have solved this problem by this way,
    # ln -s /usr/local/src/squirrelmail-1.4.19 email.html
    or
    # ln -s /usr/local/src/squirrelmail-1.4.19 sqmail
    # chown apache.apache -R /usr/local/src/squirrelmail-1.4.19/data

Similar Threads

  1. SquirrelMail 1.4.22 Released
    By propcgamer in forum Required Software Version Updates
    Replies: 13
    Last Post: 09-13-2011, 08:23 AM
  2. SquirrelMail 1.4.11 released
    By smtalk in forum Required Software Version Updates
    Replies: 14
    Last Post: 10-25-2007, 04:49 PM
  3. SquirrelMail 1.4.9a Released
    By netfx in forum Required Software Version Updates
    Replies: 21
    Last Post: 04-25-2007, 05:56 AM
  4. SquirrelMail 1.4.9 Released
    By redesb in forum Required Software Version Updates
    Replies: 4
    Last Post: 12-03-2006, 07:59 AM
  5. SquirrelMail 1.4.7 Released
    By hostpc.com in forum Required Software Version Updates
    Replies: 14
    Last Post: 07-08-2006, 03:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •