Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Error transportfile when install zimbra 8.5beta2

  1. #1
    Join Date
    Jul 2013
    Posts
    10
    Rep Power
    2

    Default Error transportfile when install zimbra 8.5beta2

    Hi all,
    I upgrade zimbra 8.0.7 to 8.5 beta2
    When create transportfile then error follow:
    Jun 6 09:20:01 mail postfix/trivial-rewrite[4190]: warning: hash:/opt/zimbra/postfix/conf/transportfile is unavailable. unsupported dictionary type: hash

  2. #2
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    How did you create your transport file? There is no support for hash DB's with ZCS 8.5, they are lmdb DBs instead. I.e, the zimbra postconf will create transport.lmdb, and you need to access that instead. I would also note that generally all reasons to customize the postfix installation in an unsupported method are no longer necessary with 8.5. I.e., there are supported ways to do most everything in 8.5. If you can better explain what you are trying to accomplish, I can point you at the relevant how to.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  3. #3
    Join Date
    Jul 2013
    Posts
    10
    Rep Power
    2

    Default

    Thanks you for support, I have create transport file to relayhost to external server.
    How do follow:
    1.vi /opt/zimbra/postfix/conf/transportfile
    otherdomain.com :[smtp.otherdomain.com]
    2.postmap /opt/zimbra/postfix/conf/transportfile
    3.$ zmlocalconfig -e postfix_transport_maps="hash:/opt/zimbra/postfix/conf/transportfile proxy:ldap:/opt/zimbra/conf/ldap-transport.cf"
    4. postfix reload
    Please support how use lmdb DBs in transport.

    Thanks,

  4. #4
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    You need to change step 3 to:

    zmlocalconfig -e postfix_transport_maps="lmdb:/opt/zimbra/postfix/conf/transportfile proxy:ldap:/opt/zimbra/conf/ldap-transport.cf"

    with ZCS 8.5
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  5. #5
    Join Date
    Jul 2013
    Posts
    10
    Rep Power
    2

    Default

    I have used zmlocalconfig -e postfix_transport_maps="lmdb:/opt/zimbra/postfix/conf/transportfile proxy:ldap:/opt/zimbra/conf/ldap-transport.cf", but when restart postfix, still hash:/opt/zimbra/postfix/conf/transportfile proxy:ldap:/opt/zimbra/conf/ldap-transport.cf, not change in main.cf.
    Last edited by tuannv79; 06-05-2014 at 09:27 PM.

  6. #6
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    Oh, right... In 8.5, the LC keys are moved into ldap

    zmprov ms `zmhostname` zimbraMtaTransportMaps 'lmdb:/opt/zimbra/postfix/conf/transportfile proxy:ldap:/opt/zimbra/conf/ldap-transport.cf'
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  7. #7
    Join Date
    Jul 2013
    Posts
    10
    Rep Power
    2

    Default

    Thanks you, Now successfully.
    Please Help replace command: zmlocalconfig -e postfix_smtp_sasl_password_maps=hash:/opt/zimbra/conf/relay_password by use zmprov in zimbra 8.5 beta2.

  8. #8
    Join Date
    Aug 2012
    Posts
    7
    Rep Power
    3

    Default

    I installes also 8.5 beta 2 and have got the same postfix error - unsupported dictionary type: hash
    I've put my password for the relay authentication into /opt/zimbra/conf/relay_password, where do I put it with 8.5 beta 2 to avoid this error???

    @tannv79: have you ever resolved this?

    Regards

  9. #9
    Join Date
    May 2007
    Location
    Zimbra
    Posts
    1,285
    Rep Power
    10

    Default

    If you read this thread, it is clearly stated that hash DBs are not supported. Why would you expect them to work? As I already posted, you need to run postmap on your file to generate an lmdb database instead, and then use that.
    Quanah Gibson-Mount
    Server Architect
    Zimbra, Inc
    --------------------
    Zimbra :: the leader in open source messaging and collaboration

  10. #10
    Join Date
    Aug 2012
    Posts
    7
    Rep Power
    3

    Default

    Got it working by generating an lmdb file for my relay_password file!

    BUT, issuing the following command did NOT work ...

    zmlocalconfig -e postfix_smtp_sasl_password_maps=lmdb:/opt/zimbra/conf/relay_password

    ... instead I had to change the main.cf file manually by editing the following line ...

    VAR zimbraMtaSmtpSaslPasswordMaps = lmdb:/opt/zimbra/conf/relay_password

    Thanks for you help!!!

    Regards

Similar Threads

  1. Install error Zimbra 7
    By carnold in forum Administrators
    Replies: 0
    Last Post: 02-08-2011, 04:57 PM
  2. smtp error when i try to install zimbra
    By joparis in forum Installation
    Replies: 2
    Last Post: 04-19-2009, 11:51 PM
  3. Zimbra install DNS error
    By ghettro in forum Installation
    Replies: 3
    Last Post: 01-19-2009, 09:19 AM
  4. Replies: 5
    Last Post: 06-14-2007, 10:14 PM
  5. Error DNS ZImbra Install to FC
    By juniorsoftware2001 in forum Installation
    Replies: 14
    Last Post: 02-15-2007, 11:43 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
  •