squirrelmail ‘/usr/games/fortune’ is not found.

In the Fedora version of…

Login

Blog History

In the Fedora version of Squirrelmail if you turn the fortune plugin on to get a quote on the top of your mail folders you may get the following error:

    /usr/games/fortune is not found.

This is because Fedora puts fortune in /usr/bin the hardcode path to fortune in squirrelmail is /usr/games/fortune

The fix:

Find the offending code and edit it

    cd /usr/share/squirrelmail
    fgrep -R /usr/games/fortune .
    ./plugins/fortune/setup.php: $fortune_location = '/usr/games/fortune';
    vi plugins/fortune/setup.php

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.