Lars E. D. Jensen | 3 Jul 2004 03:30
Picon

Change Date display format

Hi

Same old story. When living in Europe, some countries including the one 
I live in (Denmark), have a different way of displaying dates...

"Sat 06:08 AM" isn't my users preferred way. I've tried to set my 
servers locales to da_DK.ISO-8859-1, but I still get the wrong format.

Can the format be changed in some way?

Thanks

--

-- 
Med venlig hilsen / Best regards

Lars E. D. Jensen
lars <at> dangvard.dk

Rick van Vliet | 3 Jul 2004 05:56

Re: Change Date display format

Lars E. D. Jensen wrote:

> Hi
> 
> Same old story. When living in Europe, some countries including the one 
> I live in (Denmark), have a different way of displaying dates...
> 
> "Sat 06:08 AM" isn't my users preferred way. I've tried to set my 
> servers locales to da_DK.ISO-8859-1, but I still get the wrong format.
> 
> Can the format be changed in some way?
> 
> Thanks
> 
Hej Lars -
It also looks like some of your HTML images aren't displaying quite properly either. I 
may be wrong, here...but check your install and make sure that your directories are 
correct. (Where is the html folder...how are the images being called by the cgi, 
things like that.)

This *may* be affecting which LOCALE is being called, too.
/usr/local/share/sqwebmail/html/en-us/LOCALE?
or
/usr/sqwebmail-4.03/sqwebmail/html/en-us/LOCALE?

It took me a few attempts to get the images where they needed to be.
(By The Way -- You might also want to trim down your TIMEZONELIST, too. You've got 
every conveivable timezone from afghanistan to zimbabwe in your dropdown. You can trim 
that to a more manageable list for your users. Again, check which folder TIMEZONELIST 
is being called from, and edit the right one. First things first, though).
(Continue reading)

Lars E. D. Jensen | 3 Jul 2004 11:30
Picon

Re: Change Date display format

Rick van Vliet wrote:
> Hej Lars -
> It also looks like some of your HTML images aren't displaying quite 
> properly either. I may be wrong, here...but check your install and make 
> sure that your directories are correct. (Where is the html folder...how 
> are the images being called by the cgi, things like that.)
> 
> This *may* be affecting which LOCALE is being called, too.
> /usr/local/share/sqwebmail/html/en-us/LOCALE?
> or
> /usr/sqwebmail-4.03/sqwebmail/html/en-us/LOCALE?
> 
> It took me a few attempts to get the images where they needed to be.
> (By The Way -- You might also want to trim down your TIMEZONELIST, too. 
> You've got every conveivable timezone from afghanistan to zimbabwe in 
> your dropdown. You can trim that to a more manageable list for your 
> users. Again, check which folder TIMEZONELIST is being called from, and 
> edit the right one. First things first, though).
> http://www.dangvard.dk/cgi-bin/sqwebmail
> 
> Anyone else? Am I off track here?

Hi Rick

Thanks for your answer. Even though it isn't 
http://www.dangvard.dk/cgi-bin/sqwebmail I'm testing on :)

You lead me in the right direction talking about the template.

I changed LOCALE (inside the template folder) to contain "da_DK", and 
(Continue reading)

Opus | 4 Jul 2004 23:06
Picon

Logging in with IE

If I try to login to any mail account from the only Windows machine I
have, I get the error:
"Action cancelled, IE was unable to link the the page". 

It works fine on any other machine around here.  

If I try to login with an incorrect name/password, I get 'invalid
password', which is the way it should be when the wrong info is put
in.

The version of Sqwebmail is the current stable one.

Any ideas??

--

-- 

Pete
http://milneweb.com
http://nomorevirus.com

Opus | 5 Jul 2004 00:11
Picon

RE: Logging in with IE

>If I try to login to any mail account from the only Windows machine I
>have, I get the error:
>"Action cancelled, IE was unable to link the the page".

>It works fine on any other machine around here.

>If I try to login with an incorrect name/password, I get 'invalid
>password', which is the way it should be when the wrong info is put
>in.

I just loaded Opera on XX Corporate and tried it.  For some accounts
it lets me login, for others it asks me to download an
'application/octet-stream" file.

This is just happening from the XP machine.

--

-- 

Pete
http://milneweb.com
http://nomorevirus.com

Brian Candler | 5 Jul 2004 09:18
Picon
Favicon

Re: RE: Logging in with IE

On Sun, Jul 04, 2004 at 04:11:13PM -0600, Opus wrote:
> I just loaded Opera on XX Corporate and tried it.  For some accounts
> it lets me login, for others it asks me to download an
> 'application/octet-stream" file.

Which contains what?

Have you checked your DNS for the hostname you are connecting to - you don't
have two A records or something like that?

What if you do

http://x.x.x.x/cgi-bin/sqwebmail

where x.x.x.x is the IP address, rather than hostname?

Brian.

Sujoy Ghosh | 5 Jul 2004 14:46
Favicon

Help with execution of sqwebmail CGI

Hi,

Greetings!!

Recently I installed Sqwebmail-4.0.5 on a Redhat Linux 9, Apache/2.0.40.

On submitting the user ID & password via the url http://server.com/cgi-bin/sqwebmail ;the web server is sending the content of the file with the option for (save/open/cancel)instead of executing the file.

No mention of any error in the httpd log file.

Surprisingly with some PC's its getting logged in perfectly. But with most of the PC's the above is happening.

Any help in this regard would be sincerely appreciated.

-thanks & regards

Sujoy



Brian Candler | 5 Jul 2004 15:59
Picon
Favicon

Re: Help with execution of sqwebmail CGI

On Mon, Jul 05, 2004 at 12:46:07PM -0000, Sujoy  Ghosh wrote:
>    Recently I installed Sqwebmail-4.0.5 on a Redhat Linux 9,
>    Apache/2.0.40.
>    On submitting the user ID & password via the url
>    http://server.com/cgi-bin/sqwebmail ;the web server is sending the
>    content of the file with the option for (save/open/cancel)instead of
>    executing the file.

And if you click "save", what does the saved file contain?

>    No mention of any error in the httpd log file.

It sounds like some disagreement between the browser and the CGI over MIME
types. You really need to get a HTTP dump of the session to debug what is
going on. Try running on the server:

  tcpdump -n -i eth0 -s1500 -X tcp port 80 and host x.x.x.x

where x.x.x.x is the IP address of the client you are connecting from. Save
the output of the tcpdump in a file. You are looking for the point where the
server sends back a page after the login has been submitted, when you get
the "save/open/cancel" dialog box.

Put the tcpdump output up on a web page somewhere, or post to the list, and
we'll have a look.

If you're not sure where in the HTTP transaction your password is sent, then
change your password to a dummy value temporarily before making the tcpdump,
and change it back afterwards, to prevent your password being seen.

Brian.

Opus | 5 Jul 2004 16:27
Picon

Re: RE: Logging in with IE

On Mon, 5 Jul 2004 08:18:07 +0100, Brian Candler <b.candler <at> pobox.com> wrote:
> On Sun, Jul 04, 2004 at 04:11:13PM -0600, Opus wrote:
> > I just loaded Opera on XP Corporate and tried it.  For some accounts
> > it lets me login, for others it asks me to download an
> > 'application/octet-stream" file.
> 
> Which contains what?

It doesnt contain anything, it is 0KB in size.  Now, this is with Opera.  
If I do it with IE, sometimes it lets me log in and will bork when I
try to open the message....or it migh let me in.  I am not prompted to
download anything, I just get the page 'cant link to site'.  There is
no rhyme or reason for what is happening.
This is a local machine and I do have the ip in the host file.  Every
other address and cgi app on the server works fine from the XP
machine.....it is just mail that is the issue.

> 
> Have you checked your DNS for the hostname you are connecting to - you don't
> have two A records or something like that?

DNS if fine.

--

-- 

Pete
http://milneweb.com
http://nomorevirus.com

Opus | 5 Jul 2004 16:47
Picon

Re: Help with execution of sqwebmail CGI

On Mon, 5 Jul 2004 14:59:55 +0100, Brian Candler <b.candler <at> pobox.com> wrote:
> On Mon, Jul 05, 2004 at 12:46:07PM -0000, Sujoy  Ghosh wrote:
> >    Recently I installed Sqwebmail-4.0.5 on a Redhat Linux 9,
> >    Apache/2.0.40.
> >    On submitting the user ID & password via the url
> >    http://server.com/cgi-bin/sqwebmail ;the web server is sending the
> >    content of the file with the option for (save/open/cancel)instead of
> >    executing the file.
> 
> And if you click "save", what does the saved file contain?
> 

This is sounding like the same issue I am having.  I also just tried
it on a W2K machine, with IE....works fine.  All my BSD machine with
Firefox/Opera/Dillo work with no issues either.

I did update IE to the 'latest, greatest' as well.  

--

-- 

Pete
http://milneweb.com
http://nomorevirus.com


Gmane