MissingImages

From Qmail Info Wiki

This problem is caused when Apache can not find the qmailadmin images in the directory it expects. Determine where Apache is looking for the images by using the following command. Substitute your ErrorLog where appropriate.

# cat /var/log/httpd/error_log | grep images

This command will list the directory in which Apache is looking for the qmailadmin images. Now you have two choices, 1) copy the images from the qmailadmin folder to where Apache expects them or 2) recompile qmailadmin with the correct HTML directory.

To do option 1, run the following command to locate the qmailadmin images.

# locate images | grep qmailadmin

The command will return the directory of the qmailadmin images. Now run the following command to copy the images over.

# cp /qmailadmin/images/* /dir/where/apache/wants/it

To do option 2, run the following command to locate the appropriate DocumentRoot for QmailAdmin. Substitute the location of your httpd.conf file where appropriate.

# cat /etc/httpd/conf/httpd.conf | grep DocumentRoot

Use the value returned by the above command as the htmldir variable in the configure statement. Change your directory to the qmailadmin source directory and run the following commands.

# ./configure --enable-cgibindir=/path/to/your/cgi-bin --enable-htmldir=/your/DocumentRoot
# make && make install-strip

After completing either option, go to http://domain.xyz/cgi-bin/qmailadmin and you should see all the pretty images.