Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-2010, 06:02 AM
Loyal Member
 
Posts: 88
Default Having an issue with locally generated mail being deferred

It's either my mail server or the firewall in terms of a setting i have wrong or i missed. When the mailserver tries to send mail from root@mail.faithsbc.org it goes to the right external ip 75.148.28.141 but the packets die. I have setup a packet filter rule to allow that traffic to no avail. I have port 25 form the outside forwarded to the box in question(it runs zimbra). When i try to telnet to mail.faithsbc.org port 25 it hooks in. When i try to telnet to 75.248.28.141 port 25 it times out. I've also setup hosts definition of 75.248.28.141 to mail.faithsbc.org to no avail on the mail server. I can ping it form the mail server but port 25 traffic won't make it. Maybe it won't due to the fact it's a loop. I may have to mod the mail server internally so root@ heads to it's internal address. FYI originating ip for the mail in question is the loopback address 127.0.0.1. I know it's got to be something simple..any ideas?
Reply With Quote
  #2 (permalink)  
Old 11-20-2010, 06:07 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by hescominsoon View Post
It's either my mail server or the firewall in terms of a setting i have wrong or i missed. When the mailserver tries to send mail from root@mail.faithsbc.org it goes to the right external ip 75.148.28.141 but the packets die. I have setup a packet filter rule to allow that traffic to no avail. I have port 25 form the outside forwarded to the box in question(it runs zimbra). When i try to telnet to mail.faithsbc.org port 25 it hooks in. When i try to telnet to 75.248.28.141 port 25 it times out. I've also setup hosts definition of 75.248.28.141 to mail.faithsbc.org to no avail on the mail server. I can ping it form the mail server but port 25 traffic won't make it. Maybe it won't due to the fact it's a loop. I may have to mod the mail server internally so root@ heads to it's internal address. FYI originating ip for the mail in question is the loopback address 127.0.0.1. I know it's got to be something simple..any ideas?
You need a Split DNS set-up if your behind a firewall or a NAT router - do you have one? You can also check your current configuration by going to the wiki article and looking in the 'Verify...' section and running all the required commands.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 11-20-2010, 06:30 AM
Loyal Member
 
Posts: 88
Default

hrmm so a hosts entry won't work? Isn't the machine supposed to check the hosts list first? Whoops wrong ip it's 75.148.28.141. Just modded the hosts file to no avail. I had another deferred issue i solved this way. That's really odd. I already ahve a dns server on my netowrk so running another one is jsut another thing to go wrong. is split dns relaly the only way to go here?

I ahve an AD server that's authoritative for the internal(which this box resides on). Right now the box's hostname is mail.faithsbc.org(using mail.fbc.local caused all mail to be deferred). I have an a record in ad for this machine as mail.fbc.local to it's internal IP which is what folks int he building use to get to it. Should i add it as MX as well and then mod the zimbra hostname to mail.fbc.local?
__________________
Running Zimbra on:
Dell PE1800
CentOS 5.x x86_64
1 x p-4 3.0 ghz xeon w/HT
6 gigs ram
8 users
250 gig MDRAID 1
Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.

Last edited by hescominsoon; 11-20-2010 at 06:44 AM..
Reply With Quote
  #4 (permalink)  
Old 11-20-2010, 06:36 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by hescominsoon View Post
hrmm so a hosts entry won't work? Isn't the machine supposed to check the hosts list first? Whoops wrong ip it's 75.148.28.141. Just modded the hosts file to no avail. I had another deferred issue i solved this way. That's really odd. I already ahve a dns server on my netowrk so running another one is jsut another thing to go wrong. is split dns relaly the only way to go here?
You're not asked to run another server, the article is just one example of how to set-up a Split DNS. You need valid DNS A & MX records (including a valid and correctly formatted hosts file) that point to the LAN IP of your Zimbra server so that it (it's a postfix requirement) can do a DNS lookup for it's mail delivery, this has been covered many times in the forums - you can run the commands in the 'Verify...' section of the split DNS article to confirm whether the Zimbra server can 'see' itself.
__________________
Regards


Bill

Last edited by phoenix; 11-20-2010 at 06:49 AM..
Reply With Quote
  #5 (permalink)  
Old 11-20-2010, 06:47 AM
Loyal Member
 
Posts: 88
Default

Quote:
Originally Posted by phoenix View Post
You're not asked to run another server, the article is just one example of how to set-up a Split DNS. You need valid DNS A & MX records (including a valid and correctly formatted hosts file) that point to the LAN IP of your Zimbra server so that it (it's a postfix requirement) can do a DNS lookup for it's mail delivery, this has been covered many times in the forums - you can run the commands in the section of the split DNS article to confirm whether the Zimbra server can 'see' itself.
Right now it apparently doesn't hence my question. split-dns isn't needed in my case as i have an authoritative dns for the internal.
__________________
Running Zimbra on:
Dell PE1800
CentOS 5.x x86_64
1 x p-4 3.0 ghz xeon w/HT
6 gigs ram
8 users
250 gig MDRAID 1
Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.
Reply With Quote
  #6 (permalink)  
Old 11-20-2010, 06:50 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by hescominsoon View Post
Right now it apparently doesn't hence my question. split-dns isn't needed in my case as i have an authoritative dns for the internal.
Obviously your current set-up appears not to be working correctly as it's trying to deliver the email to the Public IP of your network rather than the correct LAN IP.

A Split DNS is any DNS server on your LAN that has valid DNS records for your Zimbra server, I’ll say it again:

Quote:
you can run the commands in the 'Verify...' section of the split DNS article to confirm whether the Zimbra server can 'see' itself.
Perhaps you can do that and confirm what's happening on your system?
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 11-20-2010, 07:32 AM
Loyal Member
 
Posts: 88
Default

Quote:
Originally Posted by phoenix View Post
Obviously your current set-up appears not to be working correctly as it's trying to deliver the email to the Public IP of your network rather than the correct LAN IP.

A Split DNS is any DNS server on your LAN that has valid DNS records for your Zimbra server, I’ll say it again:

Perhaps you can do that and confirm what's happening on your system?
It's not seeing itself. I'm going to see if there's a way to either get the hosts file to handle this or mod my internal AD server for this. I personally don't see the need to run yet another DNS server..there has to be a way to make this work otherwise.
__________________
Running Zimbra on:
Dell PE1800
CentOS 5.x x86_64
1 x p-4 3.0 ghz xeon w/HT
6 gigs ram
8 users
250 gig MDRAID 1
Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.
Reply With Quote
  #8 (permalink)  
Old 11-20-2010, 07:36 AM
Loyal Member
 
Posts: 88
Default

what if i mod the hostname to be mail.fbc.local? That would make it resolve internal. Can i then mod zimbra itself so that it knows it's actually doing business as mail.faithsbc.org?
__________________
Running Zimbra on:
Dell PE1800
CentOS 5.x x86_64
1 x p-4 3.0 ghz xeon w/HT
6 gigs ram
8 users
250 gig MDRAID 1
Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.
Reply With Quote
  #9 (permalink)  
Old 11-20-2010, 07:40 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

You need a valid A and MX record pointing to that server, without them it will not be able to do a DNS resolution for that mail server - for a mail server it's an MX lookup that also has a valid A record pointing to the LAN IP of the server. The records can be added to any DNS server on your LAN.
__________________
Regards


Bill
Reply With Quote
  #10 (permalink)  
Old 11-20-2010, 07:50 AM
Loyal Member
 
Posts: 88
Default

Quote:
Originally Posted by phoenix View Post
You need a valid A and MX record pointing to that server, without them it will not be able to do a DNS resolution for that mail server - for a mail server it's an MX lookup that also has a valid A record pointing to the LAN IP of the server. The records can be added to any DNS server on your LAN.
aha ok..now that explains it. i'll have to see if i can mod my internal AD then. i tried the split in the wiki but it never worked..Bind kept throwing errors when i configured it as shown...now that i know i need the a and mx lemme see what i can come up with..
__________________
Running Zimbra on:
Dell PE1800
CentOS 5.x x86_64
1 x p-4 3.0 ghz xeon w/HT
6 gigs ram
8 users
250 gig MDRAID 1
Release 7.1.4_GA_2555.RHEL5_64_20120105094627 CentOS5_64 FOSS edition.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.