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 08-04-2011, 05:53 AM
Intermediate Member
 
Posts: 20
Default [SOLVED] MX Record Lookup for Remote Servers

SOLVED!

Sending Email issue. We can receive fine and can send and receive between our domains without issue.

We recently switched ISP connections. Now a relay is not needed - no relayhost. I think that's where the issue lies.

Running Zimbra 7.1.1 OSE.

When sending, the /var/log/zimbra.log shows that connections to remove servers are to the domain, not the DNS MX record. Huh? I'm wondering what could cause that issue?

For example, an email to a gmail.com address has this in the logfile.
Aug 4 08:16:05 mail postfix/smtp[3832]: connect to gmail.com[74.125.157.18]:25: Connection timed out


But a 'dig mx gmail' shows that the IP used by Zimbra isn't any of the MX records.
;; ANSWER SECTION:
gmail.com. 2754 IN MX 20 alt2.gmail-smtp-in.l.google.com.
gmail.com. 2754 IN MX 30 alt3.gmail-smtp-in.l.google.com.
gmail.com. 2754 IN MX 40 alt4.gmail-smtp-in.l.google.com.
gmail.com. 2754 IN MX 10 alt1.gmail-smtp-in.l.google.com.
gmail.com. 2754 IN MX 5 gmail-smtp-in.l.google.com.

;; ADDITIONAL SECTION:
alt4.gmail-smtp-in.l.google.com. 45 IN A 74.125.77.27
alt1.gmail-smtp-in.l.google.com. 16 IN A 74.125.113.27
gmail-smtp-in.l.google.com. 272 IN A 74.125.47.27

My Zimbra server should attempt to connect with 74.125.47.27, right?

We're running the 'dig' command on the Zimbra server and I can
$ telnet 74.125.47.27 25
to the remote machine and get the ESMTP connection just fine. Did someone, probably me, screw up the postfix lookup config?

$ postconf relayhost
relayhost =


relayhost is empty, so MX record lookups should happen, right?

I thought the issue was with disable_dns_lookups being "yes" and changed it to "no"
postconf -e disable_dns_lookups=no
$ postconf disable_dns_lookups
disable_dns_lookups = no

Then reloaded postfix and checked it again.
$ postfix reload
$ postconf disable_dns_lookups
disable_dns_lookups = yes


YES!? Huh? What?

I'm pretty certain this is a simple configuration issue. I've failed to find a solution searching here and on the postfix forums. Is the antivirus getting in the way?

Thanks for reading.
__________________
OSS Zimbra 7.1.1 64-bit

Last edited by jdp459; 08-04-2011 at 06:12 AM.. Reason: issue resolved.
Reply With Quote
  #2 (permalink)  
Old 08-04-2011, 06:04 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by jdp459 View Post
We're running the 'dig' command on the Zimbra server and I can
$ telnet 74.125.47.27 25
to the remote machine and get the ESMTP connection just fine. Did someone, probably me, screw up the postfix lookup config?
That isn't really a test of anything other than the server is 'alive', what happens if you run the following (on the zimbra server):

Code:
telnet alt2.gmail-smtp-in.l.google.com 25
Have you enabled the "Enable DNS lookups" in the admin UI?
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 08-04-2011, 06:10 AM
Intermediate Member
 
Posts: 20
Default

Just found this in another thread.

-go to global settings>mta tab and check the box for dns lookups
or: zmprov mcf zimbraMtaDnsLookupsEnabled TRUE (zmprov mc zimbraMtaDnsLookupsEnabled TRUE)

I feel so dumb. ;O
__________________
OSS Zimbra 7.1.1 64-bit
Reply With Quote
  #4 (permalink)  
Old 08-04-2011, 06:15 AM
Intermediate Member
 
Posts: 20
Default

The reason for the telnet was to show that the ISP wasn't blocking port 25. That's all. I wanted to remove and DNS issues, since at the time, it appeared to be the issue (to me).

BTW, thanks for the quick reply. This issue has bothered me for about a day.
__________________
OSS Zimbra 7.1.1 64-bit
Reply With Quote
  #5 (permalink)  
Old 08-04-2011, 06:16 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by jdp459 View Post
Just found this in another thread.

-go to global settings>mta tab and check the box for dns lookups
or: zmprov mcf zimbraMtaDnsLookupsEnabled TRUE (zmprov mc zimbraMtaDnsLookupsEnabled TRUE)
That's the command line version of the Admin UI setting I mentioned above.

Quote:
Originally Posted by jdp459 View Post
I feel so dumb. ;O
There's no need to, it's easy to overlook a setting. Glad you've fixed it.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 09-16-2011, 08:44 AM
New Member
 
Posts: 3
Default

Why is that even an option? For what possible reason would anyone want to disable it?
__________________
President/CEO
PacyWorld.com
Reply With Quote
  #7 (permalink)  
Old 09-16-2011, 09:19 AM
Zimbra Consultant & Moderator
 
Posts: 20,314
Default

Quote:
Originally Posted by tuaris View Post
Why is that even an option? For what possible reason would anyone want to disable it?
Split Domain.
__________________
Regards


Bill
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.