Hi Sam
 
I got your last e-mail, and the only thing is cover in the INSTALL is
--enable-imagedir=directory
--enable-imageurl=URL
 
Now this is my fourth time I compile my sqwebmail and this is how I setup my configuration
 

./configure with-module-authvchkpw --enable-mimetypes=/etc/mime.types:/usr/lib/mime.types --enable-imagedir=/home/httpd/html/images --enable-imageurl=/images/ --enable-hardtimeout=7200 --enable-softtime=1200 with-ispell=/usr/bin/ispell

When I do make config-check I get this

[root@borg sqwebmail-0.37a.38pre3]# make configure-check

SqWebMail CGI will be installed in /home/httpd/cgi-bin

Images will be installed in /home/httpd/html/images

make[1]: Entering directory `/usr/local/sqwebmail-0.37a.38pre3/sqwebmail'

URL to the image directory is /images/

make[1]: Leaving directory `/usr/local/sqwebmail-0.37a.38pre3/sqwebmail'

Then I go an signup to see my e-mail and I go to my INBOX an I click in a new message I dont see Images I only see TEXT like:

PREV NEXT DELETE

The only thing that I was needing to know was in which file I have to do the modyfication to add the <img src=".....>.  So after all of this in the last few day of looking,  I found out that I had to modify the readmsg.html file in order for sqwebmail to find the images.

1. I'm running Redhat 6.2 with apache

2  any where you have your " <img src="/images ---  it has to star as you see with forward slash

3. if you want to add the images that come with sqwebmail (like) - readmesg.html you have to do replace some info,  take a look at the bold area in the original file. which is as follow.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
                      "
http://www.w3.org/TR/REC-html40/loose.dtd">
<html>

    <head>
        <title>Message</title>
        <!-- $Id: readmsg.html,v 1.15 2000/02/25 01:26:14 mrsam Exp $ -->
        <!--

  [#@Next|Prev|Delete|Purge|Folder|Unable to display unknown MIME type: %s|Display attachment: %s|Download attachment: %s|Reply|Reply&nbsp;To&nbsp;All|Fwd|Fwd&nbsp;As&nbsp;Attachment|Message&nbsp;%d&nbsp;of&nbsp;%d|Message&nbsp;%d&nbsp;of&nbsp;%d&nbsp;<B>(New)</B>|Full&nbsp;Headers|Move to:|INBOX|Drafts|Trash|Sent|<font color="#FF0000" size="+1">ERROR: You do not have permission to create messages in this folder, or you have exceeded your quota.</font>|Go#]

  -->
    </head>

the bold part of it needs to be replace like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>

    <head>
        <title>Message</title>
        <!-- $Id: readmsg.html,v 1.15 2000/02/25 01:26:14 mrsam Exp $ -->
        <!--

  [#@<img src="/images/right.gif">|<img src="/images/left.gif">|<IMG src="/images/trash2.gif">|Purge|Folder|Unable to display unknown MIME type: %s|Display attachment: %s|Download attachment: %s|Reply|Reply&nbsp;To&nbsp;All|Fwd|Fwd&nbsp;As&nbsp;Attachment|Message&nbsp;%d&nbsp;of&nbsp;%d|Message&nbsp;%d&nbsp;of&nbsp;%d&nbsp;<B>(New)</B>|Full&nbsp;Headers|Move to:|INBOX|Drafts|Trash|Sent|<font color="#FF0000" size="+1">ERROR: You do not have permission to create messages in this folder, or you have exceeded your quota.</font>|Go#]

  -->
    </head>

Thank you for all your help and I hope this will help some body else that encounters this issue.

 

Marko Victorino

[EMAIL PROTECTED]

 

 

Reply via email to