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 06-22-2009, 09:00 AM
Intermediate Member
 
Posts: 15
Default [SOLVED] Zimbra + postfix + mailman

For the purposes of this discussion:

123.45.67.8 = myZimbraServer.myDomain.com = the live Zimbra server, running out of /opt/zimbra. It's Open Source version 5.0.14 GA, running on CentOS 5.

123.45.67.9 = myPostfixServer.myDomain.com = a completely separate postfix instance running on the same server. I needed to move mailman off an old server, this is the only server I have and the instructions for integrating Zimbra with postfix won't work... my server's hostname is set up as a Zimbra virtual domain. Postfix was installed from the stock CentOS 5 rpm and resides in /usr/local/bin, with config in /etc/postfix.

The mailing list domain is lists.myDomain.com.

Zimbra works great.
I also have mailman working with the standalone postfix instance.

Here's the problem:

I can send mail to my mailman lists from outside the server (for example, from a gmail account).

If I log into webmail and try to send mail from my own email account, the mail bounces... "mail loops back to me."

Zimbra is apparently treating mail to lists.myDomain.com as local. I know this because I get the same bounce even if I turn off the standalone postfix.

So... how do I get zimbra to send mail to lists.myDomain.com to the standalone postfix? This is the last piece of the puzzle - everything else works beautifully.

Thanks,
Steve
Reply With Quote
  #2 (permalink)  
Old 06-22-2009, 09:02 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Split Domain - Zimbra :: Wiki
__________________
Regards


Bill
Reply With Quote
  #3 (permalink)  
Old 06-22-2009, 09:31 AM
Intermediate Member
 
Posts: 15
Default

Quote:
Originally Posted by phoenix View Post
That's pretty simple. What would be even easier is if I could set zimbraMailTransport per domain instead of per mailbox... that way I can take full advantage of Mailman's ability to automatically create aliases for new lists.
Reply With Quote
  #4 (permalink)  
Old 06-22-2009, 09:35 AM
Intermediate Member
 
Posts: 15
Default

Quote:
That's pretty simple. What would be even easier is if I could set zimbraMailTransport per domain instead of per mailbox... that way I can take full advantage of Mailman's ability to automatically create aliases for new lists.
I now see that you CAN. Excellent.
Reply With Quote
  #5 (permalink)  
Old 06-22-2009, 09:36 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Search bugzilla for the word 'mailman' and vote on anything you find.
__________________
Regards


Bill
Reply With Quote
  #6 (permalink)  
Old 06-22-2009, 10:51 AM
Intermediate Member
 
Posts: 15
Default

Hm.

Setting zimbraMailTransport = myPostfixServer.myDomain.com results in the same bounce message, but now it's saying "mail for myPostfixServer.myDomain.com loops back to myself"

If I use the IP address, the message is "mail for 123.45.67.9 loops back to myself"
Reply With Quote
  #7 (permalink)  
Old 06-24-2009, 12:49 PM
Intermediate Member
 
Posts: 15
Default

Quote:
Originally Posted by sjsobol View Post
Hm.

Setting zimbraMailTransport = myPostfixServer.myDomain.com results in the same bounce message, but now it's saying "mail for myPostfixServer.myDomain.com loops back to myself"

If I use the IP address, the message is "mail for 123.45.67.9 loops back to myself"
You know, now I'm wondering why I need to use a "Split Domain" setup. lists.myDomain.com has a public MX record that points at myPostfixServer.myDomain.com (123.45.67.9). Zimbra doesn't accept any connections on that IP address... not for SMTP, not for any other service.
Reply With Quote
  #8 (permalink)  
Old 06-24-2009, 08:24 PM
Intermediate Member
 
Posts: 15
Default

Quote:
Originally Posted by sjsobol View Post
You know, now I'm wondering why I need to use a "Split Domain" setup. lists.myDomain.com has a public MX record that points at myPostfixServer.myDomain.com (123.45.67.9). Zimbra doesn't accept any connections on that IP address... not for SMTP, not for any other service.
So I ask myself, "what would cause Postfix to treat mail as local mail," and the answer suddenly becomes very clear.

I feel stupid. I really should have figured this out before. My only excuse is that I'd never touched Postfix before I installed Zimbra (and I only started mucking around with the Postfix configs a couple weeks ago).

Zimbra was set up this way:

Code:
inet_interfaces=all
Duh! No wonder Zimbra's trying to process mail for lists.MyDomain.com.

Here's what I did:

In Zimbra's main.cf:

Code:
inet_interfaces = 123.45.67.8, 127.0.0.1
mydestination = localhost
(This works because all of the Zimbra-hosted domains are virtual domains.)

In the standalone Postfix's main.cf:

Code:
inet_interfaces = 123.45.67.9
mydestination = lists.MyDomain.com myPostfixServer.myDomain.com
And the Split Domain setup is NOT necessary.

Thank you for your time, Phoenix; you did actually help me get to the correct answer.

Last edited by sjsobol; 06-24-2009 at 08:28 PM..
Reply With Quote
  #9 (permalink)  
Old 12-26-2010, 08:06 PM
Junior Member
 
Posts: 6
Default ZImbra Mailman zimbraMialTransport

I dont know whether it is a repeatation or not .

According to zimbra wiki, as it is not supported also we can install mailman on the ZCS system.
As i have littel lists to manage i wish to do the same .

i installed and it is working fne.
when i try to send mail to lists@domain.com , it is getbounced to me

lists@hostname.domain.com: mail for hostname.domain.com loops back to myself

I came to know from wiki ther is an option ,
zimbraMailTransport smtp:ZIMBRA_MTA_HOST: ALT_SMTP_PORT

but how can see the alt smtp port and after that how can set the value?
can i edit an y file ?

pleease help me .
Reply With Quote
  #10 (permalink)  
Old 12-26-2010, 08:33 PM
Intermediate Member
 
Posts: 15
Default

Quote:
Originally Posted by sreemadhavam View Post
I dont know whether it is a repeatation or not .

According to zimbra wiki, as it is not supported also we can install mailman on the ZCS system.
As i have littel lists to manage i wish to do the same .

i installed and it is working fne.
when i try to send mail to lists@domain.com , it is getbounced to me

lists@hostname.domain.com: mail for hostname.domain.com loops back to myself
I had the same problem, running Zimbra on one IP and Postfix on another. The answer is in this thread...
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.