A Postfix server was given to me with a transport.db file, but no original transport file from which it was derived? How do I determine what the original contents of the transport file were?
A Postfix server was given to me with a transport.db file, but no original transport file from which it was derived? How do I determine what the original contents of the transport file were?
Run
file transport.db
which may indicate some version of a Berkeley DB file; if so, something likedb_dump -p transport.db
(assumingdb4-utils
or such is available) would be one way of recovering the data. Another way would be to use some other interface to the BDB format, e.g. the PerlDB_File
module or such. If the file is not in BDB format (or uses an older BDB format) adjust the tooling as necessary.