Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mail only sends locally
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
MattSharp
Apprentice
Apprentice


Joined: 15 Aug 2003
Posts: 258

PostPosted: Fri Aug 15, 2003 6:41 pm    Post subject: Mail only sends locally Reply with quote

I work on a network at my school. We have our own network within the schoo's network. We have a webserver and a fileserver. The fileserver is also what we use as our mail server. This server sends mail to everyone, everywhere with no problems. Our webserver, however, sends mail only locally within the schools network. When it attempts to send mail outside of the schools network it times out while communicating with the destination's server. The problem is that our web server is where Mailman is, and that is what I need working right now.

So I first ask if anyone has any ideas of what the problem might be? The school's people took their firewall down briefly and allowed us to try to send mail but that still didn't work eliminating that possibility. I think there might still be a DNS problem of sorts that is causing things to not work.

I am currently looking for a temporary solution to by myself time to work on the problem. I know I could install Mailman on the file/mail server, but that can be complicated sometimes. I was wondering if there is a way to re-route mail to be sent from the fileserver instead of the webserver? Of course if you have any incite on the root of the problem thats good too.
Back to top
View user's profile Send private message
kopfarzt
Apprentice
Apprentice


Joined: 05 Apr 2003
Posts: 170
Location: Vienna, Austria

PostPosted: Fri Aug 15, 2003 7:55 pm    Post subject: Reply with quote

First: mail problems always can have many different reasons.

What you should check first is whether you can make connections from your web-server to some mailhost on port 25, e.g.:
Code:
telnet mail.host.com 25
to eliminate firewall problems (again). If that does not work, you could (again) talk to your firewall admin or configure your web-servers mail program to use your file-server as a smtp smart relay host. How this is done heavily depends on the MTA you use of course but they all can do it.

kopfarzt
Back to top
View user's profile Send private message
MattSharp
Apprentice
Apprentice


Joined: 15 Aug 2003
Posts: 258

PostPosted: Sat Aug 16, 2003 4:55 pm    Post subject: Reply with quote

I tried three different mail servers on three different hosts and all of them connected no problem. Not slow or anything. We have a firewall on our own server, not the school's one, that I could try taking down but I didn't want to risk MSBlaster getting in our network, since I would say only 50% of the computers are patched.
Back to top
View user's profile Send private message
devon
l33t
l33t


Joined: 23 Jun 2003
Posts: 943

PostPosted: Sun Aug 17, 2003 6:55 am    Post subject: Reply with quote

Does your mail server have a PTR entry in DNS? E.g.
Code:
# host <IP address of mail server>
x.x.x.x.in-addr.arpa domain name pointer mail.foo.com.
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