hi-

i'm trying to set up sqwebmail alongside qmail-ldap.

i'm using 3.0.0, and
./configure --with-authldap

everything compiles and installs cleanly.  

when i start up apache (1.3.20), and point a browser at
/cgi-bin/sqwebmail, i get "Can't open form template" as an error message.

i checked out the source, and it looks like by default, sqwebmail will try
to open HTMLLIBDIR/HTTP11_DEFAULTLANG/index.html
(/usr/local/share/sqwebmail/html/en/index.html) if HTMLLIBDIR isin't
overridden by the SQWEBMAIL_TEMPLATEDIR environment variable.

I've tried running this as is, and also injecting SQWEBMAIL_TEMPLATEDIR
into the cgi's environment with an identical value to HTMLLIBDIR.

partial listing of /usr/local/share/sqwebmail/html/en:

[root@mx1 html]# ls -al /usr/local/share/sqwebmail/html/en/[ail]*
-rw-r--r--  1 root  wheel   5805 Aug 21 19:30
/usr/local/share/sqwebmail/html/en/abooklist.html
-rw-r--r--  1 root  wheel   8659 Aug 21 19:30
/usr/local/share/sqwebmail/html/en/attachments.html
-rw-r--r--  1 root  wheel   7540 Aug 21 19:30
/usr/local/share/sqwebmail/html/en/autoresponder.html
-rw-r--r--  1 root  wheel    876 Aug 21 19:30
/usr/local/share/sqwebmail/html/en/index.html
-rw-r--r--  1 root  wheel   1778 Aug 21 19:30
/usr/local/share/sqwebmail/html/en/invalid.html
-rw-r--r--  1 root  wheel  12806 Aug 21 19:30
/usr/local/share/sqwebmail/html/en/ldaplist.html
-rw-r--r--  1 root  wheel   5710 Aug 21 19:30
/usr/local/share/sqwebmail/html/en/ldapsearch.html
-rw-r--r--  1 root  wheel   1724 Aug 21 19:30
/usr/local/share/sqwebmail/html/en/login.html

any ideas why this is happening?

os: freebsd 4.4-STABLE
apache: 1.3.20
qmail-1.03
latest qmail-ldap patch.
sqwebmail-3.0.0

thanks-

dan

Reply via email to