Fedora Linux Support Community & Resources Center
  #1  
Old 27th June 2005, 12:14 PM
gabriellai Offline
Registered User
 
Join Date: Oct 2004
Location: Malaysia
Age: 28
Posts: 103
Email Server Locally Relay

Hi, I'm facing a problem where I want my email server to relay to each other.

I've 3 email servers, 1 is running on Linux Qmail, 2 are running on Sun Cobait email server.

3 server are running on same host name, and 2 of the Sun Cobait can talk with each other locally. This is setup because of 3 branches of same company, running at different country.

For Qmail, I'm not manage to link it up together to another 2 branches. we can send emails to qmail server, but qmail server cant email back to Sun Cobait email server....

How to enable QMAIL replaying locally, intranet.....?

Please advice
Reply With Quote
  #2  
Old 27th June 2005, 01:12 PM
psb154 Offline
Registered User
 
Join Date: Feb 2005
Posts: 63
gabriellai,

1. Can you telnet to each smtp server, from each smtp server?
telnet serverIP <port number>

2. Each of the smtp servers will need a separate port number if they are on the same computer. They can't all be 25 if they are on the same server.

3. If you are trying to use them via DNS, in a round robin fasion then each will require an MX record in you DNS zone files.

4. Have you checked your gateways? It could be that you have a simple resolution problem. From the qmail computer can you ping the Sun Cobait server? Can you telnet to the Cobait server from the qmail server? You could be missing a host name in the qmail's hosts file or the DNS that qmail references.
Reply With Quote
  #3  
Old 27th June 2005, 01:37 PM
gabriellai Offline
Registered User
 
Join Date: Oct 2004
Location: Malaysia
Age: 28
Posts: 103
Hi,
is it I've to run Bind Server in Qmail email server with MX Record??

Services are running on separate pcs....
How can I know that something is missing in qmail's host file?? How can I point to DNS where qmail suppose to??

Please advice
Reply With Quote
  #4  
Old 27th June 2005, 01:50 PM
psb154 Offline
Registered User
 
Join Date: Feb 2005
Posts: 63
In order for each server to see the other servers they must be able to resolve each server's IP address with their host names.

If you are using a DNS server then that DNS server can be anywhere it does not have to be on the same computer as the smtp servers but it obviously has to be reachable by the servers that want to use its services.

Are all of the smtp servers in the same IP range. For example: 192.168.0.n ?
Reply With Quote
  #5  
Old 27th June 2005, 01:53 PM
gabriellai Offline
Registered User
 
Join Date: Oct 2004
Location: Malaysia
Age: 28
Posts: 103
3 branches are connected through a lease line modem, and a router.... it's a 24hours connection.

Because of want to do local emailing, they link this up, and Sun email server is running well, but qmail with Mandrake is lost somewhere....

Make it easier, is qmail contain any relaying function??

3 branches are running on different subnet mask....

Gabriel
Reply With Quote
  #6  
Old 27th June 2005, 01:59 PM
psb154 Offline
Registered User
 
Join Date: Feb 2005
Posts: 63
From the qmail server, can you ping the other servers?
Reply With Quote
  #7  
Old 27th June 2005, 02:03 PM
gabriellai Offline
Registered User
 
Join Date: Oct 2004
Location: Malaysia
Age: 28
Posts: 103
sure can ping,

problem is from Sun we can email to qmail server, but from qmail server, tries to email back to Sun email server, it failed...

Please advice
Reply With Quote
  #8  
Old 27th June 2005, 02:11 PM
psb154 Offline
Registered User
 
Join Date: Feb 2005
Posts: 63
can you telnet to Sun FROM the qmail server:
telnet suncomputer portnumber

You should get a response.
Reply With Quote
  #9  
Old 27th June 2005, 02:18 PM
gabriellai Offline
Registered User
 
Join Date: Oct 2004
Location: Malaysia
Age: 28
Posts: 103
thanks, I will try it out later.....

will post back here if i have any news.....
Reply With Quote
  #10  
Old 27th June 2005, 02:23 PM
psb154 Offline
Registered User
 
Join Date: Feb 2005
Posts: 63
telnet sunServerName 25
Reply With Quote
  #11  
Old 28th June 2005, 10:26 AM
gabriellai Offline
Registered User
 
Join Date: Oct 2004
Location: Malaysia
Age: 28
Posts: 103
Hello,
We can't telnet as it's being block by firewall.
Both Sun email serve are running on same subnet, but qmail server different subnet mask.
From QMail, able to ping to both 2 Sun email server..

The only problem is, how can I make the DNS relay on Mandrake Ver 10, Qmail is running on Ver 1.03

Please advice
Reply With Quote
  #12  
Old 28th June 2005, 10:51 AM
psb154 Offline
Registered User
 
Join Date: Feb 2005
Posts: 63
gabriellai,

If you can't telnet the Sun on port 25 from the Qmail server then nothing else is going to get through to the Sun on port 25 . You need to make a pin hole for port 25 in the firewall so that things can communicated on that port. Port 25 is the smtp communcation port.

Ping-ing tells us that the Sun ip address is alive and reachable from the Qmail server. The failure to telnet the Sun on port 25 tells us that a pin-hole needs to be made in your firewall to allow communication on port 25.
Reply With Quote
  #13  
Old 28th June 2005, 01:48 PM
gabriellai Offline
Registered User
 
Join Date: Oct 2004
Location: Malaysia
Age: 28
Posts: 103
so is this is the qmail relaying issue with Sun email server??

Or I have to open port 25 for in and out?? Connection is lease line between branches.....

So, is email relaying an issue for this?? or the port 25 that blocks?

Please advice
Gabriel
Reply With Quote
  #14  
Old 28th June 2005, 02:42 PM
psb154 Offline
Registered User
 
Join Date: Feb 2005
Posts: 63
You said you had a firewall. Have you confirmed that the port is closed?
Reply With Quote
  #15  
Old 28th June 2005, 02:44 PM
gabriellai Offline
Registered User
 
Join Date: Oct 2004
Location: Malaysia
Age: 28
Posts: 103
yup, the smtp port is being block by firewall....... So we can't telnet <serverip> smtpport
Reply With Quote
Reply

Tags
email, locally, relay, server

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail cannot send outgoing email locally chupmunk Servers & Networking 0 13th July 2007 10:13 AM
Email Server Locally Relay gabriellai Servers & Networking 2 5th July 2005 10:59 PM


Current GMT-time: 20:07 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Bungo-Takada-shi Instagram Photos - Lexington Instagram Photos - Qatar Instagram Photos