Re: [newbie] Squirrelmail and dyndns

2005-02-23 Thread Paul

Derek, Mikkel,

Thank you for helping me out on this. Things are working perfectly!

Greets,
Paul

-- 
Ignoranus: A person who's both stupid and an asshole.

http://www.nlpagan.net
Running on Linux Mandrake and Brooks Addiction 5.


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Squirrelmail and dyndns (small correction)

2005-02-22 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 22 Feb 2005 21:33, Paul wrote:
> Op Tue, 22 Feb 2005 19:05:38 + schreef Anne Wilson:
> >> My mistake: 192.168.0.1 is the IP of the win-thing.
> >
> >I'm not sure what you mean by the win-thing, but that address is
> >usually the  gateway, usable by both linux clients and windows clients.
>
> *grin* The win-thing is the old p2 that I have lying around, with win98
> on it. Don't worry about it. Things seem to be okay now. I asked a
> friend to see if he could reach the main webpage and the squirrelmail
> login page and both work. In the access-log of apache I can see that he
> tried and when he tried. And most important: that he actually got to the
> page. The IP address that is in the logging is of the client requesting
> the page, so that is good also.
> The old win-thing *grin* has IP 192.168.0.1 and the Linux machine is
> 192.168.0.2. I had first mistaken the IP in the logging for the Linux
> machine. But later I saw that it was actually the IP of the p2 that was
> captured. Therefore my somewhat unclear addition to the mail I had
> already sent out.
>
Glad you got it sorted

Anne

- -- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCG63kkFAvMr/nNX8RAnsbAKCCUsPP5r+muiH6kIVzrh7HKpkB4gCbBsuC
7R2wr0FrhnBRAIaXJxsiA0Y=
=PNaZ
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Squirrelmail and dyndns (small correction)

2005-02-22 Thread Paul
Op Tue, 22 Feb 2005 19:05:38 + schreef Anne Wilson:

>> My mistake: 192.168.0.1 is the IP of the win-thing.
>>
>I'm not sure what you mean by the win-thing, but that address is
>usually the  gateway, usable by both linux clients and windows clients.

*grin* The win-thing is the old p2 that I have lying around, with win98
on it. Don't worry about it. Things seem to be okay now. I asked a
friend to see if he could reach the main webpage and the squirrelmail
login page and both work. In the access-log of apache I can see that he
tried and when he tried. And most important: that he actually got to the
page. The IP address that is in the logging is of the client requesting
the page, so that is good also.
The old win-thing *grin* has IP 192.168.0.1 and the Linux machine is
192.168.0.2. I had first mistaken the IP in the logging for the Linux
machine. But later I saw that it was actually the IP of the p2 that was
captured. Therefore my somewhat unclear addition to the mail I had
already sent out.

Paul

-- 
Beelzebug (n.): Satan in the form of a mosquito that gets into your
bedroom at three in the morning and cannot be cast out.

http://www.nlpagan.net/linux.php
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Squirrelmail and dyndns (small correction)

2005-02-22 Thread Anne Wilson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 22 Feb 2005 18:54, Paul wrote:
> Small correction:
> >Win98. I use the linux machine as a gateway, and when I call
> >nwyfre.homelinux.net with the win98 thing I see it immediately is
> >serviced by the linuxmachine over the internal IP:
> >
> >192.168.0.1 - - [22/Feb/2005:16:59:49 +0100] "GET / HTTP/1.1" 200 251
> >"-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; MSOCD;
> >AtHomeEN191)" 192.168.0.1 - - [22/Feb/2005:16:59:50 +0100] "GET
> >/menu.php HTTP/1.1" 200 713 "http://nwyfre.homelinux.net"; "Mozilla/4.0
> >(compatible; MSIE 6.0; Windows 98; MSOCD; AtHomeEN191)"
>
> My mistake: 192.168.0.1 is the IP of the win-thing.
>
I'm not sure what you mean by the win-thing, but that address is usually the 
gateway, usable by both linux clients and windows clients.

Anne
- -- 
Registered Linux User No.293302 (http://counter.li.org/)
Have you visited http://twiki.mdklinuxfaq.org yet?  Mandrake at all levels
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFCG4KCkFAvMr/nNX8RAnuVAJ9yeRl50IUVOCc6G3nxsu7EZ+gO/QCdFi5N
6SEUftawQJCq2Cw8q8lUjcU=
=pYgo
-END PGP SIGNATURE-


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Squirrelmail and dyndns (small correction)

2005-02-22 Thread Paul

Small correction:

>Win98. I use the linux machine as a gateway, and when I call
>nwyfre.homelinux.net with the win98 thing I see it immediately is
>serviced by the linuxmachine over the internal IP:
>
>192.168.0.1 - - [22/Feb/2005:16:59:49 +0100] "GET / HTTP/1.1" 200 251
>"-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; MSOCD;
>AtHomeEN191)" 192.168.0.1 - - [22/Feb/2005:16:59:50 +0100] "GET
>/menu.php HTTP/1.1" 200 713 "http://nwyfre.homelinux.net"; "Mozilla/4.0
>(compatible; MSIE 6.0; Windows 98; MSOCD; AtHomeEN191)"

My mistake: 192.168.0.1 is the IP of the win-thing.

Paul


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Squirrelmail and dyndns

2005-02-22 Thread Paul
Op Tue, 22 Feb 2005 12:55:26 + schreef Derek Jennings:

Hi Derek,

>Compare your setup to mine
>/etc/squirrelmail/config.php
>/etc/httpd/2.0/conf/vhosts/Vhosts.conf

I looked at and changed my config to match yours.
Still no joy. When I load the main page, in the httpd access_log I see:

84.29.253.52 - - [22/Feb/2005:16:45:42 +0100] "GET /squirrel HTTP/1.1"
301 462 "http://nwyfre.homelinux.net/menu.php"; "Mozilla/5.0 (X11; U;
Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0"

That looks okay, it comes in through the external IP (84.29.253.52). But
when I click on to Squirrelmail, I see this happen:

192.168.0.2 - - [22/Feb/2005:16:45:42 +0100] "GET /squirrel/ HTTP/1.1"
302 14 "http://nwyfre.homelinux.net/menu.php"; "Mozilla/5.0 (X11; U;
Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0"
192.168.0.2 - - [22/Feb/2005:16:45:42 +0100] "GET /favicon.ico HTTP/1.1"
404 432 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Gecko/20041107 Firefox/1.0"
192.168.0.2 - - [22/Feb/2005:16:45:42 +0100] "GET
/squirrel/src/login.php HTTP/1.1" 200 2148
"http://nwyfre.homelinux.net/menu.php"; "Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0"

Things are taken over by the internal IP and take it from there.

It gets really interesting when I fire up an old box I have around with
Win98. I use the linux machine as a gateway, and when I call
nwyfre.homelinux.net with the win98 thing I see it immediately is
serviced by the linuxmachine over the internal IP:

192.168.0.1 - - [22/Feb/2005:16:59:49 +0100] "GET / HTTP/1.1" 200 251
"-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; MSOCD; AtHomeEN191)"
192.168.0.1 - - [22/Feb/2005:16:59:50 +0100] "GET /menu.php HTTP/1.1"
200 713 "http://nwyfre.homelinux.net"; "Mozilla/4.0 (compatible; MSIE
6.0; Windows 98; MSOCD; AtHomeEN191)"

And when I click on to Sq. on the win-thing I see that it keeps going on
the local machine:

192.168.0.1 - - [22/Feb/2005:17:00:45 +0100] "GET
/squirrel/images/sm_logo.png HTTP/1.1" 304 -
"http://nwyfre.merlijn/squirrel/src/login.php"; "Mozilla/4.0 (compatible;
MSIE 6.0; Windows 98; MSOCD; AtHomeEN191)"
 
But then I tried getting to www.nwyfre.homelinux.net through the
win-thing and that did *not* work! I had set my virtualhost in Apache to
www.nwyfre..etc as per your example. Now I dropped all the www.'s,
restarted Apache, and things look a lot different all of a sudden.
IExploiter lets me see the Sq. login screen (Url says
http://nwyfre.homelinux.net/squirrel/src) and lets me login and see my
e-mail. (Url remains the homelinux reference.)

This seems to work! I'll have a go at this again from work tomorrow.
Thanks!!
And I'll go after ddclient as soon as I can also. :-)

Paul


-- 
Beelzebug (n.): Satan in the form of a mosquito that gets into your
bedroom at three in the morning and cannot be cast out.

http://www.nlpagan.net/linux.php
Have you visited http://twiki.mdklinuxfaq.org yet?


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Squirrelmail and dyndns

2005-02-22 Thread Paul
>> I have now setup an account at dyndns.org (nifty!) and I can access the
>> main page of my home system by going to http://nwyfre.homelinux.org.
>> That is much more convenient than the cp14---...
>>
> Now install ddclient from contrib, edit /etc/ddclient.conf with your
> dyndns
> account details, and your computer will update the dyndns servers any time
> your IP address changes.

Great, thanks, I'll do that.

>> But still I have a problem getting to and into Squirrelmail.
>> Main page displays fine.
>
> No it doesn't. Don't you mean
> http://nwyfre.homelinux.net instead?

Yes. I mean that I can get to the main page at
http://nwyfre.homelinux.net, but trying to get to the login of
Squirrelmail already fails.

> Compare your setup to mine

Okay, I'll get to that as soon as I have the time (busy evening this
evening), but I'll get back to you. Thanks again!

Paul



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



Re: [newbie] Squirrelmail and dyndns

2005-02-22 Thread Derek Jennings
On Tuesday 22 February 2005 08:01, [EMAIL PROTECTED] wrote:
> Hi all,
>
> I have now setup an account at dyndns.org (nifty!) and I can access the
> main page of my home system by going to http://nwyfre.homelinux.org.
> That is much more convenient than the cp14---...
>
Now install ddclient from contrib, edit /etc/ddclient.conf with your dyndns 
account details, and your computer will update the dyndns servers any time 
your IP address changes.

> But still I have a problem getting to and into Squirrelmail.
> Main page displays fine.

No it doesn't. Don't you mean
http://nwyfre.homelinux.net instead?

> The link on the page won't work (changed that 
> hard to http://cp14blahbla). But going to
> http://nwyfre.homelinux.org/squirrel also complains: the url is again
> changed to http://nwyfre.merlijn/squirrel/ (the local machine), and the
> "bad gateway" message comes up again (code=DNS_HOST_NOT_FOUND). So where
> am I going wrong?

Compare your setup to mine
/etc/squirrelmail/config.php
#
http://www.squirrelmail.org/';
$provider_name = 'SquirrelMail';
$motd = "";
$squirrelmail_default_language = 'en';
$domain = 'jennings.homelinux.net';
$imapServerAddress  = 'localhost';
$imapPort   = 143;
$useSendmail= true;
$smtpServerAddress  = 'localhost';
$smtpPort   = 25;
$sendmail_path  = '/usr/sbin/sendmail';
$pop_before_smtp= false;
$imap_server_type   = 'courier';
$invert_time= false;
$optional_delimiter = 'detect';

/etc/httpd/2.0/conf/vhosts/Vhosts.conf
##
NameVirtualHost www.jennings.homelinux.net

ServerName www.jennings.homelinux.net
ServerAlias www.jennings.homelinux.net
#ServerPath /domain
DocumentRoot /var/www/html



derek
-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com



[newbie] Squirrelmail and dyndns

2005-02-22 Thread linux
Hi all,

I have now setup an account at dyndns.org (nifty!) and I can access the
main page of my home system by going to http://nwyfre.homelinux.org.
That is much more convenient than the cp14---...

But still I have a problem getting to and into Squirrelmail.
Main page displays fine. The link on the page won't work (changed that
hard to http://cp14blahbla). But going to
http://nwyfre.homelinux.org/squirrel also complains: the url is again
changed to http://nwyfre.merlijn/squirrel/ (the local machine), and the
"bad gateway" message comes up again (code=DNS_HOST_NOT_FOUND). So where
am I going wrong?

The pc is defined in /etc/hosts as
192.168.0.2 nwyfre.merlijnnwyfre

Do I need to change something there, I wonder. It has always been okay
like this, but somehow the name translation now seems to go wrong through
here. Perhaps I need to remove the nwyfre.merlijn entry?

Thanks for all your help and patience.

Paul



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com