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.

You May Also Like…