Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
squirrel mail works on local network, but not from web
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Mon Oct 14, 2002 6:00 pm    Post subject: squirrel mail works on local network, but not from web Reply with quote

I have the following ports enabled both udp and tcp:
25
80
143
443
8080
What else could be the issue keeping me from connecting to my squirrelmail from the web?

I can connect just fine within the network, but outside of the firewall, it tells me "The operation timed out when attempting to access....."

Please help
Thank you.
:(
Back to top
View user's profile Send private message
El_Presidente_Pufferfish
Veteran
Veteran


Joined: 11 Jul 2002
Posts: 1179
Location: Seattle

PostPosted: Mon Oct 14, 2002 7:13 pm    Post subject: Reply with quote

what kinda firewall?
if its a router, squirrelmail works for me with just my apache port(i dont use standard 80), (that is of course without SSL, because i cant get ssl working!)

if its something more than a simple cable modem/dsl router, its over my head :-(
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Mon Oct 14, 2002 7:36 pm    Post subject: Reply with quote

it is just an ipchains router.
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Mon Oct 14, 2002 7:39 pm    Post subject: Reply with quote

I have installed fetchmail, and still do not recieve mail. having never used any of this before, I ask, do I need to configure fetchmail?
Back to top
View user's profile Send private message
BackSeat
Apprentice
Apprentice


Joined: 12 Apr 2002
Posts: 242
Location: Reading, UK

PostPosted: Mon Oct 14, 2002 9:56 pm    Post subject: Reply with quote

Yes, you need to configure fetchmail (how will it know from whence to fetch the mail if you don't tell it?)

As for squirrelmail: are you running a LAN behind a firewall, and if so is the LAN using private (RFC1918) addresses? And if so, are you port forwarding from your firewall? Need to know the details, but if the above is true you need to ensure you have the following in your /etc/apache/conf/commonapache.conf:
Code:
UseCanonicalName Off


BS
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Mon Oct 14, 2002 10:05 pm    Post subject: Reply with quote

Thanks backseat. I figured that I would have to configure the fetchmail to tell it where the traffic is comming from, just didn't know how. I am away from my home computer now and do not have ssh properly enabled, so I will make the changes to /etc/apache/conf/commonapache.conf when I get home.

I am using a lan at home, and I do have the following ports forwarded for the squirrel mail:

25
80
143
445

The way that I understand those ports,
25 is for smtp
80 for web page
143 for php
445 for ssl

Is this correct?
Back to top
View user's profile Send private message
BackSeat
Apprentice
Apprentice


Joined: 12 Apr 2002
Posts: 242
Location: Reading, UK

PostPosted: Tue Oct 15, 2002 11:26 am    Post subject: Reply with quote

To configure fetchmail probably the easiest thing to do is to emerge fetchmailconf and run it.

ckwall wrote:
The way that I understand those ports,
25 is for smtp
80 for web page
143 for php
445 for ssl

Is this correct?


Not quite. php doesn't have a port: it isn't a communications protocol. 143 is for LDAP. ssl, or more accurately https, is 443 not 445. For squirrelmail you only need either 80 or 443 depending on whether you are accessing it via http or https. If you are using fetchmail then you don't need to enable 25 at all, and you should not enable any ports you don't need. Remember, fetchmail initiates the connection and thus doesn't require any incoming ports to be opened for initiating connections.

If you need more help, just ask.

BS
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Tue Oct 15, 2002 2:09 pm    Post subject: Reply with quote

Thanks for all of your suggestions. I have not been able to get back to this since I posted. I will try all of your suggestions and let you know my results. I will probably get to it tomorrow.

Thanks again.
Chris
Back to top
View user's profile Send private message
ckwall
Apprentice
Apprentice


Joined: 31 May 2002
Posts: 163

PostPosted: Fri Oct 18, 2002 9:26 pm    Post subject: Reply with quote

Tried this, did not seem to make a difference.
Back to top
View user's profile Send private message
phoenix
n00b
n00b


Joined: 12 Jul 2002
Posts: 7

PostPosted: Mon Oct 21, 2002 5:54 am    Post subject: Reply with quote

port 143 is normally used for IMAP2. i just recently got my mail server working and one of my problems was that i didn't have that port open on my router.

anyone who wants an email address @scooby.afraid.org please contact me at phoenix@scooby.afraid.org
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum