Re: [sqwebmail] Templates accessing /images/sqwebmail//$IMAGE

2003-09-30 Thread Brian Candler
On Tue, Sep 30, 2003 at 03:51:48PM +0100, DARCY,MATTHEW (HP-UnitedKingdom,ex2) wrote:
> 
>Hi all,
> 
>I am looking at my 2 servers running sqwebmail, 1 was installed by
>inter7 the other installed by myself.
> 
>Looking at the access logs for virtual domains, when sqwebmail is
>accessed the path to images works but appears a little messy
> 
>Eg: 192.6.126.74 - - [30/Sep/2003:15:40:04 +0100] "GET
>/images/sqwebmail//graytopleft.gif HTTP/1.0" 304 -
> 
>The path /images/sqwebmail//graytopleft.gif appears to work but why am
>I getting the extra / in the path ?

if this worries you, rebuild sqwebmail using

  ./configure --enable-imageurl=/images/sqwebmail

instead of

  ./configure --enable-imageurl=/images/sqwebmail/

Brian.



[sqwebmail] Templates accessing /images/sqwebmail//$IMAGE

2003-09-30 Thread DARCY,MATTHEW (HP-UnitedKingdom,ex2)
Title: Templates accessing /images/sqwebmail//$IMAGE





Hi all,

I am looking at my 2 servers running sqwebmail, 1 was installed by inter7 the other installed by myself.

Looking at the access logs for virtual domains, when sqwebmail is accessed the path to images works but appears a little messy

Eg: 192.6.126.74 - - [30/Sep/2003:15:40:04 +0100] "GET /images/sqwebmail//graytopleft.gif HTTP/1.0" 304 -

The path /images/sqwebmail//graytopleft.gif appears to work but why am I getting the extra / in the path ?

Thanks,

Matt.






Re: [sqwebmail] Templates not picking up changes

2003-09-28 Thread Brian Candler
On Sun, Sep 28, 2003 at 05:42:16PM +0100, [EMAIL PROTECTED] wrote:
> > $ telnet your.webserver.com 80
> > GET /cgi-bin/sqwebmail?noframes=1 HTTP/1.0
> > Host: your.webserver.com
> > 
> >
> > will show you *exactly* what gets returned by the webserver for the login
> > page. If you make a change in the template, you'll see the change in the
> > returned HTML. If you don't see a change, then you have something weird
> > about your system and I can't really make any guesses as to what you've
> > done. Strange proxy caches or something, who knows.
> >
> > Do the above test *on* the webserver itself. Use
> > telnet 127.0.0.1 80
> >
> > Brian.
> >
> 
> Excellent good advice Brian
> 
> The problem with this test is that I am running virtual domains
> so if I telnet to 127.0.0.1 on 80
> and do a get blah blah the blah blah is not in the virtual host htdocs root,
> it will be in the webserver root which hopfully explains why I get

No, please follow EXACTLY the example that I gave.

Line1: telnet 127.0.0.1 80
Line2: GET /cgi-bin/sqwebmail?noframes=1 HTTP/1.0
Line3: Host: alesi.projecthugo.co.uk
Line4:

If you are running virtual domains then line3 will select which virtual host
you want.

> GET /cgi-bin/sqwebmail?noframes=1 HTTP/1.0 alesi.projecthugo.co.uk
...
> 400 Bad Request

The server is right: you sent a malformed HTTP request. You must follow the
HTTP protocol exactly if you're going to do this. RFC2616 documents it.

Trying the correct request to your host gives a HTML page including:

   ...
  
  

   ...

Brian.



Re: [sqwebmail] Templates not picking up changes

2003-09-28 Thread matt

- Original Message - 
From: "Rick van Vliet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 28, 2003 5:04 PM
Subject: Re: [sqwebmail] Templates not picking up changes


> On Sun, 28 Sep 2003 16:01:15 +0100, <[EMAIL PROTECTED]> wrote:
>
> >
> > - Original Message - From: "Brian Candler" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Cc: "'sqwebmail'" <[EMAIL PROTECTED]>
> > Sent: Saturday, September 27, 2003 6:15 PM
> > Subject: Re: [sqwebmail] Templates not picking up changes
> >
>
> >
> > 1.) Sqwebmail IS reading templates from the correct directory, removing
a
> > template and creating the "env" cgi script proves this
> > 2.) The image dir for sqwebmail IS being read and appears to be picking
> > up
> > changes, eg: I change the logo.gif image - and it is picked up, I change
> > the
> > css and I can change the colours.
> > 3.)changing the html templates actual html seems to make no changes. I
> > have
> > changed the contents of the  tag, and changed the 
attributes
> > to
> > change the size of logo.gif. None of the changes to the HTML templates
> > appear to be working.
> >
> > I am unaware of any limitations of changing the html templates, the
> > permissions of the files look fine, I am not caching the pages on the
> > webserver, and the sqwebmail application appears to be working fine ???
> >
> > any further comment / advice.
> >
> > Thanks,
> >
> > Matt.
> >
> >
>
>
> Matt, just one more question, so I don't think I'm going batty:
> 1) Did you change the attributes on the TEMPLATEDIR/login.html
[inside
> the brackets]?
> 
>   [EMAIL PROTECTED], width="144" height="144" alt="vanmorel,
> highweatherPress, vanVliet email"
>   border="0"@rickvanvliet - Copyright 1999-
> 2002 Double Precision, [EMAIL PROTECTED]
> 2) and change the  on the TEMPLATEDIR/index.html pages?
> (I know that changing the  on the login.html page does not appear
to
> change anything.)
>
> If you've changed those lines on the two different templates, then like
> Brian, I don't know where else to look, either.
> Rick
>
>
Yes I appriciate that index.html is the framset for login.html, so I have
changed the correct parts of the correct pages.

Thanks,

Matt.





Re: [sqwebmail] Templates not picking up changes

2003-09-28 Thread matt

- Original Message - 
From: "Brian Candler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "'sqwebmail'" <[EMAIL PROTECTED]>
Sent: Sunday, September 28, 2003 4:37 PM
Subject: Re: [sqwebmail] Templates not picking up changes


> On Sun, Sep 28, 2003 at 04:01:15PM +0100, [EMAIL PROTECTED] wrote:
> > 1.) Sqwebmail IS reading templates from the correct directory, removing
a
> > template and creating the "env" cgi script proves this
> > 2.) The image dir for sqwebmail IS being read and appears to be picking
up
> > changes, eg: I change the logo.gif image - and it is picked up, I change
the
> > css and I can change the colours.
> > 3.)changing the html templates actual html seems to make no changes. I
have
> > changed the contents of the  tag, and changed the 
attributes to
> > change the size of logo.gif. None of the changes to the HTML templates
> > appear to be working.
> >
> > I am unaware of any limitations of changing the html templates, the
> > permissions of the files look fine, I am not caching the pages on the
> > webserver, and the sqwebmail application appears to be working fine ???
> >
> > any further comment / advice.
>
> $ telnet your.webserver.com 80
> GET /cgi-bin/sqwebmail?noframes=1 HTTP/1.0
> Host: your.webserver.com
> 
>
> will show you *exactly* what gets returned by the webserver for the login
> page. If you make a change in the template, you'll see the change in the
> returned HTML. If you don't see a change, then you have something weird
> about your system and I can't really make any guesses as to what you've
> done. Strange proxy caches or something, who knows.
>
> Do the above test *on* the webserver itself. Use
> telnet 127.0.0.1 80
>
> Brian.
>

Excellent good advice Brian

The problem with this test is that I am running virtual domains
so if I telnet to 127.0.0.1 on 80
and do a get blah blah the blah blah is not in the virtual host htdocs root,
it will be in the webserver root which hopfully explains why I get

Connected to 127.0.0.1.
Escape character is '^]'.
GET /cgi-bin/sqwebmail?noframes=1 HTTP/1.0 alesi.projecthugo.co.uk
HTTP/1.1 400 Bad Request
Date: Sun, 28 Sep 2003 16:51:22 GMT
Server: Apache/1.3.28 (Unix) PHP/4.3.2
Connection: close
Content-Type: text/html; charset=iso-8859-1



400 Bad Request

Bad Request
Your browser sent a request that this server could not understand.
The request line contained invalid characters following the protocol
string.


Apache/1.3.28 Server at www.mdlan.co.uk Port 80

Connection closed by foreign host.

when i try it.

Thanks,

Matt





Re: [sqwebmail] Templates not picking up changes

2003-09-28 Thread Rick van Vliet
On Sun, 28 Sep 2003 16:01:15 +0100, <[EMAIL PROTECTED]> wrote:

- Original Message - From: "Brian Candler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "'sqwebmail'" <[EMAIL PROTECTED]>
Sent: Saturday, September 27, 2003 6:15 PM
Subject: Re: [sqwebmail] Templates not picking up changes

1.) Sqwebmail IS reading templates from the correct directory, removing a
template and creating the "env" cgi script proves this
2.) The image dir for sqwebmail IS being read and appears to be picking 
up
changes, eg: I change the logo.gif image - and it is picked up, I change 
the
css and I can change the colours.
3.)changing the html templates actual html seems to make no changes. I 
have
changed the contents of the  tag, and changed the  attributes 
to
change the size of logo.gif. None of the changes to the HTML templates
appear to be working.

I am unaware of any limitations of changing the html templates, the
permissions of the files look fine, I am not caching the pages on the
webserver, and the sqwebmail application appears to be working fine ???
any further comment / advice.

Thanks,

Matt.




Matt, just one more question, so I don't think I'm going batty:
1) Did you change the attributes on the TEMPLATEDIR/login.html [inside 
the brackets]?

 [EMAIL PROTECTED], width="144" height="144" alt="vanmorel, 
highweatherPress, vanVliet email"
 border="0"@rickvanvliet - Copyright 1999- 
2002 Double Precision, [EMAIL PROTECTED]
2) and change the  on the TEMPLATEDIR/index.html pages?
(I know that changing the  on the login.html page does not appear to 
change anything.)

If you've changed those lines on the two different templates, then like 
Brian, I don't know where else to look, either.
Rick





Re: [sqwebmail] Templates not picking up changes

2003-09-28 Thread Brian Candler
On Sun, Sep 28, 2003 at 04:01:15PM +0100, [EMAIL PROTECTED] wrote:
> 1.) Sqwebmail IS reading templates from the correct directory, removing a
> template and creating the "env" cgi script proves this
> 2.) The image dir for sqwebmail IS being read and appears to be picking up
> changes, eg: I change the logo.gif image - and it is picked up, I change the
> css and I can change the colours.
> 3.)changing the html templates actual html seems to make no changes. I have
> changed the contents of the  tag, and changed the  attributes to
> change the size of logo.gif. None of the changes to the HTML templates
> appear to be working.
> 
> I am unaware of any limitations of changing the html templates, the
> permissions of the files look fine, I am not caching the pages on the
> webserver, and the sqwebmail application appears to be working fine ???
> 
> any further comment / advice.

$ telnet your.webserver.com 80
GET /cgi-bin/sqwebmail?noframes=1 HTTP/1.0
Host: your.webserver.com


will show you *exactly* what gets returned by the webserver for the login
page. If you make a change in the template, you'll see the change in the
returned HTML. If you don't see a change, then you have something weird
about your system and I can't really make any guesses as to what you've
done. Strange proxy caches or something, who knows.

Do the above test *on* the webserver itself. Use
telnet 127.0.0.1 80

Brian.



Re: [sqwebmail] Templates not picking up changes

2003-09-28 Thread matt

- Original Message - 
From: "Brian Candler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "'sqwebmail'" <[EMAIL PROTECTED]>
Sent: Saturday, September 27, 2003 6:15 PM
Subject: Re: [sqwebmail] Templates not picking up changes


> On Sat, Sep 27, 2003 at 12:16:40PM +0100, [EMAIL PROTECTED] wrote:
> > > I was wondering is sqwebmail was using the default templates held in
> > > /usr/local/share/sqwebmail/html - so I tried altering one of these for
> > > interest, same thing no change.
> > >
> > > I have no idea where sqwebmail is getting the templates from, and to
be
> > even
> > > more confusing, its getting the images and css from the right virtual
dir,
> > I
> > > just have no idea what tamplate dir its using ???
> > >
> > > Any more suggestiosn welcome.
> > >
> > > Thanks,
> > >
> > > Matt.
> > >
> > >
> > Any further comment from anyone ??
>
> Not really, since this is your system and we can't see how you configured
> it. Try rm -rf'ing template anything that looks like a template directory
> until none are left. Try going
>
> strings /path/to/sqwebmail | grep /
>
> and see if you can see what paths have been coded into the binary.
>
> Brian.
>

Hi All, and Brian.

You are very right in what you say.

I thought the simplest test was one you suggested.

I removed login.html from my SQWEBMAIL_TEMPLATEDIR directory and got the
error "Cannot Open Form Template"
I put login.html back...and bingo - it worked (bar the changes I have made
obvsiouly)

so the facts are

1.) Sqwebmail IS reading templates from the correct directory, removing a
template and creating the "env" cgi script proves this
2.) The image dir for sqwebmail IS being read and appears to be picking up
changes, eg: I change the logo.gif image - and it is picked up, I change the
css and I can change the colours.
3.)changing the html templates actual html seems to make no changes. I have
changed the contents of the  tag, and changed the  attributes to
change the size of logo.gif. None of the changes to the HTML templates
appear to be working.

I am unaware of any limitations of changing the html templates, the
permissions of the files look fine, I am not caching the pages on the
webserver, and the sqwebmail application appears to be working fine ???

any further comment / advice.

Thanks,

Matt.





Re: [sqwebmail] Templates not picking up changes

2003-09-27 Thread Brian Candler
On Sat, Sep 27, 2003 at 12:16:40PM +0100, [EMAIL PROTECTED] wrote:
> > I was wondering is sqwebmail was using the default templates held in
> > /usr/local/share/sqwebmail/html - so I tried altering one of these for
> > interest, same thing no change.
> >
> > I have no idea where sqwebmail is getting the templates from, and to be
> even
> > more confusing, its getting the images and css from the right virtual dir,
> I
> > just have no idea what tamplate dir its using ???
> >
> > Any more suggestiosn welcome.
> >
> > Thanks,
> >
> > Matt.
> >
> >
> Any further comment from anyone ??

Not really, since this is your system and we can't see how you configured
it. Try rm -rf'ing template anything that looks like a template directory
until none are left. Try going

strings /path/to/sqwebmail | grep /

and see if you can see what paths have been coded into the binary.

Brian.



Re: [sqwebmail] Templates not picking up changes

2003-09-27 Thread matt

- Original Message - 
From: "DARCY,MATTHEW (HP-UnitedKingdom,ex2)" <[EMAIL PROTECTED]>
To: "'sqwebmail'" <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 4:37 PM
Subject: RE: [sqwebmail] Templates not picking up changes


>
> -Original Message-
> From: Brian Candler [mailto:[EMAIL PROTECTED]
> Sent: 26 September 2003 15:21
> To: DARCY,MATTHEW (HP-UnitedKingdom,ex2)
> Cc: 'sqwebmail'
> Subject: Re: [sqwebmail] Templates not picking up changes
>
> On Fri, Sep 26, 2003 at 02:34:48PM +0100, DARCY,MATTHEW
> (HP-UnitedKingdom,ex2) wrote:
> >ls -la /usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail
> >
> >total 12
> >
> >drwxr-xr-x   4 webmaster website  512 Sep 26 11:20 .
> >
> >drwxr-xr-x   5 webmaster website  512 Sep 26 11:20 ..
> >
> >drwxrwxrwx   2 webmaster website 1536 Sep 26 11:20 en
>
> Probably not the problem, but worth mentioning that the default templates
> are under "en-us", with "en" as a symlink to "en-us".
>
> But it sounds like sqwebmail is still picking up templates; it's just
> picking up the ones in the old location.
>
> I'd suggest you replace the sqwebmail CGI with a simple script like this:
>
> #!/bin/sh
> echo "Content-Type: text/plain"
> echo ""
> set
>
> which will show you whether the SQWEBMAIL_TEMPLATEDIR environment variable
> has been set properly by Apache (and if not, you know it's an Apache
config
> problem that you need to resolve)
>
> Regards,
>
> Brian.
>
>
>
>
> Hi Brian,
>
> An interesting suggestion.
>
> The en / en-us symlink has been altered (I just choose to just use en - my
> fault)
>
> And I created a new cgi script as you suggested which turned up these
> results
>
> DOCUMENT_ROOT=/usr/local/apache/virtual/www.e-netcomm.co.uk/public_html
> GATEWAY_INTERFACE=CGI/1.1
> HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
> application/vnd.ms-excel, application/vnd.ms-powerpoint,
application/msword,
> application/x-shockwave-flash, */*
> HTTP_ACCEPT_LANGUAGE=en-gb
> HTTP_CACHE_CONTROL=max-stale=0
> HTTP_HOST=www.e-netcomm.co.uk
> HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET
CLR
> 1.0.3705; .NET CLR 1.1.4322)
> IFS=
>
> MAILCHECK=600
> OPTIND=1
>
PATH=/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/sbin:/bin:/usr/local
> /ssl/bin:/usr/local/mysql/bin
> QUERY_STRING=
> REMOTE_ADDR=192.6.126.74
> REMOTE_PORT=44307
> REQUEST_METHOD=GET
> REQUEST_URI=/cgi-bin/sqwebmail_check
> SCRIPT_FILENAME=/usr/local/apache/cgi-bin/sqwebmail_check
> SCRIPT_NAME=/cgi-bin/sqwebmail_check
> SERVER_ADDR=212.113.200.71
> [EMAIL PROTECTED]
> SERVER_NAME=www.e-netcomm.co.uk
> SERVER_PORT=80
> SERVER_PROTOCOL=HTTP/1.0
> SERVER_SIGNATURE=Apache/1.3.28 Server at www.e-netcomm.co.uk Port
> 80
>
> SERVER_SOFTWARE=Apache/1.3.28 (Unix) PHP/4.3.2
>
SQWEBMAIL_TEMPLATEDIR=/usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmai
> l
> TZ=GB
> UNIQUE_ID=P3RaPgoAAAIAAC9iIS4
>
>
> As you can see the SQWEBMAIL_TEMPLATEDIR appears to be set ok,
> I double checked the changes after I had added the en-us direct and linked
> en to it, and still no joy.
>
> I was wondering is sqwebmail was using the default templates held in
> /usr/local/share/sqwebmail/html - so I tried altering one of these for
> interest, same thing no change.
>
> I have no idea where sqwebmail is getting the templates from, and to be
even
> more confusing, its getting the images and css from the right virtual dir,
I
> just have no idea what tamplate dir its using ???
>
> Any more suggestiosn welcome.
>
> Thanks,
>
> Matt.
>
>
Any further comment from anyone ??






RE: [sqwebmail] Templates not picking up changes

2003-09-26 Thread DARCY,MATTHEW (HP-UnitedKingdom,ex2)

-Original Message-
From: Brian Candler [mailto:[EMAIL PROTECTED] 
Sent: 26 September 2003 15:21
To: DARCY,MATTHEW (HP-UnitedKingdom,ex2)
Cc: 'sqwebmail'
Subject: Re: [sqwebmail] Templates not picking up changes

On Fri, Sep 26, 2003 at 02:34:48PM +0100, DARCY,MATTHEW
(HP-UnitedKingdom,ex2) wrote:
>ls -la /usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail
> 
>total 12
> 
>drwxr-xr-x   4 webmaster website  512 Sep 26 11:20 .
> 
>drwxr-xr-x   5 webmaster website  512 Sep 26 11:20 ..
> 
>drwxrwxrwx   2 webmaster website 1536 Sep 26 11:20 en

Probably not the problem, but worth mentioning that the default templates
are under "en-us", with "en" as a symlink to "en-us".

But it sounds like sqwebmail is still picking up templates; it's just
picking up the ones in the old location.

I'd suggest you replace the sqwebmail CGI with a simple script like this:

#!/bin/sh
echo "Content-Type: text/plain"
echo ""
set

which will show you whether the SQWEBMAIL_TEMPLATEDIR environment variable
has been set properly by Apache (and if not, you know it's an Apache config
problem that you need to resolve)

Regards,

Brian.




Hi Brian,

An interesting suggestion.

The en / en-us symlink has been altered (I just choose to just use en - my
fault)

And I created a new cgi script as you suggested which turned up these
results

DOCUMENT_ROOT=/usr/local/apache/virtual/www.e-netcomm.co.uk/public_html
GATEWAY_INTERFACE=CGI/1.1
HTTP_ACCEPT=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
application/x-shockwave-flash, */*
HTTP_ACCEPT_LANGUAGE=en-gb
HTTP_CACHE_CONTROL=max-stale=0
HTTP_HOST=www.e-netcomm.co.uk
HTTP_USER_AGENT=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR
1.0.3705; .NET CLR 1.1.4322)
IFS=

MAILCHECK=600
OPTIND=1
PATH=/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/sbin:/bin:/usr/local
/ssl/bin:/usr/local/mysql/bin
QUERY_STRING=
REMOTE_ADDR=192.6.126.74
REMOTE_PORT=44307
REQUEST_METHOD=GET
REQUEST_URI=/cgi-bin/sqwebmail_check
SCRIPT_FILENAME=/usr/local/apache/cgi-bin/sqwebmail_check
SCRIPT_NAME=/cgi-bin/sqwebmail_check
SERVER_ADDR=212.113.200.71
[EMAIL PROTECTED]
SERVER_NAME=www.e-netcomm.co.uk
SERVER_PORT=80
SERVER_PROTOCOL=HTTP/1.0
SERVER_SIGNATURE=Apache/1.3.28 Server at www.e-netcomm.co.uk Port
80

SERVER_SOFTWARE=Apache/1.3.28 (Unix) PHP/4.3.2
SQWEBMAIL_TEMPLATEDIR=/usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmai
l
TZ=GB
UNIQUE_ID=P3RaPgoAAAIAAC9iIS4


As you can see the SQWEBMAIL_TEMPLATEDIR appears to be set ok, 
I double checked the changes after I had added the en-us direct and linked
en to it, and still no joy.

I was wondering is sqwebmail was using the default templates held in
/usr/local/share/sqwebmail/html - so I tried altering one of these for
interest, same thing no change. 

I have no idea where sqwebmail is getting the templates from, and to be even
more confusing, its getting the images and css from the right virtual dir, I
just have no idea what tamplate dir its using ???

Any more suggestiosn welcome.

Thanks,

Matt.




Re: [sqwebmail] Templates not picking up changes

2003-09-26 Thread Brian Candler
On Fri, Sep 26, 2003 at 02:34:48PM +0100, DARCY,MATTHEW (HP-UnitedKingdom,ex2) wrote:
>ls -la /usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail
> 
>total 12
> 
>drwxr-xr-x   4 webmaster website  512 Sep 26 11:20 .
> 
>drwxr-xr-x   5 webmaster website  512 Sep 26 11:20 ..
> 
>drwxrwxrwx   2 webmaster website 1536 Sep 26 11:20 en

Probably not the problem, but worth mentioning that the default templates
are under "en-us", with "en" as a symlink to "en-us".

But it sounds like sqwebmail is still picking up templates; it's just
picking up the ones in the old location.

I'd suggest you replace the sqwebmail CGI with a simple script like this:

#!/bin/sh
echo "Content-Type: text/plain"
echo ""
set

which will show you whether the SQWEBMAIL_TEMPLATEDIR environment variable
has been set properly by Apache (and if not, you know it's an Apache config
problem that you need to resolve)

Regards,

Brian.



[sqwebmail] Templates not picking up changes

2003-09-26 Thread DARCY,MATTHEW (HP-UnitedKingdom,ex2)
Title: Templates not picking up changes





Hi all,

I have had this problem before which was down to a config error on the templates settings on my part.

I am having this problem again, yet I am %99 certain it is configured well.

I am making changes to some templates for testing, when I refresh the page the template changes are not being picked up.

I'll show you my domain config first of all.



    ServerAdmin [EMAIL PROTECTED]

    DocumentRoot /usr/local/apache/virtual/www.e-netcomm.co.uk/public_html

    ScriptAlias /cgi-bin/ /usr/local/apache/cgi-bin/

    ServerName www.e-netcomm.co.uk

    ServerAlias www.enetcomm.co.uk

    ServerAlias www.e-netcomm.com

    ServerAlias www.enetcomm.com

    SetEnv SQWEBMAIL_TEMPLATEDIR /usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail

#    SetEnv QMAILADMIN_TEMPLATEDIR /usr/local/apache/virtual/www.e-netcomm.co.uk/qmailadmin

    Redirect /webmail.html http://www.e-netcomm.co.uk/cgi-bin/sqwebmail

    Redirect /webmail http://www.e-netcomm.co.uk/cgi-bin/sqwebmail

    ErrorLog logs/www.e-netcomm.co.uk_error_log

    CustomLog logs/www.e-netcomm.co.uk_access_log common



As you can see the sqwebmail templates should be held in /usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail


And 

ls -la /usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail

total 12

drwxr-xr-x   4 webmaster website  512 Sep 26 11:20 .

drwxr-xr-x   5 webmaster website  512 Sep 26 11:20 ..

drwxrwxrwx   2 webmaster website 1536 Sep 26 11:20 en

(as I understand it you don't put the en in the templates path string as this is for multiple language templates)

# ls -la /usr/local/apache/virtual/www.e-netcomm.co.uk/sqwebmail/en

total 374

drwxrwxrwx   2 webmaster website 1536 Sep 26 11:20 .

drwxr-xr-x   4 webmaster website  512 Sep 26 11:20 ..

-rwxrwxrwx   1 webmaster website   11 Sep 26 11:20 CHARSET

-rwxrwxrwx   1 webmaster website    8 Sep 26 11:20 ISPELLDICT

-rwxrwxrwx   1 webmaster website    6 Sep 26 11:20 LANGUAGE

-rwxrwxrwx   1 webmaster website   11 Sep 26 11:20 LANGUAGE_PREF

-rwxrwxrwx   1 webmaster website    6 Sep 26 11:20 LOCALE

-rwxrwxrwx   1 webmaster website  714 Sep 26 11:20 TIMEZONELIST

-rwxrwxrwx   1 webmaster website 3785 Sep 26 11:20 abooklist.html

-rwxrwxrwx   1 webmaster website 7139 Sep 26 11:20 attachments.html

-rwxrwxrwx   1 webmaster website 5245 Sep 26 11:20 autoresponder.html

-rwxrwxrwx   1 webmaster website  897 Sep 26 11:20 calendarlogin.inc.html

-rwxrwxrwx   1 webmaster website  369 Sep 26 11:20 empty.html

-rwxrwxrwx   1 webmaster website 4873 Sep 26 11:20 eventacl.html

-rwxrwxrwx   1 webmaster website 4047 Sep 26 11:20 eventdaily.html

etc etc etc

I alter login.html so the header says "e-netcomm webmail" instead of sqwebmail login

And refresh - nothings changed.

I have altered the logo image sizenothings changed.

I alter the log image, and the background colour in the sqwebmail.css in the images dir - that works but the login.html changes are still not picked up ??

Any suggestions as to why this is 

(Also I know the permissions are wrong/too open on the templates - I set this on purpose for testing, I'll tighten it up later)

thanks,

Matt.




RE: [sqwebmail] Templates

2003-09-15 Thread DARCY,MATTHEW (HP-UnitedKingdom,ex2)
Hi,

I have a basic archive setup and ready to go - I promise to develop it if
people contribute.

So fill 'er up


http://www.mdlan.co.uk/projects/sqwebmail/


thanks,

Matt.


-Original Message-
From: Eric Scopinho [mailto:[EMAIL PROTECTED] 
Sent: 15 September 2003 17:25
To: [EMAIL PROTECTED]
Subject: [sqwebmail] Templates

Hi,

Probably, this question was made before, but  I'd like to know if there is
some kind of repositorie for sqwebmail templates or everybody make your own
custom version

Regards,

Eric Scopinho

- Original Message - 
From: "Brian Candler" <[EMAIL PROTECTED]>
To: "Alexey Kolobynin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 10:24 AM
Subject: Re: [sqwebmail] Webmail change password problem


> On Mon, Sep 15, 2003 at 04:06:08PM +0300, Alexey Kolobynin wrote:
> > >> I have installed courier-0.43.1 with sqwebmail, configured pop3d,
esmtpd
> > >> to support plain and cram-md5 auth methods and authdaemon(userdb) as
> > >> auth module. All work fine. But when I change password for my mailbox
> > >> in sqwebmail, it change my plain password only in userdb, but not
> > >> cram-md5. As far as I have understood from sources there is no
> > >> function to change cram-md5 password for authdb. Is this true? If
not,
> > >> how can I configure webmail to change this passwords?
> >
> > BC> CRAM-MD5 authentication uses the cleartext password. In fact it
> > BC> *cannot* use an encrypted password.
> >
> > I understand this, but can I change both passwords from sqWebmail?
>
> I don't understand. You said already that you have configured sqwebmail to
> use plain passwords and cram-md5, and you also said that the plain text
> password is being changed successfully in userdb. Therefore it should be
> working. There is no separate "cram-md5" password in userdb.
>
> Brian.
>
>





[sqwebmail] Templates

2003-09-15 Thread Eric Scopinho
Hi,

Probably, this question was made before, but  I'd like to know if there is
some kind of repositorie for sqwebmail templates or everybody make your own
custom version

Regards,

Eric Scopinho

- Original Message - 
From: "Brian Candler" <[EMAIL PROTECTED]>
To: "Alexey Kolobynin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 15, 2003 10:24 AM
Subject: Re: [sqwebmail] Webmail change password problem


> On Mon, Sep 15, 2003 at 04:06:08PM +0300, Alexey Kolobynin wrote:
> > >> I have installed courier-0.43.1 with sqwebmail, configured pop3d,
esmtpd
> > >> to support plain and cram-md5 auth methods and authdaemon(userdb) as
> > >> auth module. All work fine. But when I change password for my mailbox
> > >> in sqwebmail, it change my plain password only in userdb, but not
> > >> cram-md5. As far as I have understood from sources there is no
> > >> function to change cram-md5 password for authdb. Is this true? If
not,
> > >> how can I configure webmail to change this passwords?
> >
> > BC> CRAM-MD5 authentication uses the cleartext password. In fact it
> > BC> *cannot* use an encrypted password.
> >
> > I understand this, but can I change both passwords from sqWebmail?
>
> I don't understand. You said already that you have configured sqwebmail to
> use plain passwords and cram-md5, and you also said that the plain text
> password is being changed successfully in userdb. Therefore it should be
> working. There is no separate "cram-md5" password in userdb.
>
> Brian.
>
>





Re: [sqwebmail] Sqwebmail templates translation

2003-08-14 Thread EuropeanServers - Christophe BAEGERT
Hello,

Le lun aoû 11 10:44:21 CEST 2003, NOC (EUROFMC) a écrit:
> Hi everybody !
>
> Is somebody interesting about a french translation of the Sqwebmail
> templates ?
>
> I should make this translation for a french customer and after offer this
> to everybody.
>
> Except if that already exists, of course... In french, people says "inutile
> de réinventer l'eau chaude", "it's not necessary to invent the warm water
> again..."

We did it. I'll publish it on our website this evening.

Regards,
-- 
Christophe BAEGERT  [EMAIL PROTECTED]

>>>>>>>>>>>>> http://www.europeanservers.net <<<<<<<<<<<<<
--- Ultra fast internet servers --



[sqwebmail] templates (revisited)

2003-08-14 Thread Adam Webb - Network Manager
I'm sure this has been touched on thousands of times, but my searches
through the archives don't turn up what I'm looking for.

I understand how to setup a template, but I don't know how to take the
existing html docs and modify them to provide a "new look" What is
changeable and what isn't? Or is there a url to answer all of this?
Thanks!
-- 
Adam Webb
Network Manager (530) 897-4069
StormNet Communications



[sqwebmail] Templates

2003-08-14 Thread Jim Kubicek
Quick question.  Would there be any interest in a SqWebMail template gallery
of sorts?  If there are enough that think this would be a good idea, I will
be glad to host it.

Thanks,

Jim




RE: [sqwebmail] Templates

2003-08-14 Thread Anton Zavrin_old
I love the idea :)


Best Regards, Anton


-Original Message-
From: Jim Kubicek [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 13, 2003 5:59 AM
To: sqwebmail
Subject: [sqwebmail] Templates

Quick question.  Would there be any interest in a SqWebMail template
gallery
of sorts?  If there are enough that think this would be a good idea, I
will
be glad to host it.

Thanks,

Jim




[sqwebmail] Re: Sqwebmail templates translation

2003-08-14 Thread Sam Varshavchik
EuropeanServers - Christophe BAEGERT writes:

Hello,

Except if that already exists, of course... In french, people says "inutile
de réinventer l'eau chaude", "it's not necessary to invent the warm water
again..."
We did it. I'll publish it on our website this evening.
Hopefully, you based your translation on the latest development build, where
the existing HTML templates got cleaned up into clean XML.


pgp0.pgp
Description: PGP signature


[sqwebmail] Sqwebmail templates translation

2003-08-14 Thread NOC (EUROFMC)
Hi everybody !

Is somebody interesting about a french translation of the Sqwebmail templates ?

I should make this translation for a french customer and after offer this 
to everybody.

Except if that already exists, of course... In french, people says "inutile 
de réinventer l'eau chaude", "it's not necessary to invent the warm water 
again..."

Regards,

Francois Monnet
FMC Luxemburg 




Re: [sqwebmail] templates (revisited)

2003-08-11 Thread Jesse Guardiani
- Original Message - 
From: "Adam Webb - Network Manager" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 11, 2003 8:56 PM
Subject: [sqwebmail] templates (revisited)


> I'm sure this has been touched on thousands of times, but my searches
> through the archives don't turn up what I'm looking for.
> 
> I understand how to setup a template, but I don't know how to take the
> existing html docs and modify them to provide a "new look" What is
> changeable and what isn't?

Obviously all of the HTML in the templates themselves is changable.
Limitation comes from the output of the various CGI "tags" embedded
in the templates. Most of these tags output more than just one HTML
object (like a combo box or a input field). Most tags output entire
sections of the page, including buttons, emails, and other large
items like the folder list.

When you run across a tag that outputs a lot of HTML like that, you
can't change the HTML the tag outputs without patching the CGI. You
can, however, usually change the color of the outputted HTML via the
sqwebmail.css stylesheet. (look in /path/to/apache/htdocs/webmail)

You can find a reference for all of the sqwebmail CGI tags and a
brief description of their functions here:

http://www.wingnet.net/~jesse/tags.html

Happy hacking.

Jesse



[sqwebmail] Sqwebmail templates translation

2003-08-11 Thread NOC (EUROFMC)
Hi everybody !

Is somebody interesting about a french translation of the Sqwebmail templates ?

I should make this translation for a french customer and after offer this 
to everybody.

Except if that already exists, of course... In french, people says "inutile 
de réinventer l'eau chaude", "it's not necessary to invent the warm water 
again..."

Regards,

Francois Monnet
FMC Luxemburg



[sqwebmail] Templates Never Matirialised

2003-07-01 Thread DARCY,MATTHEW (HP-UnitedKingdom,ex2)
Title: Templates Never Matirialised





Hi all,

I am sad to say that dispite the initial interest of creating an sqwebmail template and qmailadmin template archive for people to use and "hack" no one actually every submitted any templates or posted any details back to me.

I appreciate that templates are made up in peoples time so they may not be finished or are just having a little break from developing them which is fine. If this is the case could anyone who is interested in contributing templates to either sqwebmail or qmailadmin drop me a mail on either of my addresses ([EMAIL PROTECTED] would be better though ) and just confirm they are interested in contributing. If I get as many firm confirmations as "loose offers" last time around, I'll start creating the archive.

Thanks,

Matt.




Re: [sqwebmail] Templates?

2003-06-14 Thread Adrian Mugica
Thanks


--- Darcy Dueck <[EMAIL PROTECTED]> wrote:
> There aren't any that I know of yet, but the
> question is asked often, and somebody usually
> replies and says when they have one, they will post
> it to the list.
> 
> Darcy
>   - Original Message - 
>   From: Adrian Mugica 
>   To: [EMAIL PROTECTED] 
>   Sent: Friday, June 13, 2003 3:06 PM
>   Subject: [sqwebmail] Templates?
> 
> 
>   Does anyone know where I could get alternate
> templates for the way sqwebmail looks? Are there
> any? Or do I have to make one myself?
> 
> 
>   Thanks,
>   Adrian
> 
> 
>
--
>   Do you Yahoo!?
>   Free online calendar with sync to Outlook(TM).


__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com



[sqwebmail] Templates?

2003-06-13 Thread Adrian Mugica
Does anyone know where I could get alternate templates for the way sqwebmail looks? Are there any? Or do I have to make one myself?
 
 
Thanks,
Adrian
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).

[sqwebmail] Sqwebmail templates

2003-03-12 Thread wf
Hello! 

I am looking for templates for SqWebmail. Anyone who have one and want to 
share it can send it to me :) 

Thanks! 

///Brimba



Re: [sqwebmail] Templates and such

2002-12-13 Thread Jesse Guardiani
What kind of template engine do you have in mind? 

Personally, I really like the embedded XML approach.

Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.


- Original Message - 
From: "Nathan" <[EMAIL PROTECTED]>
To: "Andreas Stollar" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, December 12, 2002 8:46 PM
Subject: Re: [sqwebmail] Templates and such
> 
> I'm thinking of writing a new template engine for sqwebmail and 
> submitting it as a patch. But, it would require re-writing large chunks 
> of sqwebmail code, which I don't like the idea of doing ;)
> 
> Nathan.
> 
> -- 
> "You have just destroyed one model XQJ-37 nuclear powered
> pansexual roto-plookerand you're gonna have to pay for it."
>   - Frank Zappa
> 
> 
> 





Re: [sqwebmail] Templates and such

2002-12-12 Thread Nathan
On Friday, December 13, 2002, at 01:37  am, Andreas Stollar wrote:


Greetings,

I have been able to change the look and feel of the read message page 
by
editing /usr/local/share/sqwebmail/html/en/readmsg.html. I put some new
icons in /usr/local/apache/htdocs/webmail/ and changed the references 
in
readmsg.html. It all worked great, and no editing of source was 
required.

Andreas

I hate to be disagreeable, but what if you want the ", or move to [drop 
down list] (GO)" bit to be before the print/save button? What if you 
want to change the order of those buttons? Can't do it in the 
templates. Got to edit the source ..

It's only minor changes, but it's still a pain.

I'm thinking of writing a new template engine for sqwebmail and 
submitting it as a patch. But, it would require re-writing large chunks 
of sqwebmail code, which I don't like the idea of doing ;)

Nathan.

--
"You have just destroyed one model XQJ-37 nuclear powered
pansexual roto-plookerand you're gonna have to pay for it."
 - Frank Zappa




Re: [sqwebmail] Templates and such

2002-12-12 Thread Andreas Stollar
Greetings,

I have been able to change the look and feel of the read message page by 
editing /usr/local/share/sqwebmail/html/en/readmsg.html. I put some new 
icons in /usr/local/apache/htdocs/webmail/ and changed the references in 
readmsg.html. It all worked great, and no editing of source was required.

Andreas

On Thu, 12 Dec 2002, Nathan wrote:

> Date: Thu, 12 Dec 2002 14:55:40 +0900
> From: Nathan <[EMAIL PROTECTED]>
> To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> Subject: [sqwebmail] Templates and such
> 
> Hi there,
> 
> I've been playing around with sqwebmail for a week or so now, and I 
> must say that I'm quite impressed with the features and speed that it 
> provides. I've had no problems setting it up and getting it working, 
> and the unicode support seems great in the latest version. More testing 
> to do.
> 
> Just some feedback/feature requests, mostly;
> 
> There really needs to be more configurability over the templates. For 
> example, it's possible to make substantial changes to the header and 
> footer, etc, but to make any changes to the 'read message' page - 
> particularly the message action buttons (forward, reply, delete, etc) - 
> and other pages like this where the HTML is hardcoded, is quite a pain. 
> You have to go and edit the source - ick.
> 
> Now, I'm no C coder, but I don't mind hacking a bit of C code here and 
> there, but really, I hope template support is improved at some stage :) 
> The default look and feel is, well, dire. (Sorry)
> 
> Also, it would be cool if there was a way of transcoding emails in 
> other character sets to unicode. If I set everything to unicode, then 
> it should be possible to take an iso-2022-jp email and transcode it to 
> display correctly.
> 
> In any case, keep up the good work.
> 
> Regards,
> 
> Nathan.
> 
> -- 
> Diamonds on velvets on goldens on vixen
> On comet & cupid on donner & blitzen
> On up & away & afar & a go-go
> Escape from the weight of your corporate logo!
> 
> 
> 
> 





[sqwebmail] Templates and such

2002-12-11 Thread Nathan
Hi there,

I've been playing around with sqwebmail for a week or so now, and I 
must say that I'm quite impressed with the features and speed that it 
provides. I've had no problems setting it up and getting it working, 
and the unicode support seems great in the latest version. More testing 
to do.

Just some feedback/feature requests, mostly;

There really needs to be more configurability over the templates. For 
example, it's possible to make substantial changes to the header and 
footer, etc, but to make any changes to the 'read message' page - 
particularly the message action buttons (forward, reply, delete, etc) - 
and other pages like this where the HTML is hardcoded, is quite a pain. 
You have to go and edit the source - ick.

Now, I'm no C coder, but I don't mind hacking a bit of C code here and 
there, but really, I hope template support is improved at some stage :) 
The default look and feel is, well, dire. (Sorry)

Also, it would be cool if there was a way of transcoding emails in 
other character sets to unicode. If I set everything to unicode, then 
it should be possible to take an iso-2022-jp email and transcode it to 
display correctly.

In any case, keep up the good work.

Regards,

Nathan.

--
Diamonds on velvets on goldens on vixen
On comet & cupid on donner & blitzen
On up & away & afar & a go-go
Escape from the weight of your corporate logo!




[sqwebmail] Customize sqwebmail templates

2002-11-28 Thread Marcio Merlone
Dear Sqwebmailers,

I am tring to customize html templates, and my target now is to put folders list on a 
left-cell from a table on messages view. Well, my english is not that good, so follow 
a sketch:  :)

  ,'|
  | |
  | |
  | Login screen|
  | |
  | |
  |.P
  |
  V
  ,'|
  | |
  | |
  | folders.html|
  |  (click on INBOX)   |
  | |
  |.P
 |
 V
  ,||
  |||
  |||
  | A  |  B   modified  |
  || folder.html|
  |||
  ||P

where
   A = folders list from folders.html
   B = messages list from folder.html

I tried to build a frameset to get that (either messing with index.html or 
folders.html), but does not log-in at all.
I tried to mix both codes (folders.html and folder.html , but it stops in the middle 
of nowhere when browsing and without any apparent logic! At least I could not figure 
out what the logic is.
I noticed in html code that there are some tags cannot be removed, otherwise this 
behavior happens. But kept original tags when coping from one html to another and 
still does not work.

The point is, is there any kind of documentation about how to use those tags, as if I 
would build a whole new html template set? I don't know enough of C code to read it 
and guess how to do it. (OK, I am a lammer! :)
Is there another template I could use or make a reverse engineering?

Thanks to David Brown who gave some idea, but could not get useful results. Thanks to 
anyone in advance.

Regards,

-- 
Marcio Merlone




[sqwebmail] templates info

2002-11-16 Thread Dale
Just wondering if there is more information on doing
templates for different domains.

__
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com




Re: [sqwebmail] Sqwebmail templates with apache virtual Dirs ?

2002-09-30 Thread John Chapman


> 
> Also is there an archive list for sqwebmail as I couldn't find one.
> 

Amazing.


http://www.google.com/search?q=sqwebmail+archives&sourceid=opera&num=1
0&ie=utf-8&oe=utf-8


http://marc.theaimsgroup.com/?l=sqwebmail


John C.



[sqwebmail] Sqwebmail templates with apache virtual Dirs ?

2002-09-30 Thread DARCY,MATTHEW (HP-UnitedKingdom,ex2)



Any update on how to use sqwebmail templates with apache ??

I have numerous virtual domains that would like their own modified templates
/ images.

Is there any instructions on how to do this ???, ie the same way as
qmailadmin sets a variable in apache.

Also is there an archive list for sqwebmail as I couldn't find one.

thanks,

Matt.




Sqwebmail templates

2001-10-11 Thread Alejandro Perretta

have anyone a template for the new version of Sqwebmail???
Thanks in advance

Alejandro



Sqwebmail Templates

2001-02-20 Thread Sumith Ail



Hello
 
Can anybody let me know, where can I find free html 
templates for sqwebmail
 
Thanks
 
Sumith