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

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 Display Modes
  #1 (permalink)  
Old 06-14-2007, 02:01 AM
Starter Member
 
Posts: 2
Default Zimbra internal mails delivery

I've setup my first test server with Zimbra 4.5.5 on Ubuntu 6.06 LTS. Here's the setup:

Zimbra (192.x.x.x.) -- Dns (W2k) -- Fw -- Router (80.x.x.x) -- Isp/Ext Dns

Fw forwards all required ports. All is fine, except I'm wondering about this: when I setup the machine I didn't create the appropriate MX record on the Dns handling our domain yet, so, obviously, I can send but can't receive. But, when I send a mail from one user to another, shouldn't Zimbra deliver it? Shouldn't he know he's the mailserver for the domain he's handling?
Since the Linux box doesn't know its public Ip, will internal mails be sent outside up to the first router and then back (delay and huge bandwidth waste)?
Right now the Dns I've set on Zimbra server are those of the W2k AD server; I could set outside Dns's as well, but I don't think this is related to the problem. What should I modify and where so that Zimbra delivers internal mails without making them travel around the world?

--
Samuel
Reply With Quote
  #2 (permalink)  
Old 06-14-2007, 09:32 AM
Senior Member
 
Posts: 68
Default

I would have thought Zimbra would send the message to postfix, postfix looks up the MX record and the email is sent to your real mail server.

If I'm wrong I'm really going to be interested in the answer from the Zimbra people.

To get over this we put an MX record that the test machine so the test machine has it's own A and MX records in DNS. It means emails need to have the fully qualified DNS address too.
Reply With Quote
  #3 (permalink)  
Old 06-14-2007, 11:03 PM
Zimbra-Yahoo Consultant
 
Posts: 5,608
Default

Yes.
Local delivery uses LMTP and not SMTP. It *should* deliver to itself, even if you don't have an MX records.

For example, I have a test machine set up on my mac. No DNS whatsoever. The useraccount is admin@john-holders-mac.local
If I send mail to that, Zimbra uses LMTP to deliver it, and it goes through.

Take a look at your /var/log/zimbra.log
That's the Postfix log. If there's something fishy, it's there.

Good luck,
john
Reply With Quote
  #4 (permalink)  
Old 06-15-2007, 08:30 AM
New Member
 
Posts: 3
Default

Hello everyone.
I had same problem with local delivery on a test-system (zcs 4.0.1_GA_324.RHEL4 on CentOS 4.5 installed into VMware server); it took too long for local delivery, 8-10 seconds until mail-queue was flushed and didnt see the messages into Inbox, although found them into /opt/zimbra/store ...
I unistalled and installed zimbra again, after solved the local-queries for my test-domain (dns and reverse-dns) and now delivery is much faster, almost instantly, and I got the mail-messages.
My question is: if I need to backup a zcs (same version) on a production-server, with routable ip-address and valid domain and MX record (registered into DNS servers), can I use same registered domain-name but resolved locally for a private ip-address on the backup-machine? Can I use the backup for zcs-upgrade and tests purposes only locally without interfere with the real one? And then transfer the backup (with upgraded version) on the real machine?
Reply With Quote
Reply


Thread Tools
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.

Zimbrablog.com




 

Search Engine Optimization by vBSEO 3.1.0