Hi,
I am running an older version of SqWebmail (2.1.1) and tried to apply the patch to allow multiple domains to have different HTML templates, but with no success....Does the newest version of SqWebmail support this feature?
On a side note...I don't really understand the issue of having multple HTML templates in the first place...I mean, I have tried creating a duplicate of the entire source code and HTML templates and editing each one individually, but still, after compiling, it always changes every domain, even if the executable is in a different location....can anyone clarify this for me?
Thanks again,
Camilo
--------------------------------------
Camilo Rostoker
Chief Technology Officer
Scottsdale Developments, Inc.
email: [EMAIL PROTECTED]
web : www.scottsdale.ca
Hello Camilo, it appears u did not get my first email. maybe my fault because i hit the: "reply" instead of the "reply to list" button. this is something i have to learn or get yelled at like on some ml's like: "QMAIL".
i'm running sqwebmal version 3.3.1.20020215 and i'm not sure of the difference other than my version is newer and does html templates very well. i cannot explain how to do sqwebmail templates as the pedagogic types found on some ml's. i can manipulate sqwebmal in any manner i choose: the html templates and the (dot).c source code e.g. i have made the From: field "read only" so the users can get my mail server blacklisted. what i can do is explain what works 4 me. i have no idea of ur level of competence other than u r having problems w/ sqwebmail templates and u have not provided much info or error conditions generated by ur server. with that stated here is what works 4 me:
1. for each of my virtual domains i have a directory w/ the following structure: /usr/local/share/sqwebmail/www.somevirtdomain.someext/html/en where "en" is a symbolic link to en-us that contains all html "templates" used by sqwebmail. and where somevirtdomain.somext may be any one of several domains e.g. somevirtdomain1, somevirtdomain2 and so on...
2. for each of my virtual domains: (1,2,3...) there must be at least one unix system user under the directory "/home". each of these user will representing a virtual domain must have a directory structured like so: /home/someuser/html/webmail that contains all the (dot).gif's and (dot).jpeg's used by sqwebmail.
3. ur apache httpd.conf (i assume u r using apache) must contain a virtual domain directive for each of ur virtual domains. and, must contain the following inside each of the virtual domain directives:
SetEnv SQWEBMAIL_TEMPLATEDIR /usr/local/share/sqwebmail/www.somevirtdomain.someext/html/
PassEnv SQWEBMAIL_TEMPLATEDIR
all of this of course presumes u r familiar w/ apache/unix admin and html. u will have to edit the html template files somewhere (login.html is a good choice) to see any differences when u execute: https://www.somevirtdomain.someext/cgi-bin/sqwebmail for the individual domains. hope this helps, david brown, webitplanet.com
