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 *

You May Also Like…

Docker on Fedora 32

Docker on Fedora 32

Commands to run to get moby-engine running on Fedora 32 # as root or sudo'd dnf install grubby grubby...

PDF Poster

PDF Poster

Start with a wide long image. This is just a screen shot of my desktop. widescreen.png Convert it to postscript using...