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 Display Modes
  #1 (permalink)  
Old 10-29-2007, 12:48 AM
Member
 
Posts: 13
Question ZCS as front-end filter server for exchange

I have a setup that is slowly migrating away from MS Exchange. I've setup Zimbra on the front end accepting SMTP for "domain.com" and all is well. However, some departments are slower to migrate away from Exchange to Zimbra so I'd like to forward emails from "user@domain.com" to "user@exchange.domain.local".

I've setup a local zone file which resolves the MX and A records necessary for delivery to "domain.local". However, I get an error upon delivery to the Exchange server:

Quote:
postfix/smtp[4780]: 38920141184DD: to=<user@exchange.domain.local>, relay=exchange.domain.local[192.168.12.2], delay=0, status=bounced (mail for exchange.domain.local loops back to myself)
I've tested delivery via telnet to "user@exchange.domain.local" mimicking the actual delivery and it succeeded. But when I attempt a legitimate delivery through Zimbra I get the error above.

Quote:
~# host domain.local
domain.local has address 192.168.12.2
domain.local mail is handled by 10 exchange.domain.local.

~# host domain.com
domain.com has address 192.168.12.99
domain.com mail is handled by 10 mail.domain.com.
A command line test from Zimbra to Exchange:

Quote:
~# telnet exchange.domain.local 25
Trying 192.168.12.2...
Connected to exchange.domain.local (192.168.12.2).
Escape character is '^]'.
220 mail.domain.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready at Sun, 28 Oct 2007 23:41:41 -0700
HELO mail.domain.com
250 mail.domain.com Hello [192.168.12.99]
MAIL FROM:<test@domain.com>
250 2.1.0 test@domain.com....Sender OK
RCPT TO:<user@exchange.domain.local>
250 2.1.5 user@exchange.domain.local
DATA
354 Start mail input; end with <CRLF>.<CRLF>
from: test@domain.com
to: user@domain.com
subject: test

test
test
.
250 2.6.0 <SERVERpFVjCRGryWtII00000003@mail.domain.com> Queued mail for delivery
... and the email message arrives correctly in user@exchange.domain.local's inbox on the Exchange server. I don't see where the mail loop is happening.
Reply With Quote
  #2 (permalink)  
Old 10-29-2007, 12:59 AM
Zimbra Consultant & Moderator
 
Posts: 11,518
Default

Did you set-up this Split Domain by following the wiki instructions? Is the /etc/hosts file on the Zimbra server correct (post the details). Do you also have a relay host set in the Zimbra Admin UI? If you do then remove it. This type of problem is usually a DNS or hosts file error.
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 10-29-2007, 12:00 PM
Member
 
Posts: 13
Default

Quote:
Originally Posted by phoenix View Post
Did you set-up this Split Domain by following the wiki instructions? Is the /etc/hosts file on the Zimbra server correct (post the details). Do you also have a relay host set in the Zimbra Admin UI? If you do then remove it. This type of problem is usually a DNS or hosts file error.
I haven't tried the Split Domain method yet. I was hoping to take advantage of amavis/spamassassin filtering before forwarding emails back to the secondary server. I already do this with Courier-MTA, amavis, clamd, and spamassassin and was considering replacing that setup with Zimbra.

In any case, I do not have a smart host configured in Zimbra. Named is configured correctly to resolve MX for delivery to the secondary server. If I have to do it the Zimbra way then I'll try that. A little flexibility would be nice, though.
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