I had the same problem, copying the files into mydomain.com didn't work, so I copied the en-us directory into mydomain.com and soft linked a "en" to it. Therefore mydomain.com contains the en-us and the en soft link with all the files in the en-us directory.
And just in case this is of any interest to anyone else who may be hosting more than one domain:
After I initially got it working, I changed it all to a more logical structure for my system, I have multiple vhosts and they are located in /domains eg.
I re configured the sqwebmail to use the /domains for its docroot
./configure --prefix=domains/sqwebmail
Did the rest of the make stuff.
So sqwebmail now resides in /domains/sqwebmail.
I already had the virtual hosts in /domains/.
(Assuming the virtual host is called "vhost")
I copied the sqwebmail html/en-us/ files to /domains/sqwebmail/vhost/sqwebmail/.
And the /usr/local/apache/images/webmail/ files to /domains/vhost/images/webmail/
I created the vhost dir. in /domains/sqwebmail/html and then:
cd /domains/sqwebmail/html/vhost
ln -s ../../../vhost/sqwebmail ./en
httpd.conf:
<VirtualHost *>
ServerAdmin [EMAIL PROTECTED]
DocumentRoot "/domains/vhost"
ServerName www.vhost.net
ServerAlias vhost.net
ErrorLog /domains/vhost/logs/vhost.error
TransferLog /domains/vhost/logs/vhost.log
SetEnv QMAILADMIN_TEMPLATEDIR /domains/vhost/qmailadmin
SetEnv SQWEBMAIL_TEMPLATEDIR /domains/sqwebmail/html/vhost.net
Alias /webmail /domains/vhost/images/webmail
</VirtualHost>
Terry....
Mitz wrote:
Hi, I did the basic install onto my RH 7.3 ./configure make configure-check make make check make install-strip make install-configureIn the httpd.conf file <VirtualHost> ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/share/sqwebmail/mydomain.com ServerName mydomain.com Error_log /var/error_log CustomLog /var/access_log SetEnv SQWEBMAIL_TEMPLATEDIR /usr/local/share/sqwebmail ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" Alias /icons/ "/var/www/html/webmail/" </VirtualHost> I copied /usr/local/share/sqwebmail/html/en-us to /usr/local/share/sqwebmail/mydomain.com with chmod 755 permission. chmod 755 /var/www/html/webmail chmod 755 /usr/local/share/sqwebmail When I point my I.E., I'm getting "Can't open form template". I have checked in the archive, but there is no explanation for solving this problem.
