I have a copy of addressbook from Nokia N900 and it's a Berkeley DB file. How can I view it's contents?
$ file addressbook.db
addressbook.db: Berkeley DB (Hash, version 8, native byte-order)
I have a copy of addressbook from Nokia N900 and it's a Berkeley DB file. How can I view it's contents?
$ file addressbook.db
addressbook.db: Berkeley DB (Hash, version 8, native byte-order)
Install db-util. There are several in Ubuntu Software Center (for example db5.3-util). The latest version via command line:
sudo apt-get install db-util
After installing all you need to do is:
db_dump addressbook.db
Description of an old version from USC:

For this specific DB I have to use this script:
https://github.com/tersmitten/n900-backup-extractor
( http://blog.tersmitten.nl/how-to-export-your-contacts-from-a-n900-backup-directory.html )
If you have postfix installed, try
postmap -s <database-file-name>
For example, with the two files virtual and virtual.db, where virtual is the text file from which virtual.db was made with makemap, use
postmap -s virtual
Note that you do not have to specify the .db extension.