View Single Post
  #5 (permalink)  
Old 09-21-2010, 06:08 AM
davestahr davestahr is offline
Member
 
Posts: 11
Default how to create the transport.db hash file

Well while my previous post does fix the problem, it's only temporary. When Zimbra restarts, something rewrites the main.cf file with the hash config for transport.db again.

So, digging back to some old postfix experience, I recalled the makemap command. This is used for creating hash files for postfix. Since Zimbra is looking for this, I thought, why not create one?

So, I did:

makemap -N hash /opt/zimbra/postfix/conf/transport < /opt/zimbra/postfix/conf/transport

That command uses the file /opt/zimbra/postfix/conf/transport to create the /opt/zimbra/postfix/conf/transport.db hash file.

On my server, /opt/zimbra/postfix/conf/transport is just the default "read me" file installed by postfix/zimbra. It's full of nothing but commented documentation.

After doing that command, my mail is now going through just fine, and the reference to the transport.db file is in my config file.

Now, why that reference is in there is still a mystery. It wasn't in my original 5.0.x config, and isn't in the 6.0.x config on any of my other servers. Very odd on that part, but I'm happy it's working. Hopefully this will help someone else.
Reply With Quote