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

Written by James McDonald

June 28, 2007

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


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.

You May Also Like…