Results 1 to 5 of 5

Thread: Postfix Configuration & Mailman

  1. #1
    Join Date
    May 2006
    Posts
    5
    Rep Power
    9

    Question Postfix Configuration & Mailman

    I have an existing mailman configuration on my Zimbra server that I need to get back into service. Previously it was using Postfix and the postfix-to-mailman.py script.

    I could hack up the zimbra Postfix config files to do it but I'd like to do it the "Zimbra way". Here are the config changes needed to post to make this fly.

    postfix/main.cf:
    relay_domains = ... lists.yourdomain.net
    transport_maps = hash:/etc/postfix/transport
    mailman_destination_recipient_limit = 1
    [...]

    postfix/master.cf
    # [...]
    mailman unix - n n - - pipe
    flags=FR user=list
    argv=/var/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}

    postfix/transport:
    lists.yourdomain.net mailman:


    My final issue is Zimbra currently defines transport_maps to ldap:/opt/zimbra/conf/ldap-transport.cf which queries the ldap server for the transport. Is there a way to add my virtual domains to zimbra and then config them to the mailman transport like the above change in postfix/transport:.

    If I didn't have a existing setup I would just follow the mailman instructions already posted here in the forum. But because I used this method previously I don't have the alias files and such need for the posted method.

    - Paul

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

    Default

    Welcome to the forums.

    I don't know anything about mailman but does this post answer your questions?
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    May 2006
    Posts
    5
    Rep Power
    9

    Default

    Thanks.

    I'm afraid that post doesn't help. If I was doing a new install of mailman it would. Because of how I originally configured mailman I don't have the aliases* and virtual-mailman* files that method uses.

    Though it does give me a pointer on how to work around the transport issue.

    I guess my real question is: It doesn't seem right to manualy edit /opt/zimbra/postfix/conf/main.cf since each time zimbra starts up it regenerates it and I've seen mention about using zmlocalconfig to configure things for postfix. That and knowing that sooner or latter zimbra will probably include mailing list support. I was looking for the "Zimbra" way to make the above Postfix config changes to Zimbra so I will have the least problems with future upgrades.

  4. #4
    Join Date
    Nov 2005
    Location
    London, ON
    Posts
    255
    Rep Power
    9

    Default

    main.cf is regenerated everytime postfix is restart. Take a look at /opt/zimbra/conf/zmmta.cf.

    This file tells Zimbra where to pull variables from LDAP or zmlocalconfig, once you figure that out you can then use the approprate tool to make your configuration changes.

  5. #5
    Join Date
    Oct 2006
    Posts
    2
    Rep Power
    9

    Default

    You can use zmlocalconfig...

Similar Threads

  1. [SOLVED] Zimbra+Mailman Howto
    By amitbapat in forum Administrators
    Replies: 59
    Last Post: 04-03-2013, 02:31 AM
  2. Modifying the Zimbra Postfix Configuration
    By Bevan Bennett in forum Installation
    Replies: 9
    Last Post: 02-05-2009, 05:36 AM
  3. Replies: 2
    Last Post: 06-07-2007, 03:21 PM
  4. Tomcat hanging
    By Morg0 in forum Administrators
    Replies: 42
    Last Post: 04-19-2006, 08:06 PM
  5. mta and mailbox die
    By Morg0 in forum Administrators
    Replies: 5
    Last Post: 03-20-2006, 03:39 PM

Posting Permissions

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