Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: [SOLVED] Zimbra + postfix + mailman

  1. #1
    sjsobol is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    15
    Rep Power
    6

    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

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    sjsobol is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    15
    Rep Power
    6

    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.

  4. #4
    sjsobol is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    15
    Rep Power
    6

    Default

    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.

  5. #5
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,585
    Rep Power
    57

    Default

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


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  6. #6
    sjsobol is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    15
    Rep Power
    6

    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"

  7. #7
    sjsobol is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    15
    Rep Power
    6

    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.

  8. #8
    sjsobol is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    15
    Rep Power
    6

    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.

  9. #9
    sreemadhavam is offline Junior Member
    Join Date
    Dec 2010
    Posts
    6
    Rep Power
    4

    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 .

  10. #10
    sjsobol is offline Intermediate Member
    Join Date
    Feb 2009
    Posts
    15
    Rep Power
    6

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

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Major Issue - 5.0RC2 NE to 5.0GA NE failed
    By DougWare in forum Installation
    Replies: 7
    Last Post: 01-06-2008, 09:56 PM
  2. Replies: 31
    Last Post: 12-15-2007, 09:05 PM
  3. Zimbra shutdowns every n hours.
    By Andrewb in forum Administrators
    Replies: 13
    Last Post: 08-14-2007, 08:55 AM
  4. Post instsallation problems
    By Assaf in forum Installation
    Replies: 14
    Last Post: 01-29-2007, 11:38 AM
  5. 3.1 on FC4 problems
    By cohnhead in forum Installation
    Replies: 8
    Last Post: 05-26-2006, 11:16 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •