Re: [sqwebmail] swebmail templates to picking up changes. Clear Detail. - PROGRESS
Hi! that what ever you set SetEnv SQWEBMAIL_TEMPLATEDIR to sqwebmail looks in $SQWEBMAIL_TEMPLATEDIR/html/en If I remember rightly it looks in $SQWEBMAIL_TEMPLATEDIR/en-us by default but it is sometime since I set it up. I think that it looks for $SQWEBMAIL_TEMPLATEDIR/en cause on my machine ./en is a symlink to ./en-us. cu, Christian
Re: [sqwebmail] swebmail templates to picking up changes. Clear Detail. - PROGRESS
A quick thanks to the peopleof this list, it was pretty clear as soon as I put the templates in $SQWEBMAIL_TEMPLATEDIR/en-us it worked. It may be obvious to people who know but for those of you who don't put your templates in a sub-dir en-us of SQWEBMAIL_TEMPLATEDIR. Thanks, Matt (I still have the second server to figure out why I am getting a cannotopen template error) - Original Message - From: Clive Goodhead [EMAIL PROTECTED] To: Matt Darcy [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, October 11, 2002 7:55 PM Subject: Re: [sqwebmail] swebmail templates to picking up changes. Clear Detail. - PROGRESS My E-netcomm server is now having an Internal server error after I found out that what ever you set SetEnv SQWEBMAIL_TEMPLATEDIR to sqwebmail looks in $SQWEBMAIL_TEMPLATEDIR/html/en If I remember rightly it looks in $SQWEBMAIL_TEMPLATEDIR/en-us by default but it is sometime since I set it up. Clive Goodhead
[sqwebmail] swebmail templates to picking up changes. Clear Detail.
Hi, I have 2 servers. www.mdlan.com mail.e-netcomm.co.uk www.mdlan.com is redhat 7.3 on i686 running qmail vpopmail qmailadmin vqadmin sqwebmail and was built by my %100 mail.e-netcomm.co.uk is a solaris 8 Netra T1 AC200 Sparc Server with qmail/qmailadmin/vqadmin/sqwebmail the os and server was built by me, and the mail install was by inter7. I have www.mdlan.com setup with virtual hosts on apache my config line for mdlan.com looks like this VirtualHost 217.34.194.218 ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/apache/virtual/www.mdlan.co.uk/public_html ServerName www.mdlan.co.uk ServerAlias www.mdlan.com ServerAlias www.mdlan.net SetEnv SQWEBMAIL_TEMPLATEDIR /usr/local/apache/virtual/www.mdlan.co.uk/sqwebmail_templates SetEnv QMAILADMIN_TEMPLATEDIR /usr/local/apache/virtual/www.mdlan.co.uk/qmailadmin_templates ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/ ErrorLog logs/www.mdlan.co.uk_error_log CustomLog logs/www.mdlan.co.uk_access_log common /VirtualHost I have altered /usr/local/apache/virtual/www.mdlan.co.uk/sqwebmail_templates/index.html to the title tag say Md.Lan webmail when I view http://www.mdlan.com/cgi-bin/sqwebmail I get the error can't open form template try it. I have no idea why this is happeneing I have checked the permisions. [root@jordan www.mdlan.co.uk]# ls -la total 20 drwxrwxr-x5 root webdev 4096 Oct 5 21:14 . drwxrwxr-x 17 root webdev 4096 Oct 7 14:47 .. drwxrwxr-x4 root webdev 4096 Oct 6 11:56 public_html drwxrwxr-x2 root webdev 4096 Oct 8 22:32 qmailadmin_templates drwxrwxr-x2 root webdev 4096 Oct 11 14:19 sqwebmail_templates [root@jordan www.mdlan.co.uk]# and left it a little open to make sure this is not a problem. I have re-copied the templates in from /usr/local/share --- END PROBLEM 1 START PROBLEM 2 my config on mail.e-netcomm.co.uk is an apache virtual host. First of all I should point out that the system is working %100 and I don't think this is anything to do with inter7 as they did a great job. It is more likley it is me not setting up the virtual hosts with sqwebmail correctly. I have an apache config with a virtual host like so VirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/apache/virtual/mail.e-netcomm.co.uk/public_html ServerName mail.e-netcomm.co.uk SetEnv SQWEBMAIL_TEMPLATEDIR /usr/local/apache/virtual/mail.e-netcomm.co.uk/sqwebmail_templates SetEnv QMAILADMIN_TEMPLATEDIR /usr/local/apache/virtual/mail.e-netcomm.co.uk/qmailadmin_templates ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/ ErrorLog logs/mail.e-netcomm.co.uk_error_log CustomLog logs/mail.e-netcomm.co.uk_access_log common /VirtualHost Again I have altered the TITLE tag in /usr/local/apache/virtual/mail.e-netcomm.co.uk/sqwebmail_templates/index.htm l to say E-Netcomm UK Webmail On this occasion http://mail.e-netcomm.co.uk/cgi-bin/sqwebmail opens up the webmail login screen, but the title still is sqwebmail copyright 1999 Can any one either help to why I am having these problems or point me at a guide for setting up sqwebmail with different templates for different virtual hosts. I thought I had got this right but ovbioulsy not. thanks, Matt.
Re: [sqwebmail] swebmail templates to picking up changes. Clear Detail. - PROGRESS
- Original Message - From: DARCY,MATTHEW (HP-UnitedKingdom,ex2) [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, October 11, 2002 2:11 PM Subject: [sqwebmail] swebmail templates to picking up changes. Clear Detail. Hi, I have 2 servers. www.mdlan.com mail.e-netcomm.co.uk www.mdlan.com is redhat 7.3 on i686 running qmail vpopmail qmailadmin vqadmin sqwebmail and was built by my %100 mail.e-netcomm.co.uk is a solaris 8 Netra T1 AC200 Sparc Server with qmail/qmailadmin/vqadmin/sqwebmail the os and server was built by me, and the mail install was by inter7. I have www.mdlan.com setup with virtual hosts on apache my config line for mdlan.com looks like this VirtualHost 217.34.194.218 ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/apache/virtual/www.mdlan.co.uk/public_html ServerName www.mdlan.co.uk ServerAlias www.mdlan.com ServerAlias www.mdlan.net SetEnv SQWEBMAIL_TEMPLATEDIR /usr/local/apache/virtual/www.mdlan.co.uk/sqwebmail_templates SetEnv QMAILADMIN_TEMPLATEDIR /usr/local/apache/virtual/www.mdlan.co.uk/qmailadmin_templates ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/ ErrorLog logs/www.mdlan.co.uk_error_log CustomLog logs/www.mdlan.co.uk_access_log common /VirtualHost I have altered /usr/local/apache/virtual/www.mdlan.co.uk/sqwebmail_templates/index.html to the title tag say Md.Lan webmail when I view http://www.mdlan.com/cgi-bin/sqwebmail I get the error can't open form template try it. I have no idea why this is happeneing I have checked the permisions. [root@jordan www.mdlan.co.uk]# ls -la total 20 drwxrwxr-x5 root webdev 4096 Oct 5 21:14 . drwxrwxr-x 17 root webdev 4096 Oct 7 14:47 .. drwxrwxr-x4 root webdev 4096 Oct 6 11:56 public_html drwxrwxr-x2 root webdev 4096 Oct 8 22:32 qmailadmin_templates drwxrwxr-x2 root webdev 4096 Oct 11 14:19 sqwebmail_templates [root@jordan www.mdlan.co.uk]# and left it a little open to make sure this is not a problem. I have re-copied the templates in from /usr/local/share --- END PROBLEM 1 -- -- START PROBLEM 2 my config on mail.e-netcomm.co.uk is an apache virtual host. First of all I should point out that the system is working %100 and I don't think this is anything to do with inter7 as they did a great job. It is more likley it is me not setting up the virtual hosts with sqwebmail correctly. I have an apache config with a virtual host like so VirtualHost * ServerAdmin [EMAIL PROTECTED] DocumentRoot /usr/local/apache/virtual/mail.e-netcomm.co.uk/public_html ServerName mail.e-netcomm.co.uk SetEnv SQWEBMAIL_TEMPLATEDIR /usr/local/apache/virtual/mail.e-netcomm.co.uk/sqwebmail_templates SetEnv QMAILADMIN_TEMPLATEDIR /usr/local/apache/virtual/mail.e-netcomm.co.uk/qmailadmin_templates ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/ ErrorLog logs/mail.e-netcomm.co.uk_error_log CustomLog logs/mail.e-netcomm.co.uk_access_log common /VirtualHost Again I have altered the TITLE tag in /usr/local/apache/virtual/mail.e-netcomm.co.uk/sqwebmail_templates/index.htm l to say E-Netcomm UK Webmail On this occasion http://mail.e-netcomm.co.uk/cgi-bin/sqwebmail opens up the webmail login screen, but the title still is sqwebmail copyright 1999 Can any one either help to why I am having these problems or point me at a guide for setting up sqwebmail with different templates for different virtual hosts. I thought I had got this right but ovbioulsy not. thanks, Matt. - ADDITIONAL INFORMATION / UPDATE - Thanks to some personal emails from good people on this group, I have progressed a little. My E-netcomm server is now having an Internal server error after I found out that what ever you set SetEnv SQWEBMAIL_TEMPLATEDIR to sqwebmail looks in $SQWEBMAIL_TEMPLATEDIR/html/en I have now copied the dir /usr/local/share/sqwebmail/html to /usr/local/apache/virtual/mail.e-netcomm.co.uk/sqwebmail_templates and restarted apache. I now get an internal error 500 from apache when viewing the sqwebmail login page. Now for the mdlan problem getting the can't open form template error. I have done some more readings and found this is normally related to permisions, however they all look fine and to to test this I have opened up my machine and chmod'd 777 the templates for the VIRTUAL HOST ONLY and restarted apache. I am still getting this error and looking for more suggestions on how to debug this. Thanks, Matt.
Re: [sqwebmail] swebmail templates to picking up changes. Clear Detail. - PROGRESS
My E-netcomm server is now having an Internal server error after I found out that what ever you set SetEnv SQWEBMAIL_TEMPLATEDIR to sqwebmail looks in $SQWEBMAIL_TEMPLATEDIR/html/en If I remember rightly it looks in $SQWEBMAIL_TEMPLATEDIR/en-us by default but it is sometime since I set it up. Clive Goodhead
Re: [sqwebmail] swebmail templates to picking up changes. Clear Detail. - PROGRESS
thats very interesting, a little different from the info I had been given I'll try that,let you know how I get on. Thanks, Matt. - Original Message - From: Clive Goodhead [EMAIL PROTECTED] To: Matt Darcy [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, October 11, 2002 7:55 PM Subject: Re: [sqwebmail] swebmail templates to picking up changes. Clear Detail. - PROGRESS My E-netcomm server is now having an Internal server error after I found out that what ever you set SetEnv SQWEBMAIL_TEMPLATEDIR to sqwebmail looks in $SQWEBMAIL_TEMPLATEDIR/html/en If I remember rightly it looks in $SQWEBMAIL_TEMPLATEDIR/en-us by default but it is sometime since I set it up. Clive Goodhead