Results 1 to 10 of 10

Thread: [SOLVED] Permanent Manual Postfix configuration help please

  1. #1
    dlochart is offline Advanced Member
    Join Date
    Nov 2006
    Posts
    177
    Rep Power
    8

    Default [SOLVED] Permanent Manual Postfix configuration help please

    One of our clients is going back to Exchange but they want to keep the Zimbr MTA setup as a gateway. I have been able to get the gateway aspect configured manually and tested that it works. However I know that transport_maps parameter is rewritten fresh upon each restart. I need to add another transport_map entry to this line. How do I accomplish this within Zimbra? I looked at zmmta.cf and I have a feeling the answer lies in there but I have no clue how that file works.

    thanks

    Doug

  2. #2
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    hi Doug-
    Most Postfix can be altered with the postconf command.

    su - zimbra
    postconf -e (Item you wish to change)=(value)

  3. #3
    dlochart is offline Advanced Member
    Join Date
    Nov 2006
    Posts
    177
    Rep Power
    8

    Default

    Quote Originally Posted by jholder View Post
    hi Doug-
    Most Postfix can be altered with the postconf command.

    su - zimbra
    postconf -e (Item you wish to change)=(value)
    Maybe I misled you or I do not fully understand. Postconf just changes the configuration parameter ... I can do that with vi or emacs. The problem is the change is not permanent because the transport_maps parameter in the main.cf config file is regenerated by zmmta.cf when postfix is restarted. How do I make my changes last beyond a restart?

  4. #4
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Sorry-
    Edit the /op/zimbra/conf/localconfig.xml

    and add
    Code:
      
    <key name="postfix_transport_maps">
        <value>values here</value>
    </key>
    Replacing "values here" with your own value.

  5. #5
    dlochart is offline Advanced Member
    Join Date
    Nov 2006
    Posts
    177
    Rep Power
    8

    Default

    Thank you. I assume this change won't survive upgrades but at least it survives server restarts

    thanks

    Doug

  6. #6
    jholder's Avatar
    jholder is offline Former Zimbran
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    20

    Default

    Quote Originally Posted by dlochart View Post
    Thank you. I assume this change won't survive upgrades but at least it survives server restarts

    thanks

    Doug
    Yes sir
    Did it work?

  7. #7
    dlochart is offline Advanced Member
    Join Date
    Nov 2006
    Posts
    177
    Rep Power
    8

    Default

    Quote Originally Posted by jholder View Post
    Yes sir
    Did it work?
    Sure did !! It survived the restart !!

    thanks!

  8. #8
    dlochart is offline Advanced Member
    Join Date
    Nov 2006
    Posts
    177
    Rep Power
    8

    Default

    On how to get the manual changes to stay permanent please read this thread.

    http://www.zimbra.com/forums/adminis...lp-please.html

  9. #9
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    21

    Default

    Quote Originally Posted by dlochart View Post
    On how to get the manual changes to stay permanent please read this thread.
    http://www.zimbra.com/forums/adminis...lp-please.html
    -why you posted a link to the same thread we're in I do not know...but marking as solved

  10. #10
    dlochart is offline Advanced Member
    Join Date
    Nov 2006
    Posts
    177
    Rep Power
    8

    Default

    Oops ... I meant to put this in the filter/relay thread as he will need to know this as well

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 11-03-2007, 10:55 PM
  2. Replies: 2
    Last Post: 06-07-2007, 03:21 PM
  3. Postfix Configuration & Mailman
    By pbucher in forum Administrators
    Replies: 4
    Last Post: 10-09-2006, 08:11 AM
  4. Manual edit of Postfix config files
    By ash in forum Administrators
    Replies: 1
    Last Post: 08-11-2006, 04:03 PM
  5. Manual postfix editing?
    By dhallweb in forum Administrators
    Replies: 6
    Last Post: 04-11-2006, 06:39 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
  •